hi_isp_cmos_wdr_switch_attr

Description

Defines the WDR switching attribute.

Prototype

typedef struct {
    hi_u32    exp_ratio[HI_ISP_EXP_RATIO_NUM];
} hi_isp_cmos_wdr_switch_attr;

Members

Member

Description

exp_ratio

Expected exposure ratio

Considerations

In the cmos_get_isp_default function, assign a default value to exp_ratio based on the WDR mode. The assigned value must be consistent with the exposure ratio initialized by the AE in the cmos_get_ae_default.

  • If ae_sns_dft->man_ratio_enable is set to TRUE, the values of exp_ratio and ae_sns_dft->arr_ratio are the same.
  • If ae_sns_dft->man_ratio_enable is FALSE, exp_ratio is 0x40.