[vlc-commits] v4l2: map 10, 12 and 16-bits grey scale chromas
Rémi Denis-Courmont
git at videolan.org
Sat Jan 12 14:28:53 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 12 15:28:14 2019 +0200| [a4fbe02c151d34c07f1a0464fab122bfa305fa58] | committer: Rémi Denis-Courmont
v4l2: map 10, 12 and 16-bits grey scale chromas
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4fbe02c151d34c07f1a0464fab122bfa305fa58
---
modules/access/v4l2/demux.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/access/v4l2/demux.c b/modules/access/v4l2/demux.c
index 782398c87a..f6b44b91f1 100644
--- a/modules/access/v4l2/demux.c
+++ b/modules/access/v4l2/demux.c
@@ -214,9 +214,9 @@ static const vlc_v4l2_fmt_t v4l2_fmts[] =
//V4L2_PIX_FMT_DV -> use access
/* Grey scale */
-// { V4L2_PIX_FMT_Y16, },
-// { V4L2_PIX_FMT_Y12, },
-// { V4L2_PIX_FMT_Y10, },
+ { V4L2_PIX_FMT_Y16, VLC_CODEC_GREY_16L, 2, 0, 0, 0 },
+ { V4L2_PIX_FMT_Y12, VLC_CODEC_GREY_12L, 2, 0, 0, 0 },
+ { V4L2_PIX_FMT_Y10, VLC_CODEC_GREY_10L, 2, 0, 0, 0 },
// { V4L2_PIX_FMT_Y10BPACK, },
{ V4L2_PIX_FMT_GREY, VLC_CODEC_GREY, 1, 0, 0, 0 },
};
More information about the vlc-commits
mailing list