DvppJpegConvertColor
Function Usage
BGR CSC on JPEG images through DVPP on Atlas inference product. Before calling this API, call Init to initialize this function.
- Supported input data formats: YUV_SP_420, YVU_SP_420, RGB_888, and BGR_888.
- The original input data range is [32 x 6, 4096 x 4096].
- The output width of the input data is a multiple of 16, and its output height is a multiple of 2. So the width and height range is [32 x 6, 4096 x 4096].
- The width and height of the output data must be the same as those of the input data.
- Ensure that the formats before and after the conversion are different.
Prototype
1 | APP_ERROR DvppWrapper::DvppJpegConvertColor(DvppDataInfo& inputDataInfo, DvppDataInfo& outputDataInfo); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
inputDataInfo |
Input |
Decoded data. |
outputDataInfo |
Output |
Output data after decoding. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: DvppWrapper