# 函数：vdec_get_channel_desc_bit_depth

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | x |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |
| Atlas 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | √ |


#### 功能说明

获取视频解码处理通道的描述信息。


#### 函数原型

- C函数原型
  1 uint32_t aclvdecGetChannelDescBitDepth(const aclvdecChannelDesc *channelDesc)

- python函数
  1 desc_bit_depth = acl.media.vdec_get_channel_desc_bit_depth(vdec_channel_desc)


#### 参数说明

| 参数名 | 说明 |
| --- | --- |
| vdec\_channel\_desc | int，表示视频解码数据处理通道的描述信息。 |


#### 返回值说明

| 返回值 | 说明 |
| --- | --- |
| desc\_bit\_depth | int，视频位宽。 取值范围如下： 0：8\-bit 1: 10\-bit Atlas 训练系列产品 ，当前版本获取该参数的值为无效值，不支持获取该参数值。 |
