linux/drivers/media/platform/verisilicon/hantro_h1_regs.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Hantro VPU codec driver
 *
 * Copyright 2018 Google LLC.
 *	Tomasz Figa <[email protected]>
 */

#ifndef HANTRO_H1_REGS_H_
#define HANTRO_H1_REGS_H_

/* Encoder registers. */
#define H1_REG_INTERRUPT
#define H1_REG_INTERRUPT_FRAME_RDY
#define H1_REG_INTERRUPT_DIS_BIT
#define H1_REG_INTERRUPT_BIT
#define H1_REG_AXI_CTRL
#define H1_REG_AXI_CTRL_OUTPUT_SWAP16
#define H1_REG_AXI_CTRL_INPUT_SWAP16
#define H1_REG_AXI_CTRL_BURST_LEN(x)
#define H1_REG_AXI_CTRL_GATE_BIT
#define H1_REG_AXI_CTRL_OUTPUT_SWAP32
#define H1_REG_AXI_CTRL_INPUT_SWAP32
#define H1_REG_AXI_CTRL_OUTPUT_SWAP8
#define H1_REG_AXI_CTRL_INPUT_SWAP8
#define H1_REG_ADDR_OUTPUT_STREAM
#define H1_REG_ADDR_OUTPUT_CTRL
#define H1_REG_ADDR_REF_LUMA
#define H1_REG_ADDR_REF_CHROMA
#define H1_REG_ADDR_REC_LUMA
#define H1_REG_ADDR_REC_CHROMA
#define H1_REG_ADDR_IN_PLANE_0
#define H1_REG_ADDR_IN_PLANE_1
#define H1_REG_ADDR_IN_PLANE_2
#define H1_REG_ENC_CTRL
#define H1_REG_ENC_CTRL_TIMEOUT_EN
#define H1_REG_ENC_CTRL_NAL_MODE_BIT
#define H1_REG_ENC_CTRL_WIDTH(w)
#define H1_REG_ENC_CTRL_HEIGHT(h)
#define H1_REG_ENC_PIC_INTER
#define H1_REG_ENC_PIC_INTRA
#define H1_REG_ENC_PIC_MVCINTER
#define H1_REG_ENC_CTRL_ENC_MODE_H264
#define H1_REG_ENC_CTRL_ENC_MODE_JPEG
#define H1_REG_ENC_CTRL_ENC_MODE_VP8
#define H1_REG_ENC_CTRL_EN_BIT
#define H1_REG_IN_IMG_CTRL
#define H1_REG_IN_IMG_CTRL_ROW_LEN(x)
#define H1_REG_IN_IMG_CTRL_OVRFLR_D4(x)
#define H1_REG_IN_IMG_CTRL_OVRFLB(x)
#define H1_REG_IN_IMG_CTRL_FMT(x)
#define H1_REG_ENC_CTRL0
#define H1_REG_ENC_CTRL0_INIT_QP(x)
#define H1_REG_ENC_CTRL0_SLICE_ALPHA(x)
#define H1_REG_ENC_CTRL0_SLICE_BETA(x)
#define H1_REG_ENC_CTRL0_CHROMA_QP_OFFSET(x)
#define H1_REG_ENC_CTRL0_FILTER_DIS(x)
#define H1_REG_ENC_CTRL0_IDR_PICID(x)
#define H1_REG_ENC_CTRL0_CONSTR_INTRA_PRED
#define H1_REG_ENC_CTRL1
#define H1_REG_ENC_CTRL1_PPS_ID(x)
#define H1_REG_ENC_CTRL1_INTRA_PRED_MODE(x)
#define H1_REG_ENC_CTRL1_FRAME_NUM(x)
#define H1_REG_ENC_CTRL2
#define H1_REG_ENC_CTRL2_DEBLOCKING_FILTER_MODE(x)
#define H1_REG_ENC_CTRL2_H264_SLICE_SIZE(x)
#define H1_REG_ENC_CTRL2_DISABLE_QUARTER_PIXMV
#define H1_REG_ENC_CTRL2_TRANS8X8_MODE_EN
#define H1_REG_ENC_CTRL2_CABAC_INIT_IDC(x)
#define H1_REG_ENC_CTRL2_ENTROPY_CODING_MODE
#define H1_REG_ENC_CTRL2_H264_INTER4X4_MODE
#define H1_REG_ENC_CTRL2_H264_STREAM_MODE
#define H1_REG_ENC_CTRL2_INTRA16X16_MODE(x)
#define H1_REG_ENC_CTRL3
#define H1_REG_ENC_CTRL3_MUTIMV_EN
#define H1_REG_ENC_CTRL3_MV_PENALTY_1_4P(x)
#define H1_REG_ENC_CTRL3_MV_PENALTY_4P(x)
#define H1_REG_ENC_CTRL3_MV_PENALTY_1P(x)
#define H1_REG_ENC_CTRL4
#define H1_REG_ENC_CTRL4_MV_PENALTY_16X8_8X16(x)
#define H1_REG_ENC_CTRL4_MV_PENALTY_8X8(x)
#define H1_REG_ENC_CTRL4_8X4_4X8(x)
#define H1_REG_ENC_CTRL5
#define H1_REG_ENC_CTRL5_MACROBLOCK_PENALTY(x)
#define H1_REG_ENC_CTRL5_COMPLETE_SLICES(x)
#define H1_REG_ENC_CTRL5_INTER_MODE(x)
#define H1_REG_STR_HDR_REM_MSB
#define H1_REG_STR_HDR_REM_LSB
#define H1_REG_STR_BUF_LIMIT
#define H1_REG_MAD_CTRL
#define H1_REG_MAD_CTRL_QP_ADJUST(x)
#define H1_REG_MAD_CTRL_MAD_THRESHOLD(x)
#define H1_REG_MAD_CTRL_QP_SUM_DIV2(x)
#define H1_REG_ADDR_VP8_PROB_CNT
#define H1_REG_QP_VAL
#define H1_REG_QP_VAL_LUM(x)
#define H1_REG_QP_VAL_MAX(x)
#define H1_REG_QP_VAL_MIN(x)
#define H1_REG_QP_VAL_CHECKPOINT_DISTAN(x)
#define H1_REG_VP8_QP_VAL(i)
#define H1_REG_CHECKPOINT(i)
#define H1_REG_CHECKPOINT_CHECK0(x)
#define H1_REG_CHECKPOINT_CHECK1(x)
#define H1_REG_CHECKPOINT_RESULT(x)
#define H1_REG_CHKPT_WORD_ERR(i)
#define H1_REG_CHKPT_WORD_ERR_CHK0(x)
#define H1_REG_CHKPT_WORD_ERR_CHK1(x)
#define H1_REG_VP8_BOOL_ENC
#define H1_REG_CHKPT_DELTA_QP
#define H1_REG_CHKPT_DELTA_QP_CHK0(x)
#define H1_REG_CHKPT_DELTA_QP_CHK1(x)
#define H1_REG_CHKPT_DELTA_QP_CHK2(x)
#define H1_REG_CHKPT_DELTA_QP_CHK3(x)
#define H1_REG_CHKPT_DELTA_QP_CHK4(x)
#define H1_REG_CHKPT_DELTA_QP_CHK5(x)
#define H1_REG_CHKPT_DELTA_QP_CHK6(x)
#define H1_REG_VP8_CTRL0
#define H1_REG_RLC_CTRL
#define H1_REG_RLC_CTRL_STR_OFFS_SHIFT
#define H1_REG_RLC_CTRL_STR_OFFS_MASK
#define H1_REG_RLC_CTRL_RLC_SUM(x)
#define H1_REG_MB_CTRL
#define H1_REG_MB_CNT_OUT(x)
#define H1_REG_MB_CNT_SET(x)
#define H1_REG_ADDR_NEXT_PIC
#define H1_REG_JPEG_LUMA_QUAT(i)
#define H1_REG_JPEG_CHROMA_QUAT(i)
#define H1_REG_STABILIZATION_OUTPUT
#define H1_REG_ADDR_CABAC_TBL
#define H1_REG_ADDR_MV_OUT
#define H1_REG_RGB_YUV_COEFF(i)
#define H1_REG_RGB_MASK_MSB
#define H1_REG_INTRA_AREA_CTRL
#define H1_REG_CIR_INTRA_CTRL
#define H1_REG_INTRA_SLICE_BITMAP(i)
#define H1_REG_ADDR_VP8_DCT_PART(i)
#define H1_REG_FIRST_ROI_AREA
#define H1_REG_SECOND_ROI_AREA
#define H1_REG_MVC_CTRL
#define H1_REG_MVC_CTRL_MV16X16_FAVOR(x)
#define H1_REG_VP8_INTRA_PENALTY(i)
#define H1_REG_ADDR_VP8_SEG_MAP
#define H1_REG_VP8_SEG_QP(i)
#define H1_REG_DMV_4P_1P_PENALTY(i)
#define H1_REG_DMV_4P_1P_PENALTY_BIT(x, i)
#define H1_REG_DMV_QPEL_PENALTY(i)
#define H1_REG_DMV_QPEL_PENALTY_BIT(x, i)
#define H1_REG_VP8_CTRL1
#define H1_REG_VP8_BIT_COST_GOLDEN
#define H1_REG_VP8_LOOP_FLT_DELTA(i)

#endif /* HANTRO_H1_REGS_H_ */