aclvdecDestroyChannel
Applicability
|
Product |
Supported |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Description
Destroys a video decoding channel created by calling aclvdecCreateChannel.
Restrictions
- The channel is destroyed only after the transmitted frames are decoded and the callback function is processed.
- aclvdecDestroyChannel encapsulates the aclrtUnSubscribeReport to unsubscribe from a thread (the callback function in the stream is no longer processed by the specified thread), and aclrtDestroyStream to destroy a stream. When implementing the VDEC function, aclrtUnSubscribeReport and aclrtDestroyStream do not need to be called separately.
- If aclvdecDestroyChannelDesc has been called to destroy the channel description before the aclvdecDestroyChannel call, an error is reported.
Prototype
aclError aclvdecDestroyChannel(aclvdecChannelDesc *channelDesc)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
channelDesc |
Input |
Pointer to the channel description. Must be the same as the channelDesc argument passed to the aclvdecCreateChannel call. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: VDEC Channel