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.