hi_venc_stream

Description

Defines the frame stream type.

Prototype

typedef struct {
    hi_venc_pack ATTRIBUTE* pack; 
    hi_u32      ATTRIBUTE pack_cnt; 
    hi_u32      seq; 

    union {
        hi_venc_h264_stream_info h264_info; 
        hi_venc_jpeg_stream_info jpeg_info; 
        hi_venc_h265_stream_info h265_info; 
        hi_venc_prores_stream_info prores_info; 
    };

    union {
        hi_venc_h264_adv_stream_info h264_adv_info; 
        hi_venc_h265_adv_stream_info h265_adv_info; 
    };
} hi_venc_stream;

Members

Member

Description

pack

Packet structure.

pack_cnt

Total number of packets in a frame.

seq

Sequence number.

When the streams are obtained by frame, it represents the frame sequence number. When the streams are obtained by packet, it represents the packet sequence number.

h264_info/h265_info

Stream feature information.

jpeg_info/prores_info

Stream features. Reserved.

h264_adv_info/

h265_adv_info

Advanced features of a stream.