hi_venc_gop_dual_p

Function

Defines the structure of the GOP attribute for encoding the P frame that requires two reference frames.

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 sp_interval;
    hi_s32 sp_qp_delta;
    hi_s32 ip_qp_delta;
}hi_venc_gop_dual_p;

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

Members

Member

Description

sp_interval

Interval of the special P frames.

Value range: [0, 1) U (1, gop-1] (gop indicates the interval of the I frames.)

sp_qp_delta

QP delta of the special P-frames relative to the common P-frames.

Value range: [–10, +30]

ip_qp_delta

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

Value range: [-10, +30]