Sets the aligned width/height of the image.
1 2 3 4 5 6 7 | YUV_400 = 0, RGB_888 = 12, BGR_888 = 13, ARGB_8888 = 14, ABGR_8888 = 15, RGBA_8888 = 16, BGRA_8888 = 17, |
1 | APP_ERROR Image::SetImageAlignedSize(const Size whSize); |
Parameter |
Input/Output |
Description |
|---|---|---|
whSize |
Input |
Aligned width/height of the image, in pixels. The aligned width/height range is [16, 8192], which must be greater than or equal to the valid width/height. The width is a multiple of 16, and the height is a multiple of 2. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |