aclvencDestroyChannel

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 a video encoding channel. Only the channels created by calling aclvencCreateChannel can be destroyed.

Restrictions

  • The channel is destroyed after the callback function has been processed.
  • If the channel description has been destroyed by calling aclvencDestroyChannelDesc before aclvencDestroyChannel is called, an error is reported when aclvencDestroyChannel is called.

Prototype

1
aclError aclvencDestroyChannel(aclvencChannelDesc *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 aclvencCreateChannel 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.