linux/drivers/media/platform
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
..
am437x treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
atmel media: atmel: atmel-isc: fix and cleanup potential bugs 2019-06-21 16:37:09 -04:00
cadence treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cec-gpio Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
coda media: coda: pad first buffer with repeated MPEG headers to fix sequence init 2019-06-24 14:30:59 -04:00
cros-ec-cec treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
davinci media: davinci: vpif_capture: fix memory leak in vpif_probe() 2019-06-12 10:46:06 -04:00
exynos-gsc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
exynos4-is Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
marvell-ccic media: cafe-driver: mark an static var as such 2019-06-24 13:10:54 -04:00
meson media: platform: ao-cec-g12a: remove spin_lock_irqsave() locking in meson_ao_cec_g12a_read/write 2019-06-05 15:57:18 -04:00
mtk-jpeg media: mtk-jpeg: Use vb2_get_buffer 2019-06-21 16:22:02 -04:00
mtk-mdp Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk-vcodec media: mtk-vcodec: remove unneeded proxy functions 2019-06-21 17:10:20 -04:00
mtk-vpu Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
omap Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
omap3isp Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
qcom Linux 5.2-rc5 2019-06-21 16:09:25 -04:00
rcar-vin media: rcar-vin: Merge Gen2 and Gen3 file operations 2019-06-21 16:45:18 -04:00
rockchip/rga treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
s3c-camif treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p-cec treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p-g2d treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p-jpeg treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
s5p-mfc media: s5p-mfc: Make additional clocks optional 2019-06-21 16:50:54 -04:00
seco-cec treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
sti media: sti: Use vb2_get_buffer 2019-06-21 16:25:39 -04:00
stm32 media: stm32-dcmi: fix irq = 0 case 2019-06-05 15:28:32 -04:00
sunxi/sun6i-csi media: sun6i: Support A83T variant 2019-05-29 11:27:55 -04:00
tegra-cec treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
ti-vpe media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
vicodec media: vicodec: improve handling of ENC_CMD_STOP/START 2019-06-11 11:33:44 -04:00
vimc media: vimc: stream: add missing function documentation 2019-06-21 17:17:25 -04:00
vivid media: vivid: add CEC support to display present ctrl 2019-06-21 17:34:44 -04:00
vsp1 drm pull request for 5.2 2019-05-08 21:35:19 -07:00
xilinx
aspeed-video.c media: aspeed: add a workaround to fix a silicon bug 2019-06-21 17:21:42 -04:00
fsl-viu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
imx-pxp.c
imx-pxp.h
Kconfig Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
m2m-deinterlace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Makefile
mx2_emmaprp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pxa_camera.c Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
rcar-fcp.c
rcar_drif.c
rcar_fdp1.c media: fdp1: Support M3N and E3 platforms 2019-06-11 12:29:54 -04:00
rcar_jpu.c media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
renesas-ceu.c media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
sh_veu.c
sh_vou.c
via-camera.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 354 2019-06-05 17:37:09 +02:00
via-camera.h
video-mux.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
vim2m.c media: vim2m: fix two double-free issues 2019-05-28 12:49:42 -04:00