hi_mpi_sys_close_epoll

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Closes the epoll instance of media data processing when the epoll model is used to perform input and output operations on the media data processing channel.

The hi_mpi_sys_create_epoll, hi_mpi_sys_ctl_epoll, hi_mpi_sys_wait_epoll, and hi_mpi_sys_close_epoll APIs must be used together to operate the input/output data of the media data processing channel using the epoll programming model. The VPC function does not support this API.

Prototype

hi_s32 hi_mpi_sys_close_epoll(hi_s32 epoll_fd)

Parameters

Parameter

Input/Output

Description

epoll_fd

Input

Handle of the media data processing epoll instance to be destroyed. The handle is created by calling hi_mpi_sys_create_epoll.

Returns

See Also

For details about the API call sequence and examples, see JPEGE and VENC.