Function: dvpp_destroy_channel

Applicability

Product

Supported

Atlas 350 Accelerator Card

x

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Description

Destroys an image processing channel created by the acl.media.dvpp_create_channel call.

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.

It must be the same as the dvpp_channel_desc argument passed to the acl.media.dvpp_create_channel call.

Return Value

Return Value

Description

ret

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

Restrictions

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.