[media] coda: add bitstream ringbuffer handling for decoder
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 21 Jun 2013 06:55:31 +0000 (03:55 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 15:17:22 +0000 (12:17 -0300)
commit9082a7c66c688cddd305ceca1536fd3f6505ec21
treee29b2fbeac9f3d8901217151f39e8c3aad790e4f
parent5677e3b04d3b3961200aa2bb9cc715e709eafeb9
[media] coda: add bitstream ringbuffer handling for decoder

Add a bitstream ringbuffer using kfifo. Queued source buffers are to be copied
into the bitstream ringbuffer immediately and marked as done, if possible.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c
drivers/media/platform/coda.h