I did look at this part of the code earlier today. And yes, I agree
that the YUV format should be set before sending the FSI. We will
change that.
However, I am still not sure about the buffer size not being valid.
The component knows the actual buffer size (based on the output format
that it would eventually decode into) that it would require. And, as
part of negotiating, we would get that from the component. And, this
information is sent to the MIO.
-Ravi
On Aug 13, 11:25 am, Andy Quan <
androidr...@gmail.com> wrote:
> Ravi,The buffer size sent to MIO is based on the component's minimized
> buffer size requirement regardless of YUV format. For example, YUV420P and
> YUV422 definitely require different sizes. However, YUV format is not
> available according to current OMX calling sequence.
>
>
http://android.git.kernel.org/?p=platform/external/opencore.git;a=blo...
>
> <
http://android.git.kernel.org/?p=platform/external/opencore.git;a=blo...>Line