linux/drivers/media/platform/coda
Philipp Zabel e7fd95849b media: coda: flush bitstream ring buffer on decoder restart
The bitstream ringbuffer might be in an underrun state after draining,
or it might still contain unread data if the previous decoder stop
command was flagged as immediate. Flush the bitstream ring buffer
during V4L2_DEC_CMD_START to get into a well defined state. Also fill
the bitstream with buffers that have been queued during draining,
to resume decoding immediately.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-06-24 14:31:50 -04:00
..
coda_regs.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
coda-bit.c media: coda: flush bitstream ring buffer on decoder restart 2019-06-24 14:31:50 -04:00
coda-common.c media: coda: flush bitstream ring buffer on decoder restart 2019-06-24 14:31:50 -04:00
coda-gdi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
coda-h264.c Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
coda-jpeg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
coda-mpeg2.c media: coda: pad first buffer with repeated MPEG headers to fix sequence init 2019-06-24 14:30:59 -04:00
coda-mpeg4.c media: coda: pad first buffer with repeated MPEG headers to fix sequence init 2019-06-24 14:30:59 -04:00
coda.h media: coda: flush bitstream ring buffer on decoder restart 2019-06-24 14:31:50 -04:00
imx-vdoa.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
imx-vdoa.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
Makefile media: drivers: media: coda: fix warning same module names 2019-06-12 10:45:05 -04:00
trace.h media: coda: remove -I$(src) header search path 2019-05-23 12:04:00 -04:00