MxstBufferInput

Function Usage

Defines the data structure received by the stream.

Prototype

 struct MxstBufferInput {
    MxTools::MxpiFrameInfo mxpiFrameInfo;
    MxTools::MxpiVisionInfo mxpiVisionInfo;
    int dataSize = 0;
    uint32_t *dataPtr = nullptr;
    void *reservedPtr = nullptr;
};

Parameter Description

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