[vlc-commits] dav1d: handle 10/12 bits greyscale pixel formats

Steve Lhomme git at videolan.org
Wed Jan 9 11:15:05 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jan  9 10:57:50 2019 +0100| [b0c0ef370bd6183309054da40708126cf7bd5125] | committer: Steve Lhomme

dav1d: handle 10/12 bits greyscale pixel formats

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

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

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

diff --git a/modules/codec/dav1d.c b/modules/codec/dav1d.c
index c8fdb40e2f..89112761c5 100644
--- a/modules/codec/dav1d.c
+++ b/modules/codec/dav1d.c
@@ -90,10 +90,12 @@ static const struct
     {VLC_CODEC_I422, DAV1D_PIXEL_LAYOUT_I422, 8},
     {VLC_CODEC_I444, DAV1D_PIXEL_LAYOUT_I444, 8},
 
+    {VLC_CODEC_GREY_10L, DAV1D_PIXEL_LAYOUT_I400, 10},
     {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_GREY_12L, DAV1D_PIXEL_LAYOUT_I400, 12},
     {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},



More information about the vlc-commits mailing list