hi_user_rc_info

Description

Defines the data structure for user bit rate control information.

Prototype

hi_user_rc_info = {"qp_map_valid":qp_map_valid,
                   "skip_weight_valid":skip_weight_valid,
                   "blk_start_qp":blk_start_qp,
                   "qp_map_phy_addr":qp_map_phy_addr,
                   "skip_weight_phy_addr":skip_weight_phy_addr,
                   "frame_type":hi_venc_frame_type}

Members

Member

Description

qp_map_valid

Whether the QpMap table takes effect in QpMap mode.

HI_FALSE = 0
HI_TRUE = 1

skip_weight_valid

Whether the SkipWeight table takes effect in QpMap mode. This parameter is reserved and not supported currently.

HI_FALSE = 0
HI_TRUE = 1

blk_start_qp

QP value of the first 16 x 16 block in QpMap mode.

Value range: [0, 51].

qp_map_phy_addr

Virtual address of the QpMap table in QpMap mode.

skip_weight_phy_addr

Virtual address of the SkipWeight table in QpMap mode. This parameter is reserved and not supported currently.

frame_type

Encoding type of the current frame. This parameter is reserved and not supported currently.