venc_get_fd
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
x |
|
|
√ |
|
|
√ |
Description
Obtains the file descriptor corresponding to an encoding channel.
Prototype
- C Prototype
1hi_s32 hi_mpi_venc_get_fd(hi_venc_chn chn)
- Python Function
1ret = acl.himpi.venc_get_fd(chn)
Parameters
|
Parameter |
Description |
|---|---|
|
chn |
Int, decoding channel ID. |
Return Value
|
Return Value |
Description |
|---|---|
|
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