On 29/04/12 16:25, Ronald S. Bultje wrote: > Hi, > > On Sun, Apr 29, 2012 at 2:01 PM, Luca Barbato <[email protected]> wrote: >> From: Hendrik Leppkes <[email protected]> >> >> 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 <[email protected]> >> --- >> libavcodec/avcodec.h | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h >> index a3772a4..63857d0 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 >> }; > > When playing such a file, what happens? Do we simply error out with a > swscale error? > > Patch OK.
I assume 1/2 is ok as well, isn't it? lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
