Function: vdec_create_channel_desc

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

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

To destroy data of the aclvdecChannelDesc type, call 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 Value

Return Value

Description

vdec_channel_desc

Int, pointer address of aclvdecChannelDesc type data.

  • If non-0 value is returned, the operation is successful.
  • If 0 is returned, the operation fails.