vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Fri Oct 21 
15:25:09 2011 +0200| [8b69f37b61ff8a729ace73b2ee16fe29d877f7a6] | committer: 
Jean-Baptiste Kempf

swscale/avcodec: Add I422 9-bit chroma pix_fmt

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

 modules/codec/avcodec/chroma.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c
index fcad6ec..dc74566 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -89,8 +89,11 @@ static const struct
     {VLC_CODEC_I420_10L, PIX_FMT_YUV420P10LE, 0, 0, 0 },
     {VLC_CODEC_I420_10B, PIX_FMT_YUV420P10BE, 0, 0, 0 },
 #endif
+#if LIBAVUTIL_VERSION_INT > ((51<<16)+(12<<8)+0)
+    {VLC_CODEC_I422_9L, PIX_FMT_YUV422P9LE, 0, 0, 0 },
+    {VLC_CODEC_I422_9B, PIX_FMT_YUV422P9BE, 0, 0, 0 },
+#endif
 #if LIBAVUTIL_VERSION_INT >= ((51<<16)+(9<<8)+0)
-    /* I422 9-bit seems missing */
     {VLC_CODEC_I422_10L, PIX_FMT_YUV422P10LE, 0, 0, 0 },
     {VLC_CODEC_I422_10B, PIX_FMT_YUV422P10BE, 0, 0, 0 },
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to