hi_vi_ldc_attr

Description

Defines the LDC attributes.

Prototype

typedef struct {
    hi_bool enable;
    hi_ldc_version ldc_version;
    union {
        hi_ldc_v1_attr ldc_v1_attr;
        hi_ldc_v2_attr ldc_v2_attr;
    }
} hi_vi_ldc_attr;

Members

Member

Description

enable

Enables or disables the LDC.

  • HI_FALSE: disabled;
  • HI_TRUE: enabled.

ldc_version

LDC version.

ldc_v1_attr

LDC attributes. This member is valid only when ldc_version is set to HI_LDC_V1.

ldc_v2_attr

LDC attribute. This member is valid only when ldc_version is set to HI_LDC_V2 and must be used with the Gyro DIS.