summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/coda.h
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2013-06-21 03:55:31 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-07-26 12:17:22 -0300
commit9082a7c66c688cddd305ceca1536fd3f6505ec21 (patch)
treee29b2fbeac9f3d8901217151f39e8c3aad790e4f /drivers/media/platform/coda.h
parent5677e3b04d3b3961200aa2bb9cc715e709eafeb9 (diff)
[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>
Diffstat (limited to 'drivers/media/platform/coda.h')
-rw-r--r--drivers/media/platform/coda.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/platform/coda.h b/drivers/media/platform/coda.h
index b2b5b1deb01..140eea58ad3 100644
--- a/drivers/media/platform/coda.h
+++ b/drivers/media/platform/coda.h
@@ -43,6 +43,9 @@
#define CODA_STREAM_ENDIAN_SELECT (1 << 0)
#define CODA_REG_BIT_FRAME_MEM_CTRL 0x110
#define CODA_IMAGE_ENDIAN_SELECT (1 << 0)
+#define CODA_REG_BIT_BIT_STREAM_PARAM 0x114
+#define CODA_BIT_STREAM_END_FLAG (1 << 2)
+#define CODA_BIT_DEC_SEQ_INIT_ESCAPE (1 << 0)
#define CODA_REG_BIT_TEMP_BUF_ADDR 0x118
#define CODA_REG_BIT_RD_PTR(x) (0x120 + 8 * (x))
#define CODA_REG_BIT_WR_PTR(x) (0x124 + 8 * (x))