MxVisionData
Description
Defines the visual data information transferred between plugins in a stream.
Structure Definition
1 2 3 4 5 6 7 8 9 | struct MxVisionData { uint64_t dataPtr; int32_t dataSize; uint32_t deviceId; MxBase::MemoryData::MemoryType memType; uint32_t freeFunc; std::string dataStr; MxDataType dataType; } |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
dataPtr |
Input |
Video/Image data content. dataPtr must be converted to the uint64 type by the video/image data content pointer and cannot be directly constructed. |
dataSize |
Input |
Data size, in bytes. |
deviceId |
Input |
ID of the device where the data is located. |
memType |
Input |
Memory type of the data. For details, see MemoryData. |
freeFunc |
Input |
Data release function. freeFunc needs to be converted into the uint32 type by the corresponding release function pointer of the data and cannot be directly constructed. |
dataStr |
Input |
Visual data. |
dataType |
Input |
Data type. |
Parent topic: Process Orchestration Data Structures