linux/drivers/staging/media/sunxi/cedrus/cedrus_regs.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Cedrus VPU driver
 *
 * Copyright (c) 2013-2016 Jens Kuske <[email protected]>
 * Copyright (C) 2016 Florent Revest <[email protected]>
 * Copyright (C) 2018 Paul Kocialkowski <[email protected]>
 */

#ifndef _CEDRUS_REGS_H_
#define _CEDRUS_REGS_H_

#define SHIFT_AND_MASK_BITS(v, h, l)

/*
 * Common acronyms and contractions used in register descriptions:
 * * VLD : Variable-Length Decoder
 * * IQ: Inverse Quantization
 * * IDCT: Inverse Discrete Cosine Transform
 * * MC: Motion Compensation
 * * STCD: Start Code Detect
 * * SDRT: Scale Down and Rotate
 * * WB: Writeback
 * * BITS/BS: Bitstream
 * * MB: Macroblock
 * * CTU: Coding Tree Unit
 * * CTB: Coding Tree Block
 * * IDX: Index
 */

#define VE_ENGINE_DEC_MPEG
#define VE_ENGINE_DEC_H264
#define VE_ENGINE_DEC_H265

#define VE_MODE

#define VE_MODE_PIC_WIDTH_IS_4096
#define VE_MODE_PIC_WIDTH_MORE_2048
#define VE_MODE_REC_WR_MODE_2MB
#define VE_MODE_REC_WR_MODE_1MB
#define VE_MODE_DDR_MODE_BW_128
#define VE_MODE_DDR_MODE_BW_256
#define VE_MODE_DISABLED
#define VE_MODE_DEC_H265
#define VE_MODE_DEC_H264
#define VE_MODE_DEC_MPEG

#define VE_BUF_CTRL

#define VE_BUF_CTRL_INTRAPRED_EXT_RAM
#define VE_BUF_CTRL_INTRAPRED_MIXED_RAM
#define VE_BUF_CTRL_INTRAPRED_INT_SRAM
#define VE_BUF_CTRL_DBLK_EXT_RAM
#define VE_BUF_CTRL_DBLK_MIXED_RAM
#define VE_BUF_CTRL_DBLK_INT_SRAM

#define VE_DBLK_DRAM_BUF_ADDR
#define VE_INTRAPRED_DRAM_BUF_ADDR
#define VE_PRIMARY_CHROMA_BUF_LEN
#define VE_PRIMARY_FB_LINE_STRIDE

#define VE_PRIMARY_FB_LINE_STRIDE_CHROMA(s)
#define VE_PRIMARY_FB_LINE_STRIDE_LUMA(s)

#define VE_CHROMA_BUF_LEN

#define VE_SECONDARY_OUT_FMT_TILED_32_NV12
#define VE_SECONDARY_OUT_FMT_EXT
#define VE_SECONDARY_OUT_FMT_YU12
#define VE_SECONDARY_OUT_FMT_YV12
#define VE_CHROMA_BUF_LEN_SDRT(l)

#define VE_PRIMARY_OUT_FMT

#define VE_PRIMARY_OUT_FMT_TILED_32_NV12
#define VE_PRIMARY_OUT_FMT_TILED_128_NV12
#define VE_PRIMARY_OUT_FMT_YU12
#define VE_PRIMARY_OUT_FMT_YV12
#define VE_PRIMARY_OUT_FMT_NV12
#define VE_PRIMARY_OUT_FMT_NV21
#define VE_SECONDARY_OUT_FMT_EXT_TILED_32_NV12
#define VE_SECONDARY_OUT_FMT_EXT_TILED_128_NV12
#define VE_SECONDARY_OUT_FMT_EXT_YU12
#define VE_SECONDARY_OUT_FMT_EXT_YV12
#define VE_SECONDARY_OUT_FMT_EXT_NV12
#define VE_SECONDARY_OUT_FMT_EXT_NV21

#define VE_VERSION

#define VE_VERSION_SHIFT

#define VE_DEC_MPEG_MP12HDR

#define VE_DEC_MPEG_MP12HDR_SLICE_TYPE(t)
#define VE_DEC_MPEG_MP12HDR_F_CODE_SHIFT(x, y)
#define VE_DEC_MPEG_MP12HDR_F_CODE(__x, __y, __v)

