venc_get_fd
Applicability
|
Product |
Supported (√/x) |
|---|---|
|
|
√ |
|
|
√ |
|
|
x |
|
|
√ |
|
|
√ |
Function Usage
Obtains the device 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)
Parameter Description
|
Parameter |
Description |
|---|---|
|
chn |
Int, decoding channel ID.
|
Return Value Description
|
Return Value |
Description |
|---|---|
|
ret |
Int, file descriptor corresponding to an encoding channel.
|
Restrictions
When the process exits, the file descriptor is automatically closed to clean up associated allocations.
Parent topic: VENC/JPEGE APIs