linux/drivers/media
Hans Verkuil daa3fc4454 media: vicodec: set state resolution from raw format
The state structure contains the resolution expected by the decoder
and encoder. For an encoder that resolution should be taken from the
OUTPUT format, and for a decoder from the CAPTURE format.

If the wrong format is picked, a buffer overrun can occur if there is
a mismatch between the CAPTURE and OUTPUT formats.

The real fix would be to correctly implement the stateful codec
specification, but that will take more time. For now just prevent the
buffer overrun.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-03 15:04:36 -05:00
..
cec media: cec: increase debug level for 'queue full' 2018-11-06 05:23:05 -05:00
common media: vb2: don't unbind/put the object when going to state QUEUED 2018-12-03 15:02:53 -05:00
dvb-core media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
dvb-frontends media: dvb-pll: don't re-validate tuner frequencies 2018-11-27 13:51:32 -05:00
firewire media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
i2c media: tc358743: Remove unnecessary self assignment 2018-11-06 05:19:49 -05:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: ipu3-cio2: Use cio2_queues_exit 2018-11-06 07:11:59 -05:00
platform media: vicodec: set state resolution from raw format 2018-12-03 15:04:36 -05:00
radio media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
rc media: rc: mce_kbd: input events via rc-core's input device 2018-10-05 06:56:24 -04:00
spi
tuners media: si2157: declare its own pads 2018-09-17 13:16:19 -04:00
usb media: gspca: fix frame overflow error 2018-11-22 13:44:38 -05:00
v4l2-core media: v4l: event: Add subscription to list before calling "add" operation 2018-11-06 07:07:40 -05:00
Kconfig
Makefile media: media-request: implement media requests 2018-08-31 11:04:51 -04:00
media-device.c media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
media-devnode.c
media-entity.c media: v4l2-mc: switch it to use the new approach to setup pipelines 2018-09-17 13:16:19 -04:00
media-request.c media: media-request: Add compat ioctl 2018-11-20 12:53:27 -05:00