#define VE_DEC_MPEG_MP12HDR_INTRA_DC_PRECISION(p)
#define VE_DEC_MPEG_MP12HDR_INTRA_PICTURE_STRUCTURE(s)
#define VE_DEC_MPEG_MP12HDR_TOP_FIELD_FIRST(v)
#define VE_DEC_MPEG_MP12HDR_FRAME_PRED_FRAME_DCT(v)
#define VE_DEC_MPEG_MP12HDR_CONCEALMENT_MOTION_VECTORS(v)
#define VE_DEC_MPEG_MP12HDR_Q_SCALE_TYPE(v)
#define VE_DEC_MPEG_MP12HDR_INTRA_VLC_FORMAT(v)
#define VE_DEC_MPEG_MP12HDR_ALTERNATE_SCAN(v)
#define VE_DEC_MPEG_MP12HDR_FULL_PEL_FORWARD_VECTOR(v)
#define VE_DEC_MPEG_MP12HDR_FULL_PEL_BACKWARD_VECTOR(v)

#define VE_DEC_MPEG_PICCODEDSIZE

#define VE_DEC_MPEG_PICCODEDSIZE_WIDTH(w)
#define VE_DEC_MPEG_PICCODEDSIZE_HEIGHT(h)

#define VE_DEC_MPEG_PICBOUNDSIZE

#define VE_DEC_MPEG_PICBOUNDSIZE_WIDTH(w)
#define VE_DEC_MPEG_PICBOUNDSIZE_HEIGHT(h)

#define VE_DEC_MPEG_MBADDR

#define VE_DEC_MPEG_MBADDR_X(w)
#define VE_DEC_MPEG_MBADDR_Y(h)

#define VE_DEC_MPEG_CTRL

#define VE_DEC_MPEG_CTRL_MC_CACHE_EN
#define VE_DEC_MPEG_CTRL_SW_VLD
#define VE_DEC_MPEG_CTRL_SW_IQ_IS
#define VE_DEC_MPEG_CTRL_QP_AC_DC_OUT_EN
#define VE_DEC_MPEG_CTRL_ROTATE_SCALE_OUT_EN
#define VE_DEC_MPEG_CTRL_MC_NO_WRITEBACK
#define VE_DEC_MPEG_CTRL_ROTATE_IRQ_EN
#define VE_DEC_MPEG_CTRL_VLD_DATA_REQ_IRQ_EN
#define VE_DEC_MPEG_CTRL_ERROR_IRQ_EN
#define VE_DEC_MPEG_CTRL_FINISH_IRQ_EN
#define VE_DEC_MPEG_CTRL_IRQ_MASK

#define VE_DEC_MPEG_TRIGGER

#define VE_DEC_MPEG_TRIGGER_MB_BOUNDARY

#define VE_DEC_MPEG_TRIGGER_CHROMA_FMT_420
#define VE_DEC_MPEG_TRIGGER_CHROMA_FMT_411
#define VE_DEC_MPEG_TRIGGER_CHROMA_FMT_422
#define VE_DEC_MPEG_TRIGGER_CHROMA_FMT_444
#define VE_DEC_MPEG_TRIGGER_CHROMA_FMT_422T

#define VE_DEC_MPEG_TRIGGER_MPEG1
#define VE_DEC_MPEG_TRIGGER_MPEG2
#define VE_DEC_MPEG_TRIGGER_JPEG
#define VE_DEC_MPEG_TRIGGER_MPEG4
#define VE_DEC_MPEG_TRIGGER_VP62

#define VE_DEC_MPEG_TRIGGER_VP62_AC_GET_BITS

#define VE_DEC_MPEG_TRIGGER_STCD_VC1
#define VE_DEC_MPEG_TRIGGER_STCD_MPEG2
#define VE_DEC_MPEG_TRIGGER_STCD_AVC

#define VE_DEC_MPEG_TRIGGER_HW_MPEG_VLD
#define VE_DEC_MPEG_TRIGGER_HW_JPEG_VLD
#define VE_DEC_MPEG_TRIGGER_HW_MB
#define VE_DEC_MPEG_TRIGGER_HW_ROTATE
#define VE_DEC_MPEG_TRIGGER_HW_VP6_VLD
#define VE_DEC_MPEG_TRIGGER_HW_MAF
#define VE_DEC_MPEG_TRIGGER_HW_STCD_END
#define VE_DEC_MPEG_TRIGGER_HW_STCD_BEGIN
#define VE_DEC_MPEG_TRIGGER_SW_MC
#define VE_DEC_MPEG_TRIGGER_SW_IQ
#define VE_DEC_MPEG_TRIGGER_SW_IDCT
#define VE_DEC_MPEG_TRIGGER_SW_SCALE
#define VE_DEC_MPEG_TRIGGER_SW_VP6
#define VE_DEC_MPEG_TRIGGER_SW_VP62_AC_GET_BITS

