MxstBufferInput

Description

Defines the structure of data received by the stream.

Structure Definition

1
2
3
4
5
6
7
 struct MxstBufferInput {
    MxTools::MxpiFrameInfo mxpiFrameInfo;
    MxTools::MxpiVisionInfo mxpiVisionInfo;
    int dataSize = 0;
    uint32_t *dataPtr = nullptr;
    void *reservedPtr = nullptr;
};

Parameters

Parameter

Input/Output

Description

mxpiFrameInfo

Input

Input frame data

mxpiVisionInfo

Input

Input image data

dataSize

Input

Image data size. The size must be the same as the actual size. Otherwise, a core dump may occur.

dataPtr

Input

Pointer to the image data

reservedPtr

Input

Reserved pointer