hi_venc_gop_smart_p

Function

Defines the GOP attributes for smart P-frame encoding.

For Ascend 950PR&950DT products, this structure is not supported.

For Atlas A3 products, this structure is not supported.

For Atlas A2 products, this structure is not supported.

For Atlas inference products, this structure is reserved.

Definition

typedef struct {
    hi_u32 bg_interval;
    hi_s32 bg_qp_delta;
    hi_s32 vi_qp_delta;
}hi_venc_gop_smart_p;

For details about basic data types hi_u32 and hi_s32, see Basic Data Types.

Members

Member

Description

bg_interval

Interval of long-term reference frames.

Value range: [gop, 65536]. The value must be an integer multiple of gop. gop indicates the interval of the I frames.

bg_qp_delta

QP delta of long-term reference frames relative to P-frames.

Value range: [-10, +30]

In the debugging information, this parameter is equivalent to ip_qp_delta in other bit rate control modes.

vi_qp_delta

QP delta of virtual I-frames relative to common P-frames.

Value range: [-10, +30]