Function: vdec_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 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)
    

Parameter Description

Parameter

Description

vdec_channel_desc

Int, description of the video decoding channel.

Return Value Description

Return Value

Description

channel_id

Int, decoding channel ID.

Must be in the range of [0, 31] for the Atlas training products.

Must be in the range of [0, 255] for the Atlas A2 training products/Atlas A2 inference products.

Must be in the range of [0, 255] for the Atlas 200I/500 A2 inference products.

Must be in the range of [0, 255] for the Atlas inference products.

Must be in the range of [0, 255] for the Atlas A3 training products/Atlas A3 inference products.