summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2019-06-18 19:45:19 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-24 21:30:59 +0300
commit2719ef7d1b1107892923a1f5b7cbc28cccbdea3d (patch)
tree766f9f8eebeca0d55a33973ae74893d1feaa189f /tools/perf/scripts/python/exported-sql-viewer.py
parentccb901196ec5298458f2cd2c4c43652c3c0d5032 (diff)
downloadlinux-2719ef7d1b1107892923a1f5b7cbc28cccbdea3d.tar.xz
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 0eef89403ece ("[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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions