Commit aa1e34c8 authored by Benjamin Gaignard's avatar Benjamin Gaignard Committed by Mauro Carvalho Chehab

media: verisilicon: Get bit depth for V4L2_PIX_FMT_NV15_4L4

Let's the driver knows that V4L2_PIX_FMT_NV15_4L4 is a 10bits
pixel format.
Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent fc91af07
...@@ -71,6 +71,7 @@ int hantro_get_format_depth(u32 fourcc) ...@@ -71,6 +71,7 @@ int hantro_get_format_depth(u32 fourcc)
switch (fourcc) { switch (fourcc) {
case V4L2_PIX_FMT_P010: case V4L2_PIX_FMT_P010:
case V4L2_PIX_FMT_P010_4L4: case V4L2_PIX_FMT_P010_4L4:
case V4L2_PIX_FMT_NV15_4L4:
return 10; return 10;
default: default:
return 8; return 8;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment