Re: SAA7111A YUV

From: Hans-Bernhard Broeker (broeker_at_physik.rwth-aachen.de)
Date: 04/03/04


Date: 3 Apr 2004 11:17:39 GMT

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.


Relevant Pages

  • Re: Conversion of YCbCr (4:2:2) to jpeg
    ... "video lines" in the YUV format. ... to RGB back to YUV" conversion, although it can theoretically be harmless: ... needed, maybe RGB format will be needed too, e.g. if a DirectDraw-compliant ...
    (microsoft.public.windowsce.platbuilder)
  • Re: YUV foreman video display
    ... My goal is to display YUV format video in Windows environment. ... >> famous foreman video in YUV format. ...
    (microsoft.public.win32.programmer.directx.video)