aclvencDestroyChannel

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

x

Atlas A3 training products / Atlas A3 inference products

x

Atlas A2 training products / Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

x

Function

Destroys a video encoding channel created by calling aclvencCreateChannel.

Restrictions

  • The channel is destroyed after the callback function has been processed.
  • If aclvencDestroyChannelDesc has been called to destroy the channel description before the aclvencDestroyChannel call, an error is reported.

Prototype

1
aclError aclvencDestroyChannel(aclvencChannelDesc *channelDesc)

Parameters

Parameter

Input/Output

Description

channelDesc

Input

Pointer to the channel description.

Must be the same as the channelDesc argument passed to the aclvencCreateChannel call.

Returns

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

Reference

For details about the API call sequence and example, see Media Data Processing V1.