Function: vdec_get_channel_desc_channel_id

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

√

Atlas A2 products

√

Atlas training products

√

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

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 Values

Return Value

Description

channel_id

Int, decoding channel ID.

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

Atlas A2 products: Must be in the range of [0, 255].

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

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

Atlas A3 products: Must be in the range of [0, 255].