Function: vdec_create_channel_desc

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

Creates data of the vdec_channel_desc type to describe a video decoding channel.

To destroy data of the aclvdecChannelDesc type, see acl.media.vdec_destroy_channel_desc.

Prototype

  • C Prototype
    1
    aclvdecChannelDesc *aclvdecCreateChannelDesc()
    
  • Python Function
    1
    vdec_channel_desc = acl.media.vdec_create_channel_desc()
    

Parameters

None

Return Values

Return Value

Description

vdec_channel_desc

Int, pointer address of aclvdecChannelDesc type data.

  • Non-zero: success
  • 0: failure