Hi
I'm using dm365 and dvsdk4.00.I want to edit output video data in davinci_display_isr() (in davinci_display.c) when i run the decode demo(video file
is colorfu_toys_cif_5frms_p420.264 I found indvsdk4.00 and large it by copy copy...).first i neet to convert the video data to RGB format.now I have
2 problems:
1,the data size of a horizontal line seems only 736 bytes,it should be 720x2 bytes (2 bytes/pixel).
2,the data in ddr buf is Cb Y Cr Y ...,is that right? I tried to convert it to RGB ,but the data i got seems wrong,the color is not correct.
what formula i should use? I tried both of below,no one is correct.
G=Y-0.3441*(U-128) - 0.7144*(V-128)
B=Y+1.722*(U-128)