hi_isp_ae_crop

Description

Crops the input image of the AE module.

Definition

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

Members

Member

Description

enable

Cropping enable. 0: disabled; 1: enabled.

x

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

y

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

w

Cropping width. Value range: [256, image width]

h

Cropping height. Value range: [120, image height]

Restrictions

  • When the width of the cropped image is less than 600 pixels or the height is less than 200 pixels, only the global histogram is available for AE statistics.
  • 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 AE statistics of the BE, the AE cropping (input image cropping) function is not supported for the ISP BE blocks.
  • The AE cropping parameter takes effect on the MG module synchronously.