]> git.baikalelectronics.ru Git - kernel.git/commit
[media] coda: try to only queue a single JPEG into the bitstream
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 2 Oct 2014 17:08:34 +0000 (14:08 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Oct 2014 17:39:01 +0000 (15:39 -0200)
commitc0b92aca146bb834c682c58409be701a6463c4ad
tree724854f19cc86b6268d38380765ab7c0339b4853
parent67053c269add66d7bf965c0a0a0a74fb09c14359
[media] coda: try to only queue a single JPEG into the bitstream

With bitstream padding, it is possible to decode a single JPEG in the bitstream
immediately. This allows us to only ever queue a single JPEG into the bitstream
buffer, except to increase payload over 512 bytes or to back out of hold state.
This is a measure to decrease JPEG decoder latency.

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