1
2
3
4
5
6
7
8
9
10
11
12 #ifndef S5P_MFC_OPR_V5_H_
13 #define S5P_MFC_OPR_V5_H_
14
15 #include "s5p_mfc_common.h"
16 #include "s5p_mfc_opr.h"
17
18 enum MFC_SHM_OFS {
19 EXTENEDED_DECODE_STATUS = 0x00,
20 SET_FRAME_TAG = 0x04,
21 GET_FRAME_TAG_TOP = 0x08,
22 GET_FRAME_TAG_BOT = 0x0C,
23 PIC_TIME_TOP = 0x10,
24 PIC_TIME_BOT = 0x14,
25 START_BYTE_NUM = 0x18,
26
27 CROP_INFO_H = 0x20,
28 CROP_INFO_V = 0x24,
29 EXT_ENC_CONTROL = 0x28,
30 ENC_PARAM_CHANGE = 0x2C,
31 RC_VOP_TIMING = 0x30,
32 HEC_PERIOD = 0x34,
33 METADATA_ENABLE = 0x38,
34 METADATA_STATUS = 0x3C,
35 METADATA_DISPLAY_INDEX = 0x40,
36 EXT_METADATA_START_ADDR = 0x44,
37 PUT_EXTRADATA = 0x48,
38 EXTRADATA_ADDR = 0x4C,
39
40 ALLOC_LUMA_DPB_SIZE = 0x64,
41 ALLOC_CHROMA_DPB_SIZE = 0x68,
42 ALLOC_MV_SIZE = 0x6C,
43 P_B_FRAME_QP = 0x70,
44 SAMPLE_ASPECT_RATIO_IDC = 0x74,
45
46 EXTENDED_SAR = 0x78,
47
48 DISP_PIC_PROFILE = 0x7C,
49 FLUSH_CMD_TYPE = 0x80,
50 FLUSH_CMD_INBUF1 = 0x84,
51 FLUSH_CMD_INBUF2 = 0x88,
52 FLUSH_CMD_OUTBUF = 0x8C,
53 NEW_RC_BIT_RATE = 0x90,
54
55 NEW_RC_FRAME_RATE = 0x94,
56
57 NEW_I_PERIOD = 0x98,
58
59 H264_I_PERIOD = 0x9C,
60 RC_CONTROL_CONFIG = 0xA0,
61 BATCH_INPUT_ADDR = 0xA4,
62 BATCH_OUTPUT_ADDR = 0xA8,
63 BATCH_OUTPUT_SIZE = 0xAC,
64 MIN_LUMA_DPB_SIZE = 0xB0,
65 DEVICE_FORMAT_ID = 0xB4,
66 H264_POC_TYPE = 0xB8,
67 MIN_CHROMA_DPB_SIZE = 0xBC,
68 DISP_PIC_FRAME_TYPE = 0xC0,
69 FREE_LUMA_DPB = 0xC4,
70 ASPECT_RATIO_INFO = 0xC8,
71 EXTENDED_PAR = 0xCC,
72 DBG_HISTORY_INPUT0 = 0xD0,
73 DBG_HISTORY_INPUT1 = 0xD4,
74 DBG_HISTORY_OUTPUT = 0xD8,
75 HIERARCHICAL_P_QP = 0xE0,
76 FRAME_PACK_SEI_ENABLE = 0x168,
77 FRAME_PACK_SEI_AVAIL = 0x16c,
78 FRAME_PACK_SEI_INFO = 0x17c,
79 };
80
81 struct s5p_mfc_hw_ops *s5p_mfc_init_hw_ops_v5(void);
82 #endif