aclvdecDestroyChannel
Applicable Products
|
Product |
Supported |
|---|---|
|
|
x |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function
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, these two APIs 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
1
|
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.