Picture Formats

Samuel Hocevar sam at zoy.org
Mon Apr 1 06:43:31 CEST 2002


On Mon, Apr 01, 2002, Tony Castley wrote:

>     B_YCbCr422 =         0x4000,    /* Y0[7:0]  Cb0[7:0]  Y1[7:0]  Cr0[7:0]

   This is probably FOURCC_YUY2, FOURCC_YUNV and FOURCC_V422 (they're
all the same). If it's correct, then it's the one you want to use
because the conversion from the decoder pictures to this format is
pretty fast.

>     B_YUV422 =            0x4020, /* U0[7:0]  Y0[7:0]   V0[7:0]  Y1[7:0]

   This is probably FOURCC_UYVY, FOURCC_Y422 and FOURCC_UYNV.

   Note: one of my interpretations for B_YCbCr422 or B_YUV422 is wrong,
but I don't know which one. My bet is that the one for B_YUV422 is
correct.

>     B_YUV12 =             0x402D,    /* planar?    420?

   This might be FOURC_YV12, which would be cool because it's the output
format of the video decoder.

Regards,
-- 
Sam.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list