hi_venc_gop_dual_p

Description

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

Prototype

typedef struct {
    hi_u32 sp_interval;
    hi_s32 sp_qp_delta;
    hi_s32 ip_qp_delta;
}hi_venc_gop_dual_p;

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]