hi_mpi_venc_close_fd

Description

Closes the device file descriptor corresponding to an encoding channel.

This API is not supported in the current version.

Restrictions

This API is optional. The system automatically clears the file descriptor after app execution is complete and the corresponding process exits. Use this API call only after hi_mpi_venc_destroy_chn. This API must be called in serial with other APIs.

Prototype

hi_s32 hi_mpi_venc_close_fd(hi_venc_chn chn)

Parameters

Parameter

Input/Output

Description

chn

Input

Encoding channel ID.

The value range of the encoding channel ID is [0, 256). The maximum number of channels is 256.

Returns