hi_venc_gop_mode

Function

Defines the H.264/H.265 GOP types.

Definition

typedef enum {
    HI_VENC_GOP_MODE_NORMAL_P    = 0,
    HI_VENC_GOP_MODE_DUAL_P      = 1,
    HI_VENC_GOP_MODE_SMART_P     = 2,
    HI_VENC_GOP_MODE_ADV_SMART_P  = 3,
    HI_VENC_GOP_MODE_BIPRED_B    = 4,
    HI_VENC_GOP_MODE_LOW_DELAY_B  = 5,

    HI_VENC_GOP_MODE_BUTT,
} hi_venc_gop_mode;

Members

Member

Description

HI_VENC_GOP_MODE_NORMAL_P

GOP type for P-frame encoding with a single reference frame.

HI_VENC_GOP_MODE_DUAL_P

GOP type for P-frame encoding with dual reference frames.

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

For Atlas A3 products, this parameter is not supported.

For Atlas A2 products, this parameter is not supported.

For Atlas inference products, this parameter is reserved and is not supported currently.

HI_VENC_GOP_MODE_SMART_P

GOP mode for encoding a smart P-frame.

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

For Atlas A3 products, this parameter is not supported.

For Atlas A2 products, this parameter is not supported.

For Atlas inference products, this parameter is reserved and is not supported currently.

HI_VENC_GOP_MODE_ADV_SMART_P

(Reserved) GOP mode for encoding an advanced smart P-frame.

HI_VENC_GOP_MODE_BIPRED_B

(Reserved) GOP mode for encoding a B-frame.

HI_VENC_GOP_MODE_LOW_DELAY_B

(Reserved) GOP mode for encoding a B-frame that requires only the forward reference frame.

HI_VENC_GOP_MODE_BUTT

Reserved.