Function: vdec_get_channel_desc_channel_id

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

Obtains the decoding channel description attribute: decoding channel ID.

Prototype

  • C Prototype
    1
    uint32_t aclvdecGetChannelDescChannelId(const aclvdecChannelDesc *channelDesc)
    
  • Python Function
    1
    channel_id = acl.media.vdec_get_channel_desc_channel_id(vdec_channel_desc)
    

Parameters

Parameter

Description

vdec_channel_desc

Int, description of the video decoding channel.

Return Value

Return Value

Description

channel_id

Int, decoding channel ID.

For the Atlas training product, the value range is [0, 31].

For the Atlas A2 training product/Atlas A2 inference product, the value range is [0, 255].

For the Atlas 200I/500 A2 inference product, the value range is [0, 255].

For the Atlas inference product, the value range is [0, 255].

For the Atlas A3 training product/Atlas A3 inference product, the value range is [0, 255].