#define VE_DEC_MPEG_STATUS

#define VE_DEC_MPEG_STATUS_START_DETECT_BUSY
#define VE_DEC_MPEG_STATUS_VP6_BIT
#define VE_DEC_MPEG_STATUS_VP6_BIT_BUSY
#define VE_DEC_MPEG_STATUS_MAF_BUSY
#define VE_DEC_MPEG_STATUS_VP6_MVP_BUSY
#define VE_DEC_MPEG_STATUS_JPEG_BIT_END
#define VE_DEC_MPEG_STATUS_JPEG_RESTART_ERROR
#define VE_DEC_MPEG_STATUS_JPEG_MARKER
#define VE_DEC_MPEG_STATUS_ROTATE_BUSY
#define VE_DEC_MPEG_STATUS_DEBLOCKING_BUSY
#define VE_DEC_MPEG_STATUS_SCALE_DOWN_BUSY
#define VE_DEC_MPEG_STATUS_IQIS_BUF_EMPTY
#define VE_DEC_MPEG_STATUS_IDCT_BUF_EMPTY
#define VE_DEC_MPEG_STATUS_VE_BUSY
#define VE_DEC_MPEG_STATUS_MC_BUSY
#define VE_DEC_MPEG_STATUS_IDCT_BUSY
#define VE_DEC_MPEG_STATUS_IQIS_BUSY
#define VE_DEC_MPEG_STATUS_DCAC_BUSY
#define VE_DEC_MPEG_STATUS_VLD_BUSY
#define VE_DEC_MPEG_STATUS_ROTATE_SUCCESS
#define VE_DEC_MPEG_STATUS_VLD_DATA_REQ
#define VE_DEC_MPEG_STATUS_ERROR
#define VE_DEC_MPEG_STATUS_SUCCESS
#define VE_DEC_MPEG_STATUS_CHECK_MASK
#define VE_DEC_MPEG_STATUS_CHECK_ERROR

#define VE_DEC_MPEG_VLD_ADDR

#define VE_DEC_MPEG_VLD_ADDR_FIRST_PIC_DATA
#define VE_DEC_MPEG_VLD_ADDR_LAST_PIC_DATA
#define VE_DEC_MPEG_VLD_ADDR_VALID_PIC_DATA
#define VE_DEC_MPEG_VLD_ADDR_BASE(a)

#define VE_DEC_MPEG_VLD_OFFSET
#define VE_DEC_MPEG_VLD_LEN
#define VE_DEC_MPEG_VLD_END_ADDR

#define VE_DEC_MPEG_REC_LUMA
#define VE_DEC_MPEG_REC_CHROMA
#define VE_DEC_MPEG_FWD_REF_LUMA_ADDR
#define VE_DEC_MPEG_FWD_REF_CHROMA_ADDR
#define VE_DEC_MPEG_BWD_REF_LUMA_ADDR
#define VE_DEC_MPEG_BWD_REF_CHROMA_ADDR

#define VE_DEC_MPEG_IQMINPUT

#define VE_DEC_MPEG_IQMINPUT_FLAG_INTRA
#define VE_DEC_MPEG_IQMINPUT_FLAG_NON_INTRA
#define VE_DEC_MPEG_IQMINPUT_WEIGHT(i, v)

#define VE_DEC_MPEG_ERROR
#define VE_DEC_MPEG_CRTMBADDR
#define VE_DEC_MPEG_ROT_LUMA
#define VE_DEC_MPEG_ROT_CHROMA

#define VE_DEC_H265_DEC_NAL_HDR

#define VE_DEC_H265_DEC_NAL_HDR_NUH_TEMPORAL_ID_PLUS1(v)
#define VE_DEC_H265_DEC_NAL_HDR_NAL_UNIT_TYPE(v)

#define VE_DEC_H265_FLAG(reg_flag, ctrl_flag, flags)

#define VE_DEC_H265_DEC_SPS_HDR

#define VE_DEC_H265_DEC_SPS_HDR_FLAG_STRONG_INTRA_SMOOTHING_ENABLE
#define VE_DEC_H265_DEC_SPS_HDR_FLAG_SPS_TEMPORAL_MVP_ENABLED
#define VE_DEC_H265_DEC_SPS_HDR_FLAG_SAMPLE_ADAPTIVE_OFFSET_ENABLED
#define VE_DEC_H265_DEC_SPS_HDR_FLAG_AMP_ENABLED
#define VE_DEC_H265_DEC_SPS_HDR_FLAG_SEPARATE_COLOUR_PLANE

