hi_isp_mi_attr

Description

Defines the manual iris (MI) attribute.

Definition

typedef struct {     
    hi_u32  hold_value;      
    hi_isp_iris_f_no  iris_fno;
} hi_isp_mi_attr;

Members

Member

Description

hold_value

AI correction value, for debugging the DC-Iris

Value range: [0x0, 0x3E8]

iris_fno

Manual iris size, which is distinguished based on the iris f-number. Only the P-Iris is supported.

Restrictions

  • When the connected lens uses the DC-Iris, if hi_isp_iris_status is set to HI_ISP_IRIS_KEEP, the manual iris is enabled and hold_value can be used for debugging the DC-Iris. In this case, the PWM duty cycle is hold_value.
  • When the connected lens uses the P-Iris, if hi_isp_iris_status is set to HI_ISP_IRIS_KEEP, the manual iris is enabled and iris_fno can be used for debugging the P-Iris. In this case, the stepper motor of the P-Iris is controlled to move to the position where the iris f-number is closest to iris_fno. In AE mode, the manual P-Iris does not take effect. To fix the iris f-number at a certain value, set max_iris_fnomax_iris_fno_target and min_iris_fnomin_iris_fno_target to the same value.