]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: verisilicon: Use V4L2_FMTDESC_FLAG_ENUM_ALL flag
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Mon, 26 Aug 2024 17:24:10 +0000 (17:24 +0000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 12 Oct 2024 17:56:16 +0000 (19:56 +0200)
commitbcd4f091cf1ea7184d813afc115af82ac9326b25
tree87011d02f2778c6038939c0faed6be97776eab2c
parent1faaae77608fe7ff86cb7b0839e9c14e41882a0d
media: verisilicon: Use V4L2_FMTDESC_FLAG_ENUM_ALL flag

By adding support for the V4L2_FMTDESC_FLAG_ENUM_ALL flag into the driver
we allow userspace applications to discover all possible
pixel formats of the hardware block. This way userspace can decide
which decoder to use given the supported pixel formats.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/verisilicon/hantro_v4l2.c