#define VE_DEC_H265_DEC_SPS_HDR_MAX_TRANSFORM_HIERARCHY_DEPTH_INTRA(v)
#define VE_DEC_H265_DEC_SPS_HDR_MAX_TRANSFORM_HIERARCHY_DEPTH_INTER(v)
#define VE_DEC_H265_DEC_SPS_HDR_LOG2_DIFF_MAX_MIN_TRANSFORM_BLOCK_SIZE(v)
#define VE_DEC_H265_DEC_SPS_HDR_LOG2_MIN_TRANSFORM_BLOCK_SIZE_MINUS2(v)
#define VE_DEC_H265_DEC_SPS_HDR_LOG2_DIFF_MAX_MIN_LUMA_CODING_BLOCK_SIZE(v)
#define VE_DEC_H265_DEC_SPS_HDR_LOG2_MIN_LUMA_CODING_BLOCK_SIZE_MINUS3(v)
#define VE_DEC_H265_DEC_SPS_HDR_BIT_DEPTH_CHROMA_MINUS8(v)
#define VE_DEC_H265_DEC_SPS_HDR_BIT_DEPTH_LUMA_MINUS8(v)
#define VE_DEC_H265_DEC_SPS_HDR_CHROMA_FORMAT_IDC(v)

#define VE_DEC_H265_DEC_PIC_SIZE

#define VE_DEC_H265_DEC_PIC_SIZE_WIDTH(w)
#define VE_DEC_H265_DEC_PIC_SIZE_HEIGHT(h)

#define VE_DEC_H265_DEC_PCM_CTRL

#define VE_DEC_H265_DEC_PCM_CTRL_FLAG_PCM_ENABLED
#define VE_DEC_H265_DEC_PCM_CTRL_FLAG_PCM_LOOP_FILTER_DISABLED

#define VE_DEC_H265_DEC_PCM_CTRL_LOG2_DIFF_MAX_MIN_PCM_LUMA_CODING_BLOCK_SIZE(v)
#define VE_DEC_H265_DEC_PCM_CTRL_LOG2_MIN_PCM_LUMA_CODING_BLOCK_SIZE_MINUS3(v)
#define VE_DEC_H265_DEC_PCM_CTRL_PCM_SAMPLE_BIT_DEPTH_CHROMA_MINUS1(v)
#define VE_DEC_H265_DEC_PCM_CTRL_PCM_SAMPLE_BIT_DEPTH_LUMA_MINUS1(v)

#define VE_DEC_H265_DEC_PPS_CTRL0

#define VE_DEC_H265_DEC_PPS_CTRL0_FLAG_CU_QP_DELTA_ENABLED
#define VE_DEC_H265_DEC_PPS_CTRL0_FLAG_TRANSFORM_SKIP_ENABLED
#define VE_DEC_H265_DEC_PPS_CTRL0_FLAG_CONSTRAINED_INTRA_PRED
#define VE_DEC_H265_DEC_PPS_CTRL0_FLAG_SIGN_DATA_HIDING_ENABLED

#define VE_DEC_H265_DEC_PPS_CTRL0_PPS_CR_QP_OFFSET(v)
#define VE_DEC_H265_DEC_PPS_CTRL0_PPS_CB_QP_OFFSET(v)
#define VE_DEC_H265_DEC_PPS_CTRL0_INIT_QP_MINUS26(v)
#define VE_DEC_H265_DEC_PPS_CTRL0_DIFF_CU_QP_DELTA_DEPTH(v)

#define VE_DEC_H265_DEC_PPS_CTRL1

#define VE_DEC_H265_DEC_PPS_CTRL1_FLAG_PPS_LOOP_FILTER_ACROSS_SLICES_ENABLED
#define VE_DEC_H265_DEC_PPS_CTRL1_FLAG_LOOP_FILTER_ACROSS_TILES_ENABLED
#define VE_DEC_H265_DEC_PPS_CTRL1_FLAG_ENTROPY_CODING_SYNC_ENABLED
#define VE_DEC_H265_DEC_PPS_CTRL1_FLAG_TILES_ENABLED
#define VE_DEC_H265_DEC_PPS_CTRL1_FLAG_TRANSQUANT_BYPASS_ENABLED
#define VE_DEC_H265_DEC_PPS_CTRL1_FLAG_WEIGHTED_BIPRED
#define VE_DEC_H265_DEC_PPS_CTRL1_FLAG_WEIGHTED_PRED

#define VE_DEC_H265_DEC_PPS_CTRL1_LOG2_PARALLEL_MERGE_LEVEL_MINUS2(v)

#define VE_DEC_H265_SCALING_LIST_CTRL0

