hi_fisheye_correction_attr

Description

Defines the fisheye correction attributes.

Prototype

typedef struct {
    hi_bool enable;
    hi_fisheye_attr fisheye_attr;
    hi_size dst_size;
} hi_fisheye_correction_attr;

Members

Member

Description

enable

Enables or disables the fisheye correction. When the fisheye correction function is enabled, the input mage width must be within [1920 px, 8192 px], and the height must be within [1080 px, 8192 px].

The options are as follows:

  • HI_FALSE: disabled.
  • HI_TRUE: enabled.

fisheye_attr

Fisheye attribute.

dst_size

Size of the output image after fisheye correction. Value range: [640 x 360, 8192 x 8192]