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: Benjamin Gaignard <benjamin.gaignard@collabora.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
fc91af0755
commit
aa1e34c85b
@ -71,6 +71,7 @@ int hantro_get_format_depth(u32 fourcc)
|
||||
switch (fourcc) {
|
||||
case V4L2_PIX_FMT_P010:
|
||||
case V4L2_PIX_FMT_P010_4L4:
|
||||
case V4L2_PIX_FMT_NV15_4L4:
|
||||
return 10;
|
||||
default:
|
||||
return 8;
|
||||
|
Loading…
x
Reference in New Issue
Block a user