DvppJpegDecode
Function Usage
JPEG decoding function of DVPP. Before calling this API, call Init to initialize this function.
Prototype
1 | APP_ERROR DvppWrapper::DvppJpegDecode(DvppDataInfo& inputDataInfo, DvppDataInfo& outputDataInfo); |
1 | APP_ERROR DvppWrapper::DvppJpegDecode(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