[media] coda: add JPEG register definitions for CODA7541
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 2 Oct 2014 17:08:30 +0000 (14:08 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Oct 2014 17:01:49 +0000 (15:01 -0200)
Add JPEG specific sequence initialization registers and bit definitions.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
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_regs.h

index c791275e307b05ea3c5de61259f2f3e535070707..8e015b8aa8fa01df3459837e06076bb8c295f813 100644 (file)
 #define CODA_CMD_DEC_SEQ_BB_START              0x180
 #define CODA_CMD_DEC_SEQ_BB_SIZE               0x184
 #define CODA_CMD_DEC_SEQ_OPTION                        0x188
+#define                CODA_NO_INT_ENABLE                      (1 << 10)
 #define                CODA_REORDER_ENABLE                     (1 << 1)
 #define                CODADX6_QP_REPORT                       (1 << 0)
 #define                CODA7_MP4_DEBLK_ENABLE                  (1 << 0)
 #define CODA9_CMD_ENC_SEQ_ME_OPTION                            0x1d8
 #define CODA_RET_ENC_SEQ_SUCCESS                               0x1c0
 
+#define CODA_CMD_ENC_SEQ_JPG_PARA                              0x198
+#define CODA_CMD_ENC_SEQ_JPG_RST_INTERVAL                      0x19C
+#define CODA_CMD_ENC_SEQ_JPG_THUMB_EN                          0x1a0
+#define CODA_CMD_ENC_SEQ_JPG_THUMB_SIZE                                0x1a4
+#define CODA_CMD_ENC_SEQ_JPG_THUMB_OFFSET                      0x1a8
+
 /* Encoder Picture Run */
 #define CODA9_CMD_ENC_PIC_SRC_INDEX            0x180
 #define CODA9_CMD_ENC_PIC_SRC_STRIDE           0x184