hi_mpi_venc_destroy_chn
Applicability
|
Product |
Supported |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
☓ |
Description
Destroys the created encoding channel when the encoding process exits to free related resources.
Prototype
hi_s32 hi_mpi_venc_destroy_chn(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.
Restrictions
- Destroying a non-existing channel returns a failure.
- Before this API call, ensure that the channel has stopped receiving images. Otherwise, a failure is returned.