Hi,
I am working on Display driver on TI's DM355(arm core) for Windows Embedded CE. The OSD
supports 4 display windows. I am trying to configure Video window for
YCbCr format.
Aim is to bring up the wince 6.0 desktop on the screen with video window.
The pixel packing supported(hardware) is Y1 Cr0 Y0 Cb0 (16 bpp)
In the wince, ddgpe.h provides an enum EDDGPEPixelFormat which has
ddgpePixelFormat_YUYV,
ddgpePixelFormat_UYVY,
ddgpePixelFormat_YUY2,
ddgpePixelFormat_YV12
And FourCCDescriptionTable provides these FOURCC codes :
{ FOURCC_YUY2, 16, 0x00FF00FF, 0x0000FF00, 0xFF000000 },
{ FOURCC_YUYV, 16, 0x00FF00FF, 0x0000FF00, 0xFF000000 },
{ FOURCC_YVYU, 16, 0xFF00FF00, 0x000000FF, 0x00FF0000 },
{ FOURCC_UYVY, 16, 0xFF00FF00, 0x000000FF, 0x00FF0000 },
gpe.h provides EGPEFormat gpe16YCrCb
I have Used: ddgpePixelFormat_YUYV, FOURCC_YVYU, 16, 0xFF00FF00, 0x000000FF, 0x00FF0000
I am not getting the display clear, I took a dump of FrmBufr and tried it inYUV editor...its not the image of desktop.
I tried some of these possible combinations....result was same or worse..
Any suggestions on which one i have to use ....?
Thanks in advance
Ragesh