hi_isp_af_crop
Description
Crops the input image of the AF module.
Definition
typedef struct {
hi_bool enable;
hi_u16 x;
hi_u16 y;
hi_u16 w;
hi_u16 h;
} hi_isp_af_crop;
Members
Member |
Description |
|---|---|
enable |
Cropping enable. Value range: [0, 1]. |
x |
Starting X-coordinate for cropping. Value range: [0, ImageWidth - 256]. |
y |
Starting Y-coordinate for cropping. Value range: [0, ImageHeight - 120]. |
w |
Cropping width, 8-pixel aligned. Value range: [256, ImageWidth]. |
h |
Cropping height, 2-pixel aligned. Value range: [120, ImageHeight]. |
Restrictions
- The sum of the horizontal start position and cropping width must be less than the image width, and the sum of the vertical start position and cropping height must be less than the image height.
- For the AF statistics of the BE, the AF cropping (input image cropping) function is not supported for the ISP BE blocks.
Parent topic: Data Types