hi_isp_me_attr

Description

Defines the ME attribute.

Definition

typedef struct {
    hi_op_mode exp_time_op_type; 
    hi_op_mode a_gain_op_type; 
    hi_op_mode d_gain_op_type; 
    hi_op_mode ispd_gain_op_type; 
    hi_u32 exp_time; 
    hi_u32 a_gain; 
    hi_u32 d_gain; 
    hi_u32 isp_d_gain;
} hi_isp_me_attr;

Members

Member

Description

exp_time_op_type

ME time enable. The default value is HI_OP_MODE_AUTO.

a_gain_op_type

Manual sensor analog gain enable. The default value is HI_OP_MODE_AUTO.

d_gain_op_type

Manual sensor digital gain enable. The default value is HI_OP_MODE_AUTO.

ispd_gain_op_type

Manual ISP digital gain enable. The default value is HI_OP_MODE_AUTO.

exp_time

Manual exposure time, in μs. The default value is 0x4000. The value range is [0x0, 0xFFFFFFFF], which depends on the sensor.

a_gain

Manual sensor analog gain (10-bit decimal precision). The default value is 0x400. The value range is [0x400, 0xFFFFFFFF], which depends on the sensor.

d_gain

Manual sensor digital gain (10-bit decimal precision). The default value is 0x400. The value range is [0x400, 0xFFFFFFFF], which depends on the sensor.

isp_d_gain

Manual ISP digital gain (10-bit decimal precision). The default value is 0x400. The value range is [0x400, 0x40000], which depends on the sensor.

Restrictions

  • In manual mode, the ME time and gain value are restricted by the maximum/minimum exposure time and gain in automatic mode.
  • If ME is enabled, ME parameters must be configured. Otherwise, the default values are used.
  • The gain is measured by a 10-bit decimal precision, that is, the value 1024 indicates 1x gain.
  • If the value of an ME parameter is greater than/less than the maximum/minimum value supported by the sensor, the maximum/minimum value is used.