hi_venc_stream

Description

Defines the information of a stream.

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

Structure of stream packets.

pack_cnt

Total number of packets in a frame.

seq

Stream 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.

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

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

For the Atlas inference products, this parameter is not supported.

jpeg_info/prores_info

Stream features. Reserved.

h264_adv_info/

h265_adv_info

Advanced features of a stream.

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

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

For the Atlas inference products, this parameter is not supported.