venc_destroy_chn
Applicability
|
Product |
Supported (√/x) |
|---|---|
|
|
√ |
|
|
√ |
|
|
x |
|
|
√ |
|
|
√ |
Function Usage
Destroys the created encoding channel when the encoding process exits to free related resources.
Prototype
- C Prototype
1hi_s32 hi_mpi_venc_destroy_chn(hi_venc_chn chn);
- Python Function
1ret = acl.himpi.venc_destroy_chn(chn)
Parameter Description
|
Parameter |
Description |
|---|---|
|
chn |
Int, decoding channel ID.
|
Return Value Description
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code.
|
Restrictions
- If a non-existing channel is passed to this API call, a failure is returned.
- Before this API call, ensure that the channel has stopped receiving images. Otherwise, a failure is returned.
Parent topic: VENC/JPEGE APIs