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.

About encoded buffers size in DM6467 EVM

Other Parts Discussed in Thread: TMS320DM6467

I am wondering why the encodedBuf[] size for ceapp_encodeBuf() function in evmDM6467 "video_copy" example should have a strict, in advance given value?

In standard codecs there is an array like encodedBufSize[2] instead, where encodedBufSize[0] contains a MAXIMUM value for encodedBuf[] (that is given from allocation routine), while encodedBufSize[1] is reserved for a REAL value of encodedBuf[] (that is produced as a result of encoding).

And if so, i.e. encodedBuf[] size must be a strict value, how should i know it EXACTLY for an arbitrary value of inBuf[] size? For example, for h.264 DaVinci 'dvh6' codec standard?

 

With respect,

Max.