From: Hendrik Leppkes Date: Sun, 29 Apr 2012 20:35:51 +0000 (-0700) Subject: avcodec: introduce YCoCg colorspace X-Git-Tag: n0.11~10^2~307 X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=85395ba73f9cc1b3cece3e85ae12f491ad7c1dd2 avcodec: introduce YCoCg colorspace Non perceptual color model that aims to have an increase effectiveness in compression like the normal YCbCr while having near-lossless/lossless mapping to RGB. Signed-off-by: Luca Barbato --- diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a3772a456e..63857d008b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -500,6 +500,7 @@ enum AVColorSpace{ AVCOL_SPC_BT470BG = 5, ///< also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM / IEC 61966-2-4 xvYCC601 AVCOL_SPC_SMPTE170M = 6, ///< also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC / functionally identical to above AVCOL_SPC_SMPTE240M = 7, + AVCOL_SPC_YCOCG = 8, ///< Used by Dirac / VC-2 and H.264 FRext, see ITU-T SG16 AVCOL_SPC_NB , ///< Not part of ABI };