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.

Does TI H264 codec support width and height which are all odd ?

Hi,all:

As the subject say,Does TI h264 codec support 13x11 yuv420 input whose width

and height are all not even number but odd numbers? I see the datasheet of h264 encoder.

it say "support width and height as non multiple of 16".So I am not sure whether codec support

widht and height as non even number like 13x11,15x17?

Thanks!

  • Hi Steve,

    TI 66 codec support non multiple of 16 width & height resolutions. But width and height should be multiple of 2.

    Also I think minimum resolution supports from 128x96...

    Regards

    Rama Mohana Reddy

  • Hi,

    Ramamohana Reddy said:

    Hi Steve,

    TI 66 codec support non multiple of 16 width & height resolutions. But width and height should be multiple of 2.

    Also I think minimum resolution supports from 128x96...

    Regards

    Rama Mohana Reddy

    Hi,Rama:

    Can I understand your reply like this:

    1.

    If I send data with odd width and odd height such as 23x47 to h264 codec ,The codec may

    produce error info .Or Maybe the codec will stop immediately becaue of the error infomation.

    Does that situation occur ?

     

     

  • Hi Steve,

    Codec will encode with error info, there is no condition check for odd resolutions.

    Best Regards

    Rama Mohana Reddy

  • Hi,Rama:


    Why codec still can encode with error info? That's not what I expect.

    Don't you say that width and height all should be multiple of 2 ?

    I expect that codec will not work or stop or giving error info when you give him

    31x37 input image whose width and height are all not even.

    Thanks!

  • Hi Steve,

    Codec supports this odd resolutions. When I checked here I observed some patches.

    I am not sure of whether it is problem with YUV tool conversion or some decoding issue after encoding... 

    Can you please share snapshot of the input, output and configuration details you are using? So that we can try what the issue is?

    Best Regards

    Rama Mohana Reddy

  • Hi Steve, additional to the information requested by Rama could you please share with us what is your use-case?

    thank you,

    Paula

  • Hi,Paula and Rama:

    I don't have such example whose width and height are all odd like 47x97

    I just want to know how TI H264 codec to deal with this situation ?

    I am not sure whether TI codec can deal with that case or not .

    I just expect TI codec experts can explain how codec deal with this situation .Maybe

    you say TI codec h264 cannot support that example 47x97 ,Or maybe you say codec support

    that example. Whatever you say yes or no please tell me the reason .That's what I want.

    Thanks!