#define VE_DEC_H265_SCALING_LIST_CTRL0_FLAG_ENABLED

#define VE_DEC_H265_SCALING_LIST_CTRL0_SRAM
#define VE_DEC_H265_SCALING_LIST_CTRL0_DEFAULT

#define VE_DEC_H265_DEC_SLICE_HDR_INFO0

#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_FLAG_COLLOCATED_FROM_L0
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_FLAG_CABAC_INIT
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_FLAG_MVD_L1_ZERO
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_FLAG_SLICE_SAO_CHROMA
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_FLAG_SLICE_SAO_LUMA
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_FLAG_SLICE_TEMPORAL_MVP_ENABLE
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_FLAG_DEPENDENT_SLICE_SEGMENT
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_FLAG_FIRST_SLICE_SEGMENT_IN_PIC

#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_PICTURE_TYPE(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_FIVE_MINUS_MAX_NUM_MERGE_CAND(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_NUM_REF_IDX_L1_ACTIVE_MINUS1(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_NUM_REF_IDX_L0_ACTIVE_MINUS1(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_COLLOCATED_REF_IDX(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_COLOUR_PLANE_ID(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO0_SLICE_TYPE(v)

#define VE_DEC_H265_DEC_SLICE_HDR_INFO1

#define VE_DEC_H265_DEC_SLICE_HDR_INFO1_FLAG_SLICE_DEBLOCKING_FILTER_DISABLED
#define VE_DEC_H265_DEC_SLICE_HDR_INFO1_FLAG_SLICE_LOOP_FILTER_ACROSS_SLICES_ENABLED
#define VE_DEC_H265_DEC_SLICE_HDR_INFO1_FLAG_SLICE_NOT_LOW_DELAY

#define VE_DEC_H265_DEC_SLICE_HDR_INFO1_SLICE_TC_OFFSET_DIV2(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO1_SLICE_BETA_OFFSET_DIV2(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO1_SLICE_CR_QP_OFFSET(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO1_SLICE_CB_QP_OFFSET(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO1_SLICE_QP_DELTA(v)

#define VE_DEC_H265_DEC_SLICE_HDR_INFO2

#define VE_DEC_H265_DEC_SLICE_HDR_INFO2_NUM_ENTRY_POINT_OFFSETS(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO2_CHROMA_LOG2_WEIGHT_DENOM(v)
#define VE_DEC_H265_DEC_SLICE_HDR_INFO2_LUMA_LOG2_WEIGHT_DENOM(v)

#define VE_DEC_H265_DEC_CTB_ADDR

#define VE_DEC_H265_DEC_CTB_ADDR_Y(y)
#define VE_DEC_H265_DEC_CTB_ADDR_X(x)

#define VE_DEC_H265_CTRL

#define VE_DEC_H265_CTRL_DDR_CONSISTENCY_EN
#define VE_DEC_H265_CTRL_STCD_EN
#define VE_DEC_H265_CTRL_EPTB_DEC_BYPASS_EN
#define VE_DEC_H265_CTRL_TQ_BYPASS_EN
#define VE_DEC_H265_CTRL_VLD_BYPASS_EN
#define VE_DEC_H265_CTRL_NCRI_CACHE_DISABLE
#define VE_DEC_H265_CTRL_ROTATE_SCALE_OUT_EN
#define VE_DEC_H265_CTRL_MC_NO_WRITEBACK
#define VE_DEC_H265_CTRL_VLD_DATA_REQ_IRQ_EN
#define VE_DEC_H265_CTRL_ERROR_IRQ_EN
#define VE_DEC_H265_CTRL_FINISH_IRQ_EN
#define VE_DEC_H265_CTRL_IRQ_MASK

#define VE_DEC_H265_TRIGGER

#define VE_DEC_H265_TRIGGER_TYPE_N_BITS(x)
#define VE_DEC_H265_TRIGGER_STCD_VC1
#define VE_DEC_H265_TRIGGER_STCD_AVS
#define VE_DEC_H265_TRIGGER_STCD_HEVC
#define VE_DEC_H265_TRIGGER_DEC_SLICE
#define VE_DEC_H265_TRIGGER_INIT_SWDEC
#define VE_DEC_H265_TRIGGER_BYTE_ALIGN
#define VE_DEC_H265_TRIGGER_GET_VLCUE
#define VE_DEC_H265_TRIGGER_GET_VLCSE
#define VE_DEC_H265_TRIGGER_FLUSH_BITS
#define VE_DEC_H265_TRIGGER_GET_BITS
#define VE_DEC_H265_TRIGGER_SHOW_BITS

