Function: venc_destroy_channel_desc

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

x

Atlas A2 products

x

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Destroys data of the aclvencChannelDesc type created by calling acl.media.venc_create_channel_desc.

Prototype

  • C Prototype
    1
    aclError aclvencDestroyChannelDesc(aclvencChannelDesc *channelDesc)
    
  • Python Function
    1
    ret = acl.media.venc_destroy_channel_desc(venc_channel_desc)
    

Parameters

Parameter

Description

venc_channel_desc

Int, pointer address of the aclvencChannelDesc data to be destroyed.

Return Values

Return Value

Description

ret

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