昇腾社区首页
中文
注册

函数:vdec_get_channel_desc_bit_depth

产品支持情况

产品

是否支持

Atlas A3 训练系列产品/Atlas A3 推理系列产品

Atlas A2 训练系列产品/Atlas 800I A2 推理产品/A200I A2 Box 异构组件

Atlas 训练系列产品

Atlas 推理系列产品

Atlas 200I/500 A2 推理产品

Atlas 200/300/500 推理产品

功能说明

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

函数原型

  • 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 200/300/500 推理产品,当前版本获取该参数的值为无效值,不支持获取该参数值。

Atlas 训练系列产品,当前版本获取该参数的值为无效值,不支持获取该参数值。