[vlc-devel] [PATCH 2/4] avcodec: map 16 bits semiplanar (P016)

Steve Lhomme robux4 at ycbcr.xyz
Tue Sep 10 11:26:18 CEST 2019


---
 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 c38cec8f185..b4535a31968 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 },
-- 
2.17.1



More information about the vlc-devel mailing list