linux/drivers/media
Alexandre Courbot de04408fd1 media: venus: vdec: return parsed crop information from stream
Per the stateful codec specification, VIDIOC_G_SELECTION with a target
of V4L2_SEL_TGT_COMPOSE is supposed to return the crop area of capture
buffers containing the decoded frame. Until now the driver did not get
that information from the firmware and just returned the dimensions of
CAPTURE buffers.

The firmware unfortunately does not always provide the crop information
from the stream ; also make sure to detect when that happens and
fallback to providing the coded size in these cases.

Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-16 19:08:23 +01:00
..
cec media: cec-core: first mark device unregistered, then wake up fhs 2020-11-16 10:31:09 +01:00
common media: Bulk remove BUG_ON(in_interrupt()) 2020-11-16 10:31:10 +01:00
dvb-core media fixes for v5.9-rc7 2020-09-24 09:05:04 -07:00
dvb-frontends media: fix kernel-doc markups 2020-11-16 10:31:16 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: imx258: Remove Jason Chen's e-mail 2020-11-16 10:31:15 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: media/pci: simplify the return expression of verify_window_lock 2020-11-16 10:31:15 +01:00
platform media: venus: vdec: return parsed crop information from stream 2020-11-16 19:08:23 +01:00
radio media: radio-sf16fmr2: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
rc media: rc: gpio-ir-recv: add QoS support for cpuidle system 2020-09-27 11:27:23 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vivid: fix (partially) timing issues 2020-11-16 10:31:08 +01:00
tuners media: remove unneeded break 2020-11-16 10:31:10 +01:00
usb media: cx231xx: Consolidate dmesg output 2020-11-16 10:31:10 +01:00
v4l2-core media: v4l: Add a helper for obtaining the link frequency 2020-11-16 10:31:15 +01:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00