acl.himpi.venc_get_fd
C Prototype |
hi_s32 hi_mpi_venc_get_fd(hi_venc_chn chn); |
|---|---|
Python Function |
ret = acl.himpi.venc_get_fd(chn) |
Function Usage |
Obtains the file descriptor corresponding to an encoding channel. The Atlas 200/300/500 Inference Product does not support this API in the current version. The Atlas Training Series Product does not support this API in the current version. |
Input Description |
chn: int, encoding channel ID. |
Return Value |
ret: int, file descriptor corresponding to an encoding channel.
|
Restrictions |
When a process exits, the file descriptor is automatically closed to clean up associated allocations. |
Parent topic: VENC/JPEGE APIs