---
title: 函数：vdec_get_channel_desc_entype
description: "| C函数原型 | acldvppStreamFormat aclvdecGetChannelDescEnType(const aclvdecChannelDesc \*channelDesc); |"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgp/aclpythondevg_01_0346.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgp/aclpythondevg_01_0346.html
indexId: 4a6de19be29431fdf43d2d454343520e580d22d2a996309e2f0942dce3d6f5b0108
---
# 函数：vdec_get_channel_desc_entype

| C函数原型 | acldvppStreamFormat aclvdecGetChannelDescEnType(const aclvdecChannelDesc \*channelDesc); |
| --- | --- |
| Python函数 | entype = acl.media.vdec\_get\_channel\_desc\_entype(vdec\_channel\_desc) |
| 函数功能 | 获取视频解码处理通道描述信息的属性：视频编码协议。 |
| 输入说明 | vdec\_channel\_desc：int，vdec通道描述地址对象, 表示视频数据解码处理通道的描述信息。 |
| 返回值说明 | entype：int，视频编码协议。 H265\_MAIN\_LEVEL = 0 H264\_BASELINE\_LEVEL = 1 H264\_MAIN\_LEVEL = 2 H264\_HIGH\_LEVEL = 3 |
