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.

How can i convert decoded data (yuv 420sp) to RGB format on DM 8148

Hi All,

               I'm trying to convert  decoded data (which is in yuv420 sp) to RGB 565 or RGB 888 as i want to display the decoded frame using Xlibc i,,e X windows system calls. I'm developing a soft phone on linaro ported on DM 8148. When i looked into the Technical reference manual (HDVPSS) chip (page no 1577), i find that it is not straight forward to do so.

               The scalar module (SC5) also takes i/p as yuv 420sp and gives back only yuv 422 interleaved format. so i can't use it to get the image in RGB format

               Then I tried to use the primary video path  (which as DEI module also )/ Auxillary video path which has scalars to do it. These 2 modules give output in YUV 422 (write back 0 / write back 1). The only way to do is that the primary/auxillary video path o/p should be given to video input ports  0 /1. The i/p to the video input port 0/1 is only through the parallel camera connector which is not possible

              How can i achieve the color conversion from yuv420 sp to Rgb 565 or rgb 888 format ?      

Regards

pradeep