#define VE_DEC_H265_STATUS

#define VE_DEC_H265_STATUS_STCD
#define VE_DEC_H265_STATUS_STCD_BUSY
#define VE_DEC_H265_STATUS_WB_BUSY
#define VE_DEC_H265_STATUS_BS_DMA_BUSY
#define VE_DEC_H265_STATUS_IT_BUSY
#define VE_DEC_H265_STATUS_INTER_BUSY
#define VE_DEC_H265_STATUS_MORE_DATA
#define VE_DEC_H265_STATUS_DBLK_BUSY
#define VE_DEC_H265_STATUS_IREC_BUSY
#define VE_DEC_H265_STATUS_INTRA_BUSY
#define VE_DEC_H265_STATUS_MCRI_BUSY
#define VE_DEC_H265_STATUS_IQIT_BUSY
#define VE_DEC_H265_STATUS_MVP_BUSY
#define VE_DEC_H265_STATUS_IS_BUSY
#define VE_DEC_H265_STATUS_VLD_BUSY
#define VE_DEC_H265_STATUS_OVER_TIME
#define VE_DEC_H265_STATUS_VLD_DATA_REQ
#define VE_DEC_H265_STATUS_ERROR
#define VE_DEC_H265_STATUS_SUCCESS
#define VE_DEC_H265_STATUS_STCD_TYPE_MASK
#define VE_DEC_H265_STATUS_CHECK_MASK
#define VE_DEC_H265_STATUS_CHECK_ERROR

#define VE_DEC_H265_DEC_CTB_NUM

#define VE_DEC_H265_BITS_ADDR

#define VE_DEC_H265_BITS_ADDR_FIRST_SLICE_DATA
#define VE_DEC_H265_BITS_ADDR_LAST_SLICE_DATA
#define VE_DEC_H265_BITS_ADDR_VALID_SLICE_DATA
#define VE_DEC_H265_BITS_ADDR_BASE(a)

#define VE_DEC_H265_BITS_OFFSET
#define VE_DEC_H265_BITS_LEN

#define VE_DEC_H265_BITS_END_ADDR

#define VE_DEC_H265_BITS_END_ADDR_BASE(a)

#define VE_DEC_H265_SDRT_CTRL
#define VE_DEC_H265_SDRT_LUMA_ADDR
#define VE_DEC_H265_SDRT_CHROMA_ADDR

#define VE_DEC_H265_OUTPUT_FRAME_IDX

#define VE_DEC_H265_NEIGHBOR_INFO_ADDR

#define VE_DEC_H265_NEIGHBOR_INFO_ADDR_BASE(a)

#define VE_DEC_H265_ENTRY_POINT_OFFSET_ADDR
#define VE_DEC_H265_TILE_START_CTB
#define VE_DEC_H265_TILE_END_CTB
#define VE_DEC_H265_SCALING_LIST_DC_COEF0
#define VE_DEC_H265_SCALING_LIST_DC_COEF1

#define VE_DEC_H265_LOW_ADDR

#define VE_DEC_H265_OFFSET_ADDR_FIRST_OUT
#define VE_DEC_H265_OFFSET_ADDR_SECOND_OUT

#define VE_DEC_H265_SECOND_OUT_FMT_8BIT_PLUS_2BIT
#define VE_DEC_H265_SECOND_OUT_FMT_P010
#define VE_DEC_H265_SECOND_OUT_FMT_10BIT_4x4_TILED

#define VE_DEC_H265_10BIT_CONFIGURE_SECOND_OUT_FMT(v)
#define VE_DEC_H265_10BIT_CONFIGURE_SECOND_2BIT_ENABLE
#define VE_DEC_H265_10BIT_CONFIGURE_SECOND_2BIT_STRIDE(v)
#define VE_DEC_H265_10BIT_CONFIGURE_FIRST_2BIT_STRIDE(v)
#define VE_DEC_H265_10BIT_CONFIGURE

#define VE_DEC_H265_LOW_ADDR_PRIMARY_CHROMA(a)
#define VE_DEC_H265_LOW_ADDR_SECONDARY_CHROMA(a)
#define VE_DEC_H265_LOW_ADDR_ENTRY_POINTS_BUF(a)

#define VE_DEC_H265_BITS_READ

#define VE_DEC_H265_SRAM_OFFSET

