Hi,
We have already closed out a discussion wrt to encoders here: http://e2e.ti.com/support/embedded/f/356/p/90267/315505.aspx
Just wanted to close it out on the decoder side too.
This is with respect to VIDDEC2 displayBufs understanding. The displaybufs have a bufDesc which has a bufSize parameter. My understanding is this should be the actual size of the buffer because this is the size CE uses to translate back from physical to virtual and also from the definition of xdm1_bufdesc that it is the size of the buffer.
As output can be with a stride or with different chroma formats, the user should use a combination of pitch, width, height and chroma format in the display buffer to figure out the valid data portion. Can you confirm if this understanding is true?
The reason I ask this is because TI codec apps on 3530 seem to use the bufSize directly to dump the buffer. Hence there is a confusion on what bufSize should be [valid data in output or actual buffer size]. Or is it just to simplify the application?
Regards,
Omkiran