SendDataToAllPorts

Function Usage

This is a data transmission method that transmits data to all output ports. (Do not use this API.)

Prototype

SDK_AVAILABLE_FOR_IN APP_ERROR SendDataToAllPorts (MxpiBuffer& mxpiBuffer);

Parameter Description

Parameter

Input/Output

Description

mxpiBuffer

Input

Data to be transmitted

The member data (for example, GstBuffer) under this data structure must be properly configured. Do not manually configure the memory data.

Return Parameter Description

Data Structure

Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.