hi_venc_h265_cbr_param

Description

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

Prototype

typedef struct {
    hi_u32 max_i_proportion;
    hi_u32 min_i_proportion;
    hi_u32 max_qp;
    hi_u32 min_qp;
    hi_u32 max_i_qp;
    hi_u32 min_i_qp;
    hi_s32 max_reencode_times;
    hi_bool qpmap_en;
    hi_venc_rc_qpmap_mode qpmap_mode;
}hi_venc_h265_cbr_param;

Members

Member

Description

min_i_proportion

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

Maximum frame-level QP for controlling the encoding quality.

Value range: [0, 51]

Default value: 51

min_qp

Minimum frame-level QP for stabilizing bit rate fluctuation.

Value range: [0, max_qp]

Default value: 10

max_i_qp

Maximum QP of I-frames. Used to limit the minimum number of bits allocated to I-frames.

Value range: [0, 51]

Default value: 51

min_i_qp

Minimum QP of I-frames. Used to limit the maximum number of bits allocated to I-frames.

Value range: [0, max_i_qp]

Default value: 10

max_reencode_times

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

Reserved.

qpmap_mode

Reserved.