GenerateDynamicOutputPortsInfo
Function Usage
Generates the information about the dynamic port that is used as an output port.
Prototype
1 | static void MxPluginBase::GenerateDynamicOutputPortsInfo(const std::vector<std::vector<std::string>>& portsDesc, MxpiPortInfo& outputPortInfo); |
Parameters
Parameter |
Description |
|---|---|
portsDesc |
Port description. Only one type of dynamic port can be registered. For example, {{"image/jpeg"}} indicates that only ports of the JPEG format can be registered. |
outputPortInfo |
Output parameter, which contains the output port information. |
Parent topic: MxPluginBase