GetPictureDec
Function Usage
Function used to obtain the width, height, and number of color channels of an input image.
Prototype
1 | APP_ERROR DvppWrapper::GetPictureDec(DvppImageInfo& imageInfo, DvppImageOutput& imageOutput); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
imageInfo |
Input |
Format of the input image, address of the memory for storing JPEG image data, and memory size (in bytes). Memory address for storing JPEG image data must be located on the host instead of DVPP. |
imageOutput |
Output |
Image width, height, and number of color channels. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: DvppWrapper