DestroyExtraBuffers
Function Usage
Deletes the redundant buffers that are not sent by the multi-input port plugin.
Prototype
void DestroyExtraBuffers(std::vector<MxTools::MxpiBuffer *> &mxpiBuffer, size_t exceptPort);
Parameter Description
Parameter |
Description |
|---|---|
mxpiBuffer |
Data transferred by the previous plugin The member data under this data structure is input by the upstream plugin. Do not manually set the memory data. |
exceptPort |
Index of the port whose buffers will not be destroyed |
Parent topic: MxPluginBase