linux/drivers/staging
Jonas Karlman f270005b99 media: rkvdec: Fix frame size enumeration
The VIDIOC_ENUM_FRAMESIZES ioctl should return all frame sizes (i.e.
width and height in pixels) that the device supports for the given pixel
format.

It doesn't make a lot of sense to return the frame-sizes in a stepwise
manner, which is used to enforce hardware alignments requirements for
CAPTURE buffers, for coded formats.

Instead, applications should receive an indication, about the maximum
supported frame size for that hardware decoder, via a continuous
frame-size enumeration.

Fixes: cd33c83044 ("media: rkvdec: Add the rkvdec driver")
Suggested-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
History 2025-04-08 07:21:21 +00:00
..
axis-fifo staging: Switch back to struct platform_driver::remove() 2024-10-09 11:54:53 +02:00
fbtft fbtft: Remove access to page->index 2025-03-05 08:38:21 +01:00
gpib treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
greybus tty: staging/greybus: pass tty_driver flags to tty_alloc_driver() 2025-03-20 08:00:51 -07:00
iio staging: iio: ad9834: Use devm_regulator_get_enable() 2025-03-11 19:09:17 +00:00
media media: rkvdec: Fix frame size enumeration 2025-04-08 07:21:21 +00:00
most staging: most: Remove TODO contact information 2024-11-10 08:03:31 +01:00
nvec staging: Switch back to struct platform_driver::remove() 2024-10-09 11:54:53 +02:00
octeon staging: Switch back to struct platform_driver::remove() 2024-10-09 11:54:53 +02:00
rtl8723bs treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
sm750fb staging: sm750fb: fix checkpatch warning architecture specific defines should be avoided 2025-02-19 16:54:06 +01:00
vc04_services staging: vchiq_arm: Improve initial VCHIQ connect 2025-03-20 07:11:21 -07:00
vme_user staging: vme_user: vme_tsi148.c: avoid parenthesis line ending 2024-12-29 11:33:11 +01:00
Kconfig staging: fieldbus: Delete unused driver 2024-11-04 00:53:07 +01:00
Makefile staging: fieldbus: Delete unused driver 2024-11-04 00:53:07 +01:00