hi_mpi_rgn_detach_from_chn
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
☓ |
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Function Description
Deletes an overlay region from a channel. This API can be called repeatedly.
This API is not supported in the
Prototype
hi_s32 hi_mpi_rgn_detach_from_chn(hi_rgn_handle handle, const hi_mpp_chn *chn)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
handle |
Input |
Region handle ID. Value range: [0, 1024) |
|
chn |
Input |
Pointer to the channel structure. This parameter cannot be empty. For details about how to set this parameter, see Table 2. |
Returns
- 0: success.
- Other values: failure. For details, see 19.18.5-Region Management Return Codes.
Restrictions
The regions must be created before you call this API.