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

Creates a video processing channel, which is reusable. After being destroyed, the channel is no longer available.

Prototype

  • C Prototype
    1
    aclError aclvdecCreateChannel(aclvdecChannelDesc *channelDesc)
    
  • Python Function
    1
    ret = acl.media.vdec_create_channel(vdec_channel_desc)
    

Parameter Description

Parameter

Description

vdec_channel_desc

Int, pointer address of the channel description.

Use the acl.media.vdec_create_channel_desc call to create data of the vdec_channel_desc type, and use the acl.media.vdec_set_channel_desc APIs to set the attributes of the channel description.

Return Value Description

Return Value

Description

ret

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

Restrictions

Reference

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