#define VE_DEC_H265_SRAM_OFFSET_PRED_WEIGHT_LUMA_L0
#define VE_DEC_H265_SRAM_OFFSET_PRED_WEIGHT_CHROMA_L0
#define VE_DEC_H265_SRAM_OFFSET_PRED_WEIGHT_LUMA_L1
#define VE_DEC_H265_SRAM_OFFSET_PRED_WEIGHT_CHROMA_L1
#define VE_DEC_H265_SRAM_OFFSET_FRAME_INFO
#define VE_DEC_H265_SRAM_OFFSET_FRAME_INFO_UNIT
#define VE_DEC_H265_SRAM_OFFSET_SCALING_LISTS
#define VE_DEC_H265_SRAM_OFFSET_REF_PIC_LIST0
#define VE_DEC_H265_SRAM_OFFSET_REF_PIC_LIST1

#define VE_DEC_H265_SRAM_DATA

#define VE_DEC_H265_SRAM_DATA_ADDR_BASE(a)
#define VE_DEC_H265_SRAM_REF_PIC_LIST_LT_REF

#define VE_H264_SPS
#define VE_H264_SPS_MBS_ONLY
#define VE_H264_SPS_MB_ADAPTIVE_FRAME_FIELD
#define VE_H264_SPS_DIRECT_8X8_INFERENCE

#define VE_H264_PPS
#define VE_H264_PPS_ENTROPY_CODING_MODE
#define VE_H264_PPS_WEIGHTED_PRED
#define VE_H264_PPS_CONSTRAINED_INTRA_PRED
#define VE_H264_PPS_TRANSFORM_8X8_MODE

#define VE_H264_SHS
#define VE_H264_SHS_FIRST_SLICE_IN_PIC
#define VE_H264_SHS_FIELD_PIC
#define VE_H264_SHS_BOTTOM_FIELD
#define VE_H264_SHS_DIRECT_SPATIAL_MV_PRED

#define VE_H264_SHS2
#define VE_H264_SHS2_NUM_REF_IDX_ACTIVE_OVRD

#define VE_H264_SHS_WP

#define VE_H264_SHS_QP
#define VE_H264_SHS_QP_SCALING_MATRIX_DEFAULT

#define VE_H264_CTRL
#define VE_H264_CTRL_VP8
#define VE_H264_CTRL_VLD_DATA_REQ_INT
#define VE_H264_CTRL_DECODE_ERR_INT
#define VE_H264_CTRL_SLICE_DECODE_INT

#define VE_H264_CTRL_INT_MASK

#define VE_H264_TRIGGER_TYPE
#define VE_H264_TRIGGER_TYPE_PROBABILITY(x)
#define VE_H264_TRIGGER_TYPE_BIN_LENS(x)
#define VE_H264_TRIGGER_TYPE_N_BITS(x)
#define VE_H264_TRIGGER_TYPE_VP8_GET_BITS
#define VE_H264_TRIGGER_TYPE_VP8_UPDATE_COEF
#define VE_H264_TRIGGER_TYPE_VP8_SLICE_DECODE
#define VE_H264_TRIGGER_TYPE_AVC_SLICE_DECODE
#define VE_H264_TRIGGER_TYPE_INIT_SWDEC
#define VE_H264_TRIGGER_TYPE_FLUSH_BITS

#define VE_H264_STATUS
#define VE_H264_STATUS_VLD_DATA_REQ_INT
#define VE_H264_STATUS_DECODE_ERR_INT
#define VE_H264_STATUS_SLICE_DECODE_INT
#define VE_H264_STATUS_VLD_BUSY
#define VE_H264_STATUS_VP8_UPPROB_BUSY

#define VE_H264_STATUS_INT_MASK

#define VE_H264_CUR_MB_NUM

#define VE_H264_VLD_ADDR
#define VE_H264_VLD_ADDR_FIRST
#define VE_H264_VLD_ADDR_LAST
#define VE_H264_VLD_ADDR_VALID
#define VE_H264_VLD_ADDR_VAL(x)

#define VE_H264_VLD_OFFSET
#define VE_H264_VLD_LEN
#define VE_H264_VLD_END
#define VE_H264_SDROT_CTRL
#define VE_H264_OUTPUT_FRAME_IDX
#define VE_H264_EXTRA_BUFFER1
#define VE_H264_EXTRA_BUFFER2
#define VE_H264_MB_ADDR
#define VE_H264_ERROR_CASE
#define VE_H264_BASIC_BITS
#define VE_AVC_SRAM_PORT_OFFSET
#define VE_AVC_SRAM_PORT_DATA

#define VE_VP8_PPS
#define VE_VP8_PPS_PIC_TYPE_P_FRAME
#define VE_VP8_PPS_LAST_SHARPNESS_LEVEL(v)
#define VE_VP8_PPS_LAST_PIC_TYPE_P_FRAME
#define VE_VP8_PPS_ALTREF_SIGN_BIAS
#define VE_VP8_PPS_GOLDEN_SIGN_BIAS
#define VE_VP8_PPS_RELOAD_ENTROPY_PROBS
#define VE_VP8_PPS_REFRESH_ENTROPY_PROBS
#define VE_VP8_PPS_MB_NO_COEFF_SKIP
#define VE_VP8_PPS_TOKEN_PARTITION(v)
#define VE_VP8_PPS_MODE_REF_LF_DELTA_UPDATE
#define VE_VP8_PPS_MODE_REF_LF_DELTA_ENABLE
#define VE_VP8_PPS_LOOP_FILTER_LEVEL(v)
#define VE_VP8_PPS_LOOP_FILTER_SIMPLE
#define VE_VP8_PPS_SHARPNESS_LEVEL(v)
#define VE_VP8_PPS_LAST_LOOP_FILTER_SIMPLE
#define VE_VP8_PPS_SEGMENTATION_ENABLE
#define VE_VP8_PPS_MB_SEGMENT_ABS_DELTA
#define VE_VP8_PPS_UPDATE_MB_SEGMENTATION_MAP
#define VE_VP8_PPS_FULL_PIXEL
#define VE_VP8_PPS_BILINEAR_MC_FILTER
#define VE_VP8_PPS_FILTER_TYPE_SIMPLE
#define VE_VP8_PPS_LPF_DISABLE

#define VE_VP8_QP_INDEX_DELTA
#define VE_VP8_QP_INDEX_DELTA_UVAC(v)
#define VE_VP8_QP_INDEX_DELTA_UVDC(v)
#define VE_VP8_QP_INDEX_DELTA_Y2AC(v)
#define VE_VP8_QP_INDEX_DELTA_Y2DC(v)
#define VE_VP8_QP_INDEX_DELTA_Y1DC(v)
#define VE_VP8_QP_INDEX_DELTA_BASE_QINDEX(v)

#define VE_VP8_PART_SIZE_OFFSET
#define VE_VP8_ENTROPY_PROBS_ADDR
#define VE_VP8_FIRST_DATA_PART_LEN

#define VE_VP8_FSIZE
#define VE_VP8_FSIZE_WIDTH(w)
#define VE_VP8_FSIZE_HEIGHT(h)

#define VE_VP8_PICSIZE
#define VE_VP8_PICSIZE_WIDTH(w)
#define VE_VP8_PICSIZE_HEIGHT(h)

#define VE_VP8_REC_LUMA
#define VE_VP8_FWD_LUMA
#define VE_VP8_BWD_LUMA
#define VE_VP8_REC_CHROMA
#define VE_VP8_FWD_CHROMA
#define VE_VP8_BWD_CHROMA
#define VE_VP8_ALT_LUMA
#define VE_VP8_ALT_CHROMA

#define VE_VP8_SEGMENT_FEAT_MB_LV0
#define VE_VP8_SEGMENT_FEAT_MB_LV1

#define VE_VP8_SEGMENT3(v)
#define VE_VP8_SEGMENT2(v)
#define VE_VP8_SEGMENT1(v)
#define VE_VP8_SEGMENT0(v)

#define VE_VP8_REF_LF_DELTA
#define VE_VP8_MODE_LF_DELTA

#define VE_VP8_LF_DELTA3(v)
#define VE_VP8_LF_DELTA2(v)
#define VE_VP8_LF_DELTA1(v)
#define VE_VP8_LF_DELTA0(v)

#define VE_ISP_INPUT_SIZE
#define VE_ISP_INPUT_STRIDE
#define VE_ISP_CTRL
#define VE_ISP_INPUT_LUMA
#define VE_ISP_INPUT_CHROMA

#define VE_AVC_PARAM
#define VE_AVC_QP
#define VE_AVC_MOTION_EST
#define VE_AVC_CTRL
#define VE_AVC_TRIGGER
#define VE_AVC_STATUS
#define VE_AVC_BASIC_BITS
#define VE_AVC_UNK_BUF
#define VE_AVC_VLE_ADDR
#define VE_AVC_VLE_END
#define VE_AVC_VLE_OFFSET
#define VE_AVC_VLE_MAX
#define VE_AVC_VLE_LENGTH
#define VE_AVC_REF_LUMA
#define VE_AVC_REF_CHROMA
#define VE_AVC_REC_LUMA
#define VE_AVC_REC_CHROMA
#define VE_AVC_REF_SLUMA
#define VE_AVC_REC_SLUMA
#define VE_AVC_MB_INFO

#endif