android_kernel_samsung_sm8650/drivers/media/platform/coda
Philipp Zabel 51407c2da0 media: coda: always hold back decoder jobs until we have enough bitstream payload
The bitstream prefetch unit reads data in 256 byte blocks with some kind
of queueing. For the decoder to see data up to a desired position in the
next run, the bitstream has to be filled for 2 256 byte blocks past that
position aligned up to the next 256 byte boundary.
This should make sure we never run into a buffer underrun condition if
userspace does not supply new input buffers fast enough.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-23 05:26:24 -05:00
..
coda_regs.h media: coda: jpeg: explicitly disable thumbnails in SEQ_INIT 2018-07-04 08:29:31 -04:00
coda-bit.c media: coda: store unmasked fifo position in meta 2018-11-23 05:21:37 -05:00
coda-common.c media: coda: always hold back decoder jobs until we have enough bitstream payload 2018-11-23 05:26:24 -05:00
coda-gdi.c [media] coda: add macroblock tiling support 2015-07-17 11:28:59 -03:00
coda-h264.c media: coda: add SPS fixup code for frame sizes that are not multiples of 16 2018-07-27 06:58:54 -04:00
coda-jpeg.c [media] coda: relax coda_jpeg_check_buffer for trailing bytes 2015-12-23 14:02:14 -02:00
coda.h media: coda: always hold back decoder jobs until we have enough bitstream payload 2018-11-23 05:26:24 -05:00
imx-vdoa.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
imx-vdoa.h [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
Makefile [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
trace.h media: coda: store unmasked fifo position in meta 2018-11-23 05:21:37 -05:00