aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-04-29 13:35:51 -0700
committerLuca Barbato <lu_zero@gentoo.org>2012-04-29 14:00:34 -0700
commit85395ba73f9cc1b3cece3e85ae12f491ad7c1dd2 (patch)
tree947919c131bd14739a4a10efcacb01d4d59a0bd8
parentccc2dfbcdf77c7186084eb04056b1e508aeb6789 (diff)
downloadffmpeg-85395ba73f9cc1b3cece3e85ae12f491ad7c1dd2.tar.gz
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 <lu_zero@gentoo.org>
-rw-r--r--libavcodec/avcodec.h1
1 files changed, 1 insertions, 0 deletions
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
};