linux/drivers/media
Philipp Zabel 2719ef7d1b media: coda: pad first buffer with repeated MPEG headers to fix sequence init
If the first buffer contains only headers, the sequence initialization
command fails. On CodaHx4 the buffer must be padded to at least 512
bytes, on CODA960 it seems to be enough to just repeat the sequence and
extension headers (MPEG-2) or the VOS and VO headers (MPEG-4) once for
for sequence initialization to succeed without further bitstream data.
On CodaHx4 the headers can be repeated multiple times until the 512 byte
mark is reached.

A similar issue was solved for h.264 by padding with a filler NAL in
commit 0eef89403e ("[media] coda: pad first h.264 buffer to 512
bytes").

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:30:59 -04:00
..
cec media: cec-adap: fix regression in ping sanity check 2019-05-29 10:38:11 -04:00
common Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
dvb-core Linux 5.2-rc5 2019-06-21 16:09:25 -04:00
dvb-frontends media: stv090x: fix double free on state object 2019-06-21 15:33:07 -04:00
firewire treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
i2c media: st-mipid02: add support of JPEG 2019-06-24 13:04:58 -04:00
mc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mmc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pci media: meye: Fix build COMPILE_TEST error 2019-06-21 17:13:26 -04:00
platform media: coda: pad first buffer with repeated MPEG headers to fix sequence init 2019-06-24 14:30:59 -04:00
radio Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
rc media: rc: IR signal for Panasonic air conditioner too long 2019-06-21 15:33:48 -04:00
spi Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
tuners media: si2157: add detection of si2177 tuner 2019-06-13 14:26:59 -04:00
usb media: cx231xx-cards: Add Hauppauge 955Q variant 2019-06-13 14:31:45 -04:00
v4l2-core media: v4l2-fwnode: Avoid using PTR_ERR(NULL) 2019-06-21 17:54:00 -04:00
Kconfig media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00