linux/drivers/media
Philipp Zabel 1403bc4c0f media: coda: fix capture TRY_FMT for YUYV with non-MB-aligned widths
Since bytesperline always fulfills VDOA width requirements, detile the
whole buffer instead of limiting to visible width. This stops TRY_FMT
from returning -EINVAL for YUYV capture buffers that are not a multiple
of 16 wide.

An alternative would be to always round up width to stride, as we report
the valid image rectange via G_SELECTION (V4L2_SEL_TGT_COMPOSE_DEFAULT),
but that would require all applications to handle the compose default
rectangle properly.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-18 14:59:04 -05:00
..
cec media: cec: move cec autorepeat handling to rc-core 2017-12-14 10:35:30 -05:00
common media: v4l2-tpg.h: rename color structs 2017-12-18 12:29:05 -05:00
dvb-core media: dvb_demux: describe nested structs 2017-12-18 09:05:04 -05:00
dvb-frontends media: dvb-frontends: fix i2c access helpers for KASAN 2017-12-15 11:53:50 -05:00
firewire
i2c media: v4l2-subdev: better document IO pin configuration flags 2017-12-18 14:14:29 -05:00
mmc License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci media: v4l2-subdev: better document IO pin configuration flags 2017-12-18 14:14:29 -05:00
platform media: coda: fix capture TRY_FMT for YUYV with non-MB-aligned widths 2017-12-18 14:59:04 -05:00
radio media: radio-si476x: fix behavior when seek->range* are defined 2017-12-11 13:04:51 -05:00
rc media: cec: move cec autorepeat handling to rc-core 2017-12-14 10:35:30 -05:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: r820t: fix r820t_write_reg for KASAN 2017-12-15 11:53:45 -05:00
usb media: get rid of i2c-addr.h 2017-12-18 11:52:24 -05:00
v4l2-core media: v4l2-dev: convert VFL_TYPE_* into an enum 2017-12-18 11:49:40 -05:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: Check for active and has_no_links overrun 2017-10-04 17:16:14 -03:00