hi_mpi_venc_destroy_chn
The
The
Description
Destroys the created encoding channel when the encoding process exits to free related resources.
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.
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.
Parent topic: VENC/JPEGE