]> git.baikalelectronics.ru Git - kernel.git/commit
[media] coda: pad input stream for JPEG decoder
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 2 Oct 2014 17:08:33 +0000 (14:08 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Oct 2014 17:38:37 +0000 (15:38 -0200)
commit67053c269add66d7bf965c0a0a0a74fb09c14359
treecda0caf73e6ee8af1c198213e7c429100a80a6ad
parent0535a576ac7a29a197f9ed9ea8fb677b64daa707
[media] coda: pad input stream for JPEG decoder

Before starting a PIC_RUN, pad the bitstream with 0xff until 256 bytes
past the next multiple of 256 bytes, if the buffer to be decoded is the
last buffer in the bitstream.

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>
drivers/media/platform/coda/coda-bit.c