hi_mpi_venc_close_fd
This API is reserved and is not supported currently.
Function Description
Closes the device file descriptor corresponding to an encoding channel.
You do not need to call this API. After the application is executed and the corresponding process exits, the system automatically clears the handle. If you call this API, ensure that it is called after the hi_mpi_venc_destroy_chn API is called. 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: Video Encoding (VENC) and JPEG Encoder (JPEGE)