aclvencDestroyChannel

Applicable Products

Product

Supported

Ascend 950PR&950DT products

x

Atlas A3 products

x

Atlas A2 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 DVPP Image/video Processing (Media Data Processing V1).