DvppPngDecode
Function Usage
PNG decoding function of DVPP. Before calling this API, call Init to initialize this function.
For details about the constraints on the input parameters of the function, see Decode.
Prototype
1 | APP_ERROR DvppWrapper::DvppPngDecode(DvppDataInfo& inputDataInfo, DvppDataInfo& outputDataInfo); |
1 | APP_ERROR DvppWrapper::DvppPngDecode(const std::string& inputPicPath, DvppDataInfo& outputDataInfo); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
inputDataInfo |
Input |
Decoded data. |
inputPicPath |
Input |
Path of the image to be decoded. |
outputDataInfo |
Output |
Output data after decoding. The value range of outputDataInfo.dataSize is [1, 4294967296]. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: DvppWrapper