hi_isp_awb_crop

Description

Crops the input image of the AWB module.

Definition

typedef struct {
    hi_bool enable; 
    hi_u16  x; 
    hi_u16  y; 
    hi_u16  w; 
    hi_u16  h;
} hi_isp_awb_crop;

Members

Member

Description

enable

Cropping enable. 0: disabled; 1: enabled.

x

Starting X-coordinate for cropping. Value range: [0, Image width – 60 x zone_col]

y

Starting Y-coordinate for cropping. Value range: [0, Image height – 14 x zone_row]

w

Cropping width. Value range: [60 x zone_col, image width].

h

Cropping height. Value range: [14 x zone_row, image height]

Restrictions

  • The AWB requires that the minimum resolution of each block be 60 x 14. When the resolution of the cropped image is small and the number of blocks is large, if the resolution of each block is less than 60 x 14, you need to reduce the number of blocks to prevent them from being too small.
  • 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.
  • The AWB cropping (input image cropping) function is not supported for the ISP BE blocks.