AddData

Function Usage

Mounts the metadata to the buffer. This API is for internal use only.

Prototype

1
static APP_ERROR MxpiBufferManager::AddData(const InputParam& inputParam, void* buffer);

Parameters

Parameter

Description

inputParam

Data structure defined by the Buffer API. For details, see InputParam. The value range of inputParam.dataSize is [1, 4294967296].

buffer

Data structure of the void* type

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.