acldvppDestroyChannel

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Destroys an image data processing channel. Only the channel created by calling acldvppCreateChannel can be destroyed.

Restrictions

If acldvppDestroyChannelDesc has been called to destroy the channel description before acldvppDestroyChannel is called to destroy the channel, an error is reported when acldvppDestroyChannel is called to destroy the channel.

Prototype

1
aclError acldvppDestroyChannel(acldvppChannelDesc *channelDesc)

Parameters

Parameter

Input/Output

Description

channelDesc

Input

Pointer to the channel description.

The value must be the same as that of channelDesc specified when the acldvppCreateChannel API is called to create a channel.

Returns

0 on success; otherwise, failure. For details, see aclError.

See Also

For details about the API call sequence and examples, see Media data processing V1.