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

Structure parameter of the concatenation table. The concatenation table data needs to be constructed based on the hi_stiching_ipm_table structure, which is compatible with the earlier version.

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 needs to be constructed based on the hi_roundview_stitching_lut_type1 structure. This type is more hardware-friendly and has better performance.

stitch_table_type

Stitching table type.

Value range:

  • 0: indicates the combination table of the hi_stiching_ipm_table type.

    The hi_stiching_ipm_table-type stitching table structure is open to users. You can call the hi_mpi_vpc_set_roundview_stitching_param API to set the parameters of the hi_stiching_ipm_table-type stitching table. However, the DVPP converts the hi_stiching_ipm_table-type stitching table into the hi_roundview_stitching_lut_type1-type stitching table. The conversion operation may affect the performance.

  • 1: indicates the combination table of the hi_roundview_stitching_lut_type1 type.

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

mini_order

Whether the stitching table is of the compact type. On the

  • 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.