EmbeddedRelated.com
Forums

SAA7111A YUV

Started by Wang Feng April 2, 2004
Hi,

I have stored YUV422 16 bit data from Philips SAA7111A. The Y data and UV
data
in 2 files. Now hot to combine Y and UV
into RGB format for display on PC?

Please reply to fwang11@pub3.fz.fj.cn

Thanks in advance.

Wang, Feng



Wang Feng <fwang11@pub3.fz.fj.cn> wrote:

> I have stored YUV422 16 bit data from Philips SAA7111A. The Y data > and UV data in 2 files.
Why two files? That's not going to make any of the work any easier.
> Now hot to combine Y and UV into RGB format for display on PC?
IMHO that's outside the topic of c.a.embedded. Google for Charles Poynton's Color FAQ or go over to comp.graphics.algorithms to find its regular posting. In short: you'll have to interpolate up from YUV422 to YUV444, then convert the result to RGB. Not that on most modern PCs, you don't even have to do that yourself. As most video content is in YUV format, the OS and even the graphics hardware now have support for this file format. -- Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de) Even if all the snow were burnt, ashes would remain.
Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de> wrote in message news:<c4m6gj$ane$3@nets3.rz.RWTH-Aachen.DE>...
> Wang Feng <fwang11@pub3.fz.fj.cn> wrote: > > > I have stored YUV422 16 bit data from Philips SAA7111A. The Y data > > and UV data in 2 files. > > Why two files? That's not going to make any of the work any easier. > > > Now hot to combine Y and UV into RGB format for display on PC? > > IMHO that's outside the topic of c.a.embedded. Google for Charles > Poynton's Color FAQ or go over to comp.graphics.algorithms to find its > regular posting. > > In short: you'll have to interpolate up from YUV422 to YUV444, then > convert the result to RGB. > > Not that on most modern PCs, you don't even have to do that yourself. > As most video content is in YUV format, the OS and even the graphics > hardware now have support for this file format.
DirectX (DirectDraw) can display surfaces in YUV format. You might want to ask this on Windows programming groups.