hi_mpi_sys_unbind
The Ascend 310 AI Processor does not support this API.
The Ascend 910 AI Processor does not support this API.
Description
Disassociates a data source from a data receiver.
Restrictions
- If no bound source channel can be found for dst_chn, a code indicating success is returned directly. If the bound source channel is found but it does not match src_chn, a code indicating failure is returned.
Prototype
hi_s32 hi_mpi_sys_unbind(const hi_mpp_chn *src_chn, const hi_mpp_chn *dest_chn)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
src_chn |
Input |
Pointer to the source channel. |
dest_chn |
Input |
Pointer to the destination channel. |
Returns
- 0: success
- Other values: failure. For details, see Common Return Codes.
Parent topic: Common APIs