hi_roundview_stitching_param

Description

Defines the surround-view stitching parameters.

Prototype

typedef struct {
    hi_stiching_ipm_param imp_conf;
    hi_stitching_gain_param gain_conf;
    hi_stitching_lut_param lut_conf;
    hi_stitching_table_type stitch_table_type;
    hi_mini_order mini_order;
    hi_chassis_param chassis_conf;
    hi_u64 reserved[8];
} hi_roundview_stitching_param;

Members

Member

Description

imp_conf

Stitching table structure parameter. The stitching table data must be constructed based on the hi_stiching_ipm_table structure. It is compatible with earlier versions.

gain_conf

Gain compensation parameters.

If gain compensation is not required, set the gain_type member in this data structure to GAIN_NONE.

lut_conf

Stitching table structure parameter. The stitching table data must be constructed based on the hi_roundview_stitching_lut_type1 structure. This type is more hardware-affinity and has better performance.

stitch_table_type

Stitching table type.

The options are as follows:

  • 0: hi_stiching_ipm_table type.

    The structure of stitching tables of the hi_stiching_ipm_table type is open to users. You can call hi_mpi_vpc_set_roundview_stitching_param to set the parameters of a stitching table of the hi_stiching_ipm_table type. However, DVPP will convert the stitching table into a table of the hi_roundview_stitching_lut_type1 type, which may affect the performance.

  • 1: hi_roundview_stitching_lut_type1 type.

    The structure of stitching tables of the hi_roundview_stitching_lut_type1 type is open to users. You can call hi_mpi_vpc_set_roundview_stitching_param to set the parameters of a stitching table of the hi_roundview_stitching_lut_type1 type.

mini_order

Whether the stitching table is of the compact type.

  • 0: non-compact type. No sampling is performed.
  • 1: compact type.

chassis_conf

Transparent chassis configuration.

reserved

Reserved. To ensure compatibility in later versions, use the memset structure for resetting and initialization. Do not explicitly access the reserved field in the code.