hi_mpi_vpc_get_roundview_stitching_param
The
The
Description
Obtains surround-view stitching parameters, including distortion correction and gain compensation parameters.
Restrictions
Before calling this API, you must set ipm_table_address, dest_pic_width, dest_pic_height, and ipm_table_size correctly.
Prototype
hi_s32 hi_mpi_vpc_get_roundview_stitching_param(hi_vpc_chn chn, hi_roundview_stitching_param *stitch_param)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Channel ID for image processing. |
stitch_param |
Output |
Surround-view stitching parameters. The float-type parameter value in imp_param.ipm_table_address of the command output has a floating-point precision difference (not greater than 0.01) from the input parameter. |
Returns
- 0: success
- Other values: failure. For details, see VPC Return Codes.