hi_roundview_stitching_param

Function

Defines the surround-view stitching parameters.

Definition

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;

For details about basic data type hi_u64, see Basic Data Types.

Members

Member

Description

imp_conf

Stitching table structure parameter. For details, see hi_stiching_ipm_param.

The stitching table data must be constructed based on the hi_stiching_ipm_table structure to be compatible with earlier versions.

gain_conf

Gain compensation parameter. For details, see hi_stitching_gain_param.

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

lut_conf

Stitching table structure parameter. For details, see hi_stitching_lut_param.

stitch_table_type

Stitching table type. For details, see hi_stitching_table_type.

Value range:

  • 0: stitching tables of the 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. However, DVPP will convert the stitching table into a table of the hi_roundview_stitching_lut_type1 type, which may affect the performance.

mini_order

Whether the stitching table is of the compact type. For details, see hi_mini_order.

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

chassis_conf

Transparent chassis configuration. For details, see hi_chassis_param.

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.