AnsweredAssumed Answered

JPEG Engine YUV-420 format

Question asked by nick0mg on Feb 21, 2012
Latest reply on Feb 29, 2012 by SteveT

What YUV format is the ADI JPEG library expecting as input for YUV420

 

[JPEG_IMAGEFORMAT,      /* 1 for YUV4:2:0, 2 for YUV 4:2:2, 3 for YUV 4:4:4, 4 for YUV 4:0:0, 5 for RGB 24, and 6 for rotated YUV 4:2:2. */]

 

-Is it the same space as the JPEG output - e.g. YCbCr with the full range 0-255  valid for Cb and Cr (http://www.jpeg.org/public/jfif.pdf)

 

-Or CCIR 601  ( see http://www.fourcc.org/fccyvrgb.php#mikes_answer) where "the defined range for Y is [16,235] (220 steps) and the valid ranges for Cr and Cb are [16,239] (235 steps) "   - e.g. the video yCbCr space"

 

Thanks

Outcomes