GenerateDynamicOutputPortsInfo

Function Usage

Generates the information about the dynamic port that is used as the output port.

Prototype

static void GenerateDynamicOutputPortsInfo(const std::vector<std::vector<std::string>>& portsDesc, MxpiPortInfo& inputPortInfo);

Parameter Description

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.

inputPortInfo

Output parameter, which contains the output port information.