aclmdlSetAIPPSrcImageSize
Description
Sets the size of the source image in the dynamic AIPP scenario.
Prototype
aclError aclmdlSetAIPPSrcImageSize(aclmdlAIPP *aippParmsSet, int32_t srcImageSizeW, int32_t srcImageSizeH)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
aippParmsSet |
Output |
Pointer to the dynamic AIPP parameter object. Call aclmdlCreateAIPP in advance to create data of the aclmdlAIPP type. |
srcImageSizeW |
Input |
Source image width. For the YUV420SP_U8, YUV422SP_U8, or YUYV_U8 format, the value must be an even number. Value range: [2, 4096] |
srcImageSizeH |
Input |
Source image height. For the YUV420SP_U8 format, the value must be an even number. Value range: [1, 4096] |
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: aclmdlAIPP