sys_exit
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
x |
|
|
√ |
|
|
√ |
Description
Deinitializes the low-level hardware of the media data processing system after media data, such as images and videos, is processed.
Prototype
- C Prototype
1hi_s32 hi_mpi_sys_exit()
- Python Function
1ret = acl.himpi.sys_exit()
Parameters
None
Return Value
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code. 0 on success; else, failure. |
Restrictions
- Repeated calls to this API return no failures.
- After this API is called for deinitialization, the internal media data processing resources of the system are released. Therefore, other APIs (except the acl.himpi.sys_init API) in the media data processing V2 chapter cannot be called. Otherwise, an API call exception or error code may occur.
- needs to call this API before releasing runtime resources. For details about the resource application process, see nottoctopics/en-us_topic_0000002555773876.html#EN-US_TOPIC_0000002555773876__section579434618563.
Parent topic: Common APIs