Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to allocate surfaces for YUV image?: (4 Items)
   
How to allocate surfaces for YUV image?  
Hi All,

I want to display a planar YUV image on a RGB display device. So I allocate three surfaces for the layer and want to 
know how to configure the context of each surface and show the image, can anyone provide a demo code or some 
sugguestions?

Thanks,
Ray
Re: How to allocate surfaces for YUV image?  
As the user guide described,"Planar YUV is a video display format. The GF library doesn't support rendering to planar 
YUV; however, you can display planar YUV data that's already been rendered by another application." is it available to 
display an yuv image directly?
Re: How to allocate surfaces for YUV image?  
Yanfei Sun wrote:
> As the user guide described,"Planar YUV is a video display format. The GF library doesn't support rendering to planar 
YUV; however, you can display planar YUV data that's already been rendered by another application." is it available to 
display an yuv image directly?

It's probably easier to integrate a SDL window with YUV support. 
http://community.qnx.com/sf/projects/qnx_community_sdl_project

--Armin

http://www.steinhoff-automation.com

>
>
> _______________________________________________
>
> Advanced Graphics
> http://community.qnx.com/sf/go/post80403
>
>
Re: How to allocate surfaces for YUV image?  
are we able to allocate 3 surfaces for YUV and display it on the layer without the SDL framework? I don't want to make 
it complex..