[vlc-commits] avcodec: handle codecs outputting YUVA 4:2:0 and 4:2:2

Rafaël Carré git at videolan.org
Tue Dec 10 18:41:44 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Dec 10 12:41:09 2013 -0500| [e1bdb39097f99e5f2c0748dc484de0e7815f29ad] | committer: Rafaël Carré

avcodec: handle codecs outputting YUVA 4:2:0 and 4:2:2

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

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

diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c
index e1d6eef..20db9b0 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -93,6 +93,11 @@ static const struct
     {VLC_CODEC_I422_10L, PIX_FMT_YUV422P10LE, 0, 0, 0 },
     {VLC_CODEC_I422_10B, PIX_FMT_YUV422P10BE, 0, 0, 0 },
 
+    {VLC_CODEC_YUV420A, PIX_FMT_YUVA420P, 0, 0, 0 },
+#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,45,0)
+    {VLC_CODEC_YUV422A, AV_PIX_FMT_YUVA422P, 0, 0, 0 },
+#endif
+
     {VLC_CODEC_I444_9L, PIX_FMT_YUV444P9LE, 0, 0, 0 },
     {VLC_CODEC_I444_9B, PIX_FMT_YUV444P9BE, 0, 0, 0 },
     {VLC_CODEC_I444_10L, PIX_FMT_YUV444P10LE, 0, 0, 0 },



More information about the vlc-commits mailing list