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.

resizer yuv422 to yuv420

HI, all:

I have a problem that use dm365 resizer to convert data format from yuv422 to yuv420sp. The cbcr data of output is incorrect, and raw yuv image has no color.

  Below are my settings for resizer:

input.width = 736

input.height = 480

input.pix_fmt = ipipe_uyuv

output.width = 736

output.height = 480

output.pix_fmt = ipipe_yuv420sp

the raw resolution is 720x480, because the 32 byte constraint on alignment, so the input.width = 736

you can see from the image that color info is incorrect

hope to reply!

 

  • Seems to be a problem with your line offset. I think your input data is 720x480 and not 736x480, although you are setting the width as 736. Can you please ensure that your input itself is 736x480 and check out if the parameters work fine.

    Also, if possible share the input and output YUV data so that we can look into it.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.