[vlc-commits] dav1d: add support for 12 bits sources

Steve Lhomme git at videolan.org
Wed Jan 9 11:40:19 CET 2019


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jan  9 10:10:42 2019 +0100| [a0abc7487926747c9aa60e43e0728dd6a74b5e14] | committer: Steve Lhomme

dav1d: add support for 12 bits sources

Co-authored-by: James Almer <jamrial at gmail.com>

Fixes #21670

(cherry picked from commit 1243e37e544415158b3cd202a0f12016924967a6)

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

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

diff --git a/modules/codec/dav1d.c b/modules/codec/dav1d.c
index 41224ea312..61cca369ef 100644
--- a/modules/codec/dav1d.c
+++ b/modules/codec/dav1d.c
@@ -93,6 +93,10 @@ static const struct
     {VLC_CODEC_I420_10L, DAV1D_PIXEL_LAYOUT_I420, 10},
     {VLC_CODEC_I422_10L, DAV1D_PIXEL_LAYOUT_I422, 10},
     {VLC_CODEC_I444_10L, DAV1D_PIXEL_LAYOUT_I444, 10},
+
+    {VLC_CODEC_I420_12L, DAV1D_PIXEL_LAYOUT_I420, 12},
+    {VLC_CODEC_I422_12L, DAV1D_PIXEL_LAYOUT_I422, 12},
+    {VLC_CODEC_I444_12L, DAV1D_PIXEL_LAYOUT_I444, 12},
 };
 
 static vlc_fourcc_t FindVlcChroma(const Dav1dPicture *img)



More information about the vlc-commits mailing list