acl.himpi.sys_exit

C Prototype

hi_s32 hi_mpi_sys_exit()

Python Function

ret = acl.himpi.sys_exit()

Function Usage

Deinitializes the low-level hardware of the media data processing system after media data, such as images and videos, is processed.

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Return Value

ret: int, error code.

0 indicates success.

Other values: failure. For details, see Common Return Codes.

Restrictions

  • Repeated calls to this API return no failures.
  • After this API is called for deinitialization, the resources for processing media data in the system are freed. Therefore, APIs (except acl.himpi.sys_init) in the media data processing V2 section cannot be called. Otherwise, exceptions may occur during API calling or the return code may be incorrect.
  • This API must be called before pyACL runtime resources are released. For details about how to allocate pyACL runtime resources, see Runtime Resource Allocation.