[vlc-commits] Avutil: map 4:2:2 12bits

Jean-Baptiste Kempf git at videolan.org
Thu Jul 7 23:12:40 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jul  7 23:06:10 2016 +0200| [3078e74aabb03d5213cb82ba64c989415f862ccd] | committer: Jean-Baptiste Kempf

Avutil: map 4:2:2 12bits

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3078e74aabb03d5213cb82ba64c989415f862ccd
---

 modules/codec/avcodec/chroma.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c
index b4d4660..52151e9 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -95,6 +95,10 @@ static const struct
     {VLC_CODEC_I422_9B, AV_PIX_FMT_YUV422P9BE, 0, 0, 0 },
     {VLC_CODEC_I422_10L, AV_PIX_FMT_YUV422P10LE, 0, 0, 0 },
     {VLC_CODEC_I422_10B, AV_PIX_FMT_YUV422P10BE, 0, 0, 0 },
+#if (LIBAVUTIL_VERSION_MICRO >= 100 && LIBAVUTIL_VERSION_INT >= AV_VERSION_INT( 54, 17, 100 ) )
+    {VLC_CODEC_I422_12L, AV_PIX_FMT_YUV422P12LE, 0, 0, 0 },
+    {VLC_CODEC_I422_12B, AV_PIX_FMT_YUV422P12BE, 0, 0, 0 },
+#endif
 
     {VLC_CODEC_YUV420A, AV_PIX_FMT_YUVA420P, 0, 0, 0 },
     {VLC_CODEC_YUV422A, AV_PIX_FMT_YUVA422P, 0, 0, 0 },



More information about the vlc-commits mailing list