This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[capture-encoder example] buffer length is not same.

Hi. I'm using capture-encode example of omx.

The input resolution is 1280*720.

I checked the buffer length of dei component's output port.

In the allocation process, the buffer length is 1280*720*2 (YUV422 format).

But in the IL_ClientBcFillBufferDone(), the dei-display out port's pBufferOut->nFilledLen is not the same with buffer length. It is more bigger than the allocated buffer size.

(the value is 3686400, it is a double of 1280*720*2).

dei-encoder output port's pBufferOut->nFilledLen has the same size of allocated buffer size.

I want to know why the size is different. I want to add some image processing function in call back function. I need the exact size of buffer.

Regards

Jongpil