OpenCloudOS-Kernel/drivers/media/platform/chips-media
Philipp Zabel 67e33dd957 media: coda: limit frame interval enumeration to supported encoder frame sizes
Let VIDIOC_ENUM_FRAMEINTERVALS return -EINVAL if userspace queries
frame intervals for frame sizes unsupported by the encoder. Fixes the
following v4l2-compliance failure:

		fail: v4l2-test-formats.cpp(123): found frame intervals for invalid size 47x16
		fail: v4l2-test-formats.cpp(282): node->codec_mask & STATEFUL_ENCODER
	test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: FAIL

[hverkuil: drop incorrect 'For decoder devices, return -ENOTTY.' in the commit log]

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-05-13 11:02:20 +02:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile
coda-bit.c media: coda: consolidate job_finish calls on decoder prepare_run failure 2022-04-24 08:45:03 +01:00
coda-common.c media: coda: limit frame interval enumeration to supported encoder frame sizes 2022-05-13 11:02:20 +02:00
coda-gdi.c
coda-h264.c
coda-jpeg.c media: coda: jpeg: improve header parse error message 2022-04-24 08:47:17 +01:00
coda-mpeg2.c
coda-mpeg4.c
coda.h media: coda: add JPEG downscale support 2022-04-24 08:46:27 +01:00
coda_regs.h
imx-vdoa.c
imx-vdoa.h
trace.h