Function: vdec_get_channel_desc_bit_depth

Product Support

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 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)
    

Parameters

Parameter

Description

vdec_channel_desc

Int, description of the video decoding channel.

Return Value

Return Value

Description

desc_bit_depth

Int, video bit depth.

The options are as follows:

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

For the Atlas training product, the value of this parameter is invalid in the current version and cannot be obtained.