Function: dvpp_get_channel_desc_channel_id

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

Obtains a channel ID based on 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)
    

Parameter Description

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 Description

Return Value

Description

channel_id

Int, channel ID.