hi_mpi_sys_create_epoll

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

The Atlas Training Series Product does not support this API.

Description

Creates an epoll instance for media data processing to allow you to use the epoll programming model to operate the input and output data of the media data processing channel.

Restrictions

Prototype

hi_s32 hi_mpi_sys_create_epoll(hi_s32 size, hi_s32 *epoll_fd)

Parameters

Parameter

Input/Output

Description

size

Input

Maximum number of DVPP channel file descriptors that can be processed by the epoll instance. This field is reserved. Set it to a positive number.

epoll_fd

Output

Pointer to the file descriptor of an epoll instance. The number of file descriptors is restricted by the maximum number of files that can be opened at the same time in a task in the Linux OS, which can be viewed by using the ulimit -al command.

Returns