hi_isp_prior_frame

Description

Defines the priority frame in WDR mode.

Definition

typedef enum {
    HI_ISP_LONG_FRAME      = 0, 
    HI_ISP_SHORT_FRAME     = 1,
    HI_ISP_PRIOR_FRAME_BUTT
} hi_isp_prior_frame;

Members

Member

Description

HI_ISP_LONG_FRAME

The long frame is set as the priority frame.

HI_ISP_SHORT_FRAME

The short frame is set as the priority frame.

Restrictions

  • When the long frame is set as the priority frame, the exposure parameters for long frames are set first according to the exposure route for long frames. In 2-to-1 WDR mode, when the gains are configured separately, the exposure route for short frames is adjusted according to the exposure parameters for long frame, and vise versa. By default, the long frame is set as the priority frame.
  • When the priority frame is switched, cmos_get_ae_default is called back, and the parameters such as the maximum/minimum exposure time, maximum/minimum gain, maximum/minimum iris, and AE compensation are updated. In addition, the AE module internally restores hist_ratio_slope and max_hist_offset to default values. You can call the corresponding MPI to change parameter values as required after switching is complete.
  • The priority frame setting is invalid in linear mode.