Function: dvpp_get_channel_desc_channel_id

Applicability

Product

Supported (Yes/No)

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

Obtains channel ID with the channel description.

Prototype

  • C Prototype
    1
    uint64_t acldvppGetChannelDescChannelId(const acldvppChannelDesc *channelDesc)
    
  • Python Function
    1
    channel_id = acl.media.dvpp_get_channel_desc_channel_id(dvpp_channel_desc)
    

Parameters

Parameter

Description

dvpp_channel_desc

Int, pointer address of the channel description.

Call acl.media.dvpp_create_channel_desc to create data of the acldvppChannelDesc type in advance.

Return Value

Return Value

Description

channel_id

Int, channel ID.