hi_mpi_venc_close_fd
Description
Closes the device file descriptor corresponding to an encoding channel.
The current version does not support this API.
Restrictions
This API is optional. The system automatically clears the file descriptor after application execution is complete and the corresponding process exits. Do not insert this API call before the hi_mpi_venc_destroy_chn call. 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. |
Returns
- 0: success.
- Other values: failure. For details, see VENC/JPEGE Return Codes.
Parent topic: VENC/JPEGE