Function: venc_create_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

Creates data of the aclvencChannelDesc type to describe a video encoding channel.

To destroy data of the aclvencChannelDesc type, call acl.media.venc_destroy_channel_desc.

Prototype

  • C Prototype
    1
    aclvencChannelDesc *aclvencCreateChannelDesc()
    
  • Python Function
    1
    venc_channel_desc = acl.media.venc_create_channel_desc()
    

Parameters

None

Return Values

Return Value

Description

venc_channel_desc

Int, pointer address of aclvencChannelDesc type data.

  • Non-zero: success
  • 0: failure