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.

DM355 IPIPE flip image problem

 

Hello,

   I use the RSZ_SEQ.HRV register of IPIPE trying to flip the image horizontally, but get a wild color (see below).The input and output are both YUV422 data in SDRAM. Please help me to solve this problem. Thank you.

 

Regards,

Chuang

 

 

 

  • Based on the blue face in the image it looks like your Cb and Cr are swapped which makes sense if your image was actually written into memory reversed horizontally. I am curious if your image is actually being flipped horizontally, as it looks like the time and date stamp in the upper left corner is correctly oriented?

    As to resolving the issue, you could fix this on the display end by changing the chroma ordering, though it may also be worth a try to set the CRV bit in the RSZ_SEQ register to see if this has an effect, the bit claims to adjust the chroma sampling point but I am not sure if it effects the actual chroma ordering in the output buffer.

  • By modify the MODE.CS register to swap the chroma order, the problem is fixed.

    The time and date stamp is on the other layer so didn't affect by the flipping :>

    Thanks! It really helps [:)]