hi_isp_focus_grid_info

Description

Defines the coordinates of AF zoned statistics.

Definition

typedef struct { 
    hi_u16 grid_y_pos[HI_ISP_AF_ZONE_ROW + 1];
    hi_u16 grid_x_pos[HI_ISP_AF_ZONE_COLUMN + 1];
    hi_u8  status;
} hi_isp_focus_grid_info;

Members

Member

Description

grid_y_pos

Y-coordinate of each AF zone

grid_x_pos

X-coordinate of each AF zone

status

AF statistics coordinate update status

0: not update

1: update

Restrictions

  • In the non-block division scenario, the AF zoned statistics are the statistics of zone_col × zone_row even zones.
  • In the BE block division scenario, the AF zoned statistics are uneven in size. If the AF statistics are displayed in even zones, the image will not align with the statistics. To resolve this, the start coordinates of each zone are provided.