hi_isp_ldci_attr

Description

Defines the LDCI attribute.

Definition

typedef struct {
     hi_bool                 enable;
     hi_u8                   gauss_lpf_sigma;
     hi_op_mode              op_type;
     hi_isp_ldci_manual_attr manual_attr;
     hi_isp_ldci_auto_attr   auto_attr;
     hi_u16                  tpr_incr_coef;
     hi_u16                  tpr_decr_coef;
} hi_isp_ldci_attr;

Members

Member

Description

enable

LDCI enable.

The options are as follows:

  • HI_FALSE: disabled
  • HI_TRUE: enabled

gauss_lpf_sigma

LPF filtering strength. A smaller value indicates that the region that the LDCI module acts on is more localized.

Value range: [0x1, 0xFF]

op_type

LDCI working mode.

  • HI_OP_MODE_AUTO: automatic
  • HI_OP_MODE_MANUAL: manual

manual_attr

Manual LDCI parameter

auto_attr

Automatic LDCI parameter

tpr_incr_coef

Temporal filtering coefficient when the image changes from dark to bright. A larger value indicates a larger pixel weight of the current frame.

Value range: [0x0, 0x100]

tpr_decr_coef

Temporal filtering coefficient when the image changes from bright to dark. A larger value indicates a larger pixel weight of the current frame.

Value range: [0x0, 0x100]

Restrictions

The maximum resolution height of the image with LDCI enabled is 8192. When the height is greater than 8192, the LDCI function is automatically disabled.