Function: dvpp_destroy_channel

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

√

Atlas A2 products

√

Atlas training products

√

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Destroys an image processing channel created by calling acl.media.dvpp_create_channel.

Prototype

  • C Prototype
    1
    aclError acldvppDestroyChannel(acldvppChannelDesc *channelDesc)
    
  • Python Function
    1
    ret = acl.media.dvpp_destroy_channel(dvpp_channel_desc)
    

Parameters

Parameter

Description

dvpp_channel_desc

Int, pointer address of the channel description.

The value must be the same as that of dvpp_channel_desc specified when calling acl.media.dvpp_create_channel to create a channel.

Return Values

Return Value

Description

ret

Int, error code: 0 on success; else, failure.

Constraints

If acl.media.dvpp_destroy_channel_desc has been called to destroy the channel description before acl.media.dvpp_destroy_channel is called to destroy the channel, an error is reported when acl.media.dvpp_destroy_channel is called.

Reference

For details about the API call sequence and examples, see Media Data Processing V1 (Not Supported in the Current Version).