[vlc-commits] avcodec: map 16 bits semiplanar (P016)

Steve Lhomme git at videolan.org
Thu Sep 12 14:24:45 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Sep 10 10:16:27 2019 +0200| [513c8141943dd4257a2d754147f94a03e8348f30] | committer: Steve Lhomme

avcodec: map 16 bits semiplanar (P016)

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

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

diff --git a/modules/codec/avcodec/chroma.c b/modules/codec/avcodec/chroma.c
index c38cec8f18..b4535a3196 100644
--- a/modules/codec/avcodec/chroma.c
+++ b/modules/codec/avcodec/chroma.c
@@ -94,6 +94,9 @@ static const struct
 #ifdef AV_PIX_FMT_P010
     {VLC_CODEC_P010, AV_PIX_FMT_P010, 0, 0, 0 },
 #endif
+#ifdef AV_PIX_FMT_P016
+    {VLC_CODEC_P016, AV_PIX_FMT_P016, 0, 0, 0 },
+#endif
 
     {VLC_CODEC_I422_9L, AV_PIX_FMT_YUV422P9LE, 0, 0, 0 },
     {VLC_CODEC_I422_9B, AV_PIX_FMT_YUV422P9BE, 0, 0, 0 },



More information about the vlc-commits mailing list