hi_mpi_venc_close_fd
This API is reserved and is not supported currently.
Description
Closes the device file descriptor corresponding to an encoding channel.
This API is optional. The system automatically clears the file descriptor after app execution is complete and the corresponding process exits. Call this API only after calling 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. |
Returns
- 0: success
- Other values: failure. For details, see VENC/JPEGE Return Codes.
Parent topic: Video Encoding (VENC) and JPEG Encoder (JPEGE)