hi_mpi_mfusion_set_attr
Description
Sets the MotionFusion attribute.
Prototype
hi_s32 hi_mpi_mfusion_set_attr(const hi_u32 fusion_id, const hi_mfusion_attr *mfusion_attr)
Constraints
- Before calling this MPI, you must initialize the system by calling hi_mpi_sys_init.
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
fusion_id |
Input |
Fusion ID Value range: 0 (Currently, only 0 is valid for fusion_id.) |
mfusion_attr |
Input |
Pointer to the MotionFusion attribute |
Returns
- 0: success
- Other values: failure. For details, see Error Codes.
Parent topic: MotionFusion