Function: dvpp_destroy_channel

Applicability

Product

Supported (√/x)

Atlas A3 training products / Atlas A3 inference products

Atlas A2 training products / Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

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)
    

Parameter Description

Parameter

Description

dvpp_channel_desc

Int, pointer address of the channel description.

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

Return Value Description

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 the acl.media.dvpp_destroy_channel call, an error is reported.

Reference

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