hi_isp_quick_start_param

Description

Defines the no-light-sensor AE quick start.

Definition

typedef struct {
    hi_bool quick_start_enable;
    hi_u8 black_frame_num;
    hi_bool ir_mode_en;
    hi_u32 init_exposure_ir;
    hi_u32 iso_thr_ir;
    hi_u16 ir_cut_delay_time;
} hi_isp_quick_start_param;

Members

Member

Description

quick_start_enable

Whether to enable the AE quick convergence mode. When this parameter is set to HI_TRUE, the AE quick convergence mode is enabled. In this case, the AE is converged at the fastest speed (within 10 frames in most scenarios). This mode can be used to enable no-light-sensor AE quick convergence.

black_frame_num

Number of bad frames initially output by the sensor. This parameter is valid only when quick_start_enable is set to HI_TRUE.

ir_mode_en

IR enable in AE quick convergence mode. When this parameter is set to HI_TRUE, AE quick convergence supports the IR mode. This parameter is valid only when quick_start_enable is set to HI_TRUE.

init_exposure_ir

Default initial exposure in IR mode, which is equal to the exposure time multiplied by the exposure gain. The unit of the exposure time is μs. This parameter is valid only when quick_start_enable and ir_mode_en are set to HI_TRUE.

iso_thr_ir

ISO threshold for switching to the IR mode (enabling IR-cut and IR LED) in AE quick convergence mode. This parameter takes effect when quick_start_enable is set to HI_TRUE.

ir_cut_delay_time

Time required for enabling IR-cut physically. The unit is ms. This parameter is valid only when quick_start_enable is set to HI_TRUE.

Restrictions

  • Set black_frame_num to the number of bad frames initially output by the sensor, because bad frames may be output for some sensors. If there is no bad frame during startup, set this parameter to 0.
  • When the AE quick convergence mode is enabled, you are advised to set ir_mode_en to HI_FALSE if the external hardware does not have IR-cut and IR LED. In this case, IR is disabled in AE quick convergence mode.
  • The enabling of IR-cut causes great changes to the luminance of the sensor. In this case, the AE algorithm does not take effect until IR-cut is completely switched. To ensure the AE quick convergence speed, the value of ir_cut_delay_time must be set to a proper value and cannot be much greater than the actual IR-cut switching time.