Commit 59a4b458 authored by Nicolas Bertrand's avatar Nicolas Bertrand Committed by Jean-Baptiste Kempf

avcodec: Add XYZ colorspace

Adding XYZ colorspace allow usage of jpeg2000 decoders for
digital cinema
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent fcfa0d91
......@@ -31,6 +31,7 @@
#include <libavutil/avutil.h>
#include <libavutil/pixfmt.h>
#include "avcommon.h"
#include "chroma.h"
/*****************************************************************************
......@@ -120,7 +121,10 @@ static const struct
/* Paletized RGB */
{VLC_CODEC_RGBP, PIX_FMT_PAL8, 0, 0, 0},
/* XYZ */
#if LIBAVUTIL_VERSION_CHECK(52, 10, 0, 25, 100)
{VLC_CODEC_XYZ12, AV_PIX_FMT_XYZ12, 0xfff0, 0xfff0, 0xfff0},
#endif
{ 0, 0, 0, 0, 0 }
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment