Function: vdec_get_channel_desc_bit_depth

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 description of a video decoding channel.

Prototype

  • C Prototype
    1
    uint32_t aclvdecGetChannelDescBitDepth(const aclvdecChannelDesc *channelDesc)
    
  • Python Function
    1
    desc_bit_depth = acl.media.vdec_get_channel_desc_bit_depth(vdec_channel_desc)
    

Parameter Description

Parameter

Description

vdec_channel_desc

Int, description of the video decoding channel.

Return Value Description

Return Value

Description

desc_bit_depth

Int, video bit depth.

Value range:

  • 0: 8-bit
  • 1: 10-bit

In the current version of the Atlas training products, it is not supported to obtain this parameter value. The value obtained is invalid.