linux_dsm_epyc7002/drivers/media/platform/coda
Philipp Zabel edc16cb115 [media] coda: drop JPEG buffers not framed by SOI and EOI markers
This patch adds a quick check for valid JPEG frames before feeding them into
the bitstream buffer: Frames that do not begin with the JPEG start of image
marker and end with the end of image marker are dropped.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-10-28 15:41:07 -02:00
..
coda_regs.h [media] coda: add JPEG register definitions for CODA7541 2014-10-28 15:01:49 -02:00
coda-bit.c [media] coda: drop JPEG buffers not framed by SOI and EOI markers 2014-10-28 15:41:07 -02:00
coda-common.c [media] coda: set bitstream end flag in coda_release 2014-10-28 15:40:37 -02:00
coda-h264.c [media] coda: include header for memcpy 2014-08-21 15:25:23 -05:00
coda-jpeg.c [media] coda: drop JPEG buffers not framed by SOI and EOI markers 2014-10-28 15:41:07 -02:00
coda.h [media] coda: drop JPEG buffers not framed by SOI and EOI markers 2014-10-28 15:41:07 -02:00
Makefile [media] coda: add CODA7541 JPEG support 2014-10-28 15:03:16 -02:00