DestroyExtraBuffers
Function Usage
Deletes the redundant buffers that are not sent by the multi-input port plugin.
Prototype
1 | void MxPluginBase::DestroyExtraBuffers(std::vector<MxTools::MxpiBuffer *> &mxpiBuffer, size_t exceptPort); |
Parameters
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