hi_venc_h264_stream_info

Description

Defines the features of an H.264 stream.

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.

inter8x8_mb_num

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

intra16_mb_num

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

intra8_mb_num

Number of macroblocks to be encoded in intra8 prediction mode in the current frame.

intra4_mb_num

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

ref_type

Type of the frame in advanced frame skipping reference mode.

update_attr_cnt

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

start_qp

Start QP of the current frame.

mean_qp

Mean QP of the current frame.

is_p_skip

P-Skip frame flag.