---
title: aclvencSetChannelDescParam
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/dvpp/aclcppdevg_03_1564.html
sourcePath: /source/zh/canncommercial/900/API/dvpp/aclcppdevg_03_1564.html
indexId: ae11a43cf70090067f9e93635be42aaf496353103d010491d6ff1e34e8c870da62
---
# aclvencSetChannelDescParam

#### 产品支持情况

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


#### 功能说明

设置视频编码处理通道的属性参数接口。


#### 函数原型

```
aclError aclvencSetChannelDescParam(aclvencChannelDesc *channelDesc, aclvencChannelDescParamType paramType, size_t length, const void *param)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| channelDesc | 输入 | 视频编码处理通道描述信息的指针。 需提前调用aclvencCreateChannelDesc接口创建aclvencChannelDesc类型的数据。 |
| paramType | 输入 | 属性参数的类型。类型定义请参见aclvencChannelDescParamType。 |
| length | 输入 | 属性参数值的字节数。 属性参数的类型为\*\_UINT64时，此处配置为8。 属性参数的类型为\*\_UINT32时，此处配置为4。 属性参数的类型为\*\_PTR时，若操作系统是32位，则此处配置为4；若操作系统是64位，则配置为8。 |
| param | 输入 | 属性参数值的指针。 |


#### 返回值说明

返回0表示成功，返回其他值表示失败，请参见aclError。
