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.

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 does not support this parameter.

jpeg_info/prores_info

Stream features. Reserved.

h264_adv_info/

h265_adv_info

Advanced features of a stream.

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 does not support this parameter.