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.

encoding non-multiple width of 16

Guru 20755 points

Hello,

When we deal with a resolution which has width/height non multiple of 16, do we need to make any special treatement in framework before decoding/encoding, or is there already such mechanism which take care that the frame will be in legal size when delivered to encoder/decoder ? will the frame always be encode/decode with success ?

[ according to h.264 datasheet "Decoder will be able to decode streams for which image width or height are non-multiples of 16. However note that during decoder creation,

maxHeight and maxWidth should be a multiple of 16. " , there is also simialr remark in encoder.]

Thank you,

Ran

 

  • Framework has to ensure it meets resolution alignment to macroblock size requirements.Codec will return error at create time if alignment requirements are not met.

    For decoder link in RDK framework, the application can configure the maxWidth,maxHeight and can set it to multiple of 16.There is no other change required.

    For encoder link in RDK framework, the dei link ensure width is multiple of 16.This is wrong and we will be removing this change out of DEI into encLink in the next release