hi_venc_gop_attr

Description

Defines the GOP attributes of the VENC encoder.

Prototype

typedef struct {
    hi_venc_gop_mode gop_mode; 
    union {
        hi_venc_gop_normal_p normal_p; 
        hi_venc_gop_dual_p dual_p; 
        hi_venc_gop_smart_p smart_p; 
        hi_venc_gop_adv_smart_p adv_smart_p; 
        hi_venc_gop_bipred_b bipred_b; 
    };
} hi_venc_gop_attr;

Members

Member

Description

gop_mode

Encoding GOP type.

normal_p

GOP attributes struct for P-frame encoding with one reference frame.

dual_p

Structure of the GOP attributes for encoding two reference P-frames.

Atlas 350 Accelerator Card does not support this parameter.

For the Atlas A3 training product/Atlas A3 inference product, this parameter is not supported.

For the Atlas A2 training product/Atlas A2 inference product, this parameter is not supported.

Atlas inference product: This parameter is reserved and is not supported currently.

smart_p

Structure of the GOP attributes for encoding the smart P-frame.

Atlas 350 Accelerator Card does not support this parameter.

For the Atlas A3 training product/Atlas A3 inference product, this parameter is not supported.

For the Atlas A2 training product/Atlas A2 inference product, this parameter is not supported.

Atlas inference product: This parameter is reserved and is not supported currently.

adv_smart_p

Structure of the GOP attributes for advanced smart P-frame encoding. Reserved.

bipred_b

GOP attributes struct for B-frame encoding. Reserved.