hi_mpi_mfusion_set_attr

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

×

Atlas A3 training products/Atlas A3 inference products

×

Atlas A2 training products/Atlas A2 inference products

×

Atlas 200I/500 A2 inference products

√

Atlas inference products

×

Atlas training products

×

Description

Sets the MotionFusion attribute.

Before calling this MPI, you must initialize the system by calling hi_mpi_sys_init.

Prototype

hi_s32 hi_mpi_mfusion_set_attr(const hi_u32 fusion_id, const hi_mfusion_attr *mfusion_attr)

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.