hi_venc_h265_cbr_param

Description

Defines the advanced CBR parameters of an H.265 encoding channel.

Prototype

hi_venc_h265_qvbr_param = {"max_i_proportion": max_i_proportion,
                           "min_i_proportion": min_i_proportion,
                           "max_qp": max_qp,
                           "min_qp": min_qp,
                           "max_i_qp": max_i_qp,
                           "min_i_qp": min_i_qp,
                           "max_reencode_times": max_reencode_times,
                           "qpmap_en": qpmap_en,
                           "qpmap_mode": hi_venc_rc_qpmap_mode}

Members

Member

Description

min_i_proportion

Int, reserved.

max_i_proportion

Maximum ratio of bits allocated to I-frames and P-frames.

Value range: [1, 100]

The default value is 100.

max_qp

Int, maximum QP value of a frame. Used to control the quality.

Value range: [0, 51]

Default value: 51

min_qp

Int, minimum QP value of a frame. Used to control the bit rate fluctuation.

Value range: [0, max_qp]

Default value: 10

max_i_qp

Int, maximum QP value of an I-frame. Used to limit the minimum number of bits allocated to I-frames.

Value range: [0, 51]

Default value: 51

min_i_qp

Int, minimum QP value of an I-frame. Used to limit the maximum number of bits allocated to I-frames.

Value range: [0, max_i_qp]

Default value: 10

max_reencode_times

Int, number of times that each frame is re-encoded. If set to 0, disables re-encoding.

Value range: [0, 3]

Default value: 2

qpmap_en

Int, reserved.

qpmap_en

Int, reserved.