[vlc-commits] dav1d: add support for 12 bits sources
Steve Lhomme
git at videolan.org
Wed Jan 9 11:08:16 CET 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jan 9 10:10:42 2019 +0100| [1243e37e544415158b3cd202a0f12016924967a6] | committer: Steve Lhomme
dav1d: add support for 12 bits sources
Co-authored-by: James Almer <jamrial at gmail.com>
Fixes #21670
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1243e37e544415158b3cd202a0f12016924967a6
---
modules/codec/dav1d.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/codec/dav1d.c b/modules/codec/dav1d.c
index cba241e064..c8fdb40e2f 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