hi_venc_h264_stream_info

Description

Defines the features of an H.264 stream.

For the Atlas A3 training products/Atlas A3 inference products, this structure is not supported.

For the Atlas A2 training products/Atlas A2 inference products, this structure is not supported.

For the Atlas inference products, this structure is reserved.

Prototype

typedef struct {
    hi_u32 pic_bytes;
    hi_u32 inter16x16_mb_num;
    hi_u32 inter8x8_mb_num;
    hi_u32 intra16_mb_num;
    hi_u32 intra8_mb_num;
    hi_u32 intra4_mb_num;
    hi_venc_ref_type ref_type;
    hi_u32 update_attr_cnt;
    hi_u32 start_qp;
    hi_u32 mean_qp;
    hi_bool is_p_skip;
} hi_venc_h264_stream_info;

Members

Member

Description

pic_bytes

Number of bytes in the current frame.

inter16x16_mb_num

Number of macroblocks in inter16x16 prediction mode in the current frame.

For the Atlas 200I/500 A2 inference products, this parameter is not supported currently.

inter8x8_mb_num

Number of macroblocks in inter8x8 prediction mode in the current frame.

For the Atlas 200I/500 A2 inference products, this parameter is not supported currently.

intra16_mb_num

Number of macroblocks in intra16 prediction mode in the current frame.

For the Atlas 200I/500 A2 inference products, this parameter is not supported currently.

intra8_mb_num

Number of macroblocks in intra8 prediction mode in the current frame.

For the Atlas 200I/500 A2 inference products, this parameter is not supported currently.

intra4_mb_num

Number of macroblocks in intra4 prediction mode in the current frame.

For the Atlas 200I/500 A2 inference products, this parameter is not supported currently.

ref_type

Type of the frame in advanced frame skipping reference mode.

For the Atlas 200I/500 A2 inference products, this parameter is not supported currently.

update_attr_cnt

Number of times that channel attributes or parameters (including RC parameters) are updated.

For the Atlas 200I/500 A2 inference products, this parameter is not supported currently.

start_qp

Start QP of the current frame.

mean_qp

Mean QP of the current frame.

is_p_skip

P-Skip frame flag.

For the Atlas 200I/500 A2 inference products, this parameter is not supported currently.