acldvppDestroyChannelDesc
aclopSetAttrListDataType
函数功能
设置指定属性列表的数据类型。同步接口。
函数原型
aclError aclopSetAttrListDataType(****aclopAttr *attr, const char *attrName, int numValues, const aclDataType values[])
参数说明
| 参数名 | 输入/输出 | 说明 |
|---|---|---|
| attr | 输出 | aclopAttr类型的指针。 需提前调用aclopCreateAttr接口创建aclopAttr类型。 |
| attrName | 输入 | 属性名的指针。 |
| numValues | 输入 | 属性值数目。 |
| values | 输入 | 属性值的数组。 |
返回值说明
返回0表示成功,返回非0表示失败。
父主题: aclopAttr
acldvppCreateChannelDesc
函数功能
创建acldvppChannelDesc类型的数据,表示创建图片数据处理通道时的通道描述信息。同步接口。
函数原型
acldvppChannelDesc *acldvppCreateChannelDesc()
参数说明
无
返回值说明
- 返回acldvppChannelDesc类型的指针,表示成功。
- 返回nullptr,表示失败。
父主题: acldvppChannelDesc
acldvppDestroyChannelDesc
函数功能
销毁通过acldvppCreateChannelDesc接口创建的acldvppChannelDesc类型的数据。同步接口。
函数原型
aclError acldvppDestroyChannelDesc(acldvppChannelDesc *channelDesc)
参数说明
| 参数名 | 输入/输出 | 说明 |
|---|---|---|
| channelDesc | 输入 | 待销毁的acldvppChannelDesc类型指针。 |
返回值说明
返回0表示成功,返回其它值表示失败。
父主题: acldvppChannelDesc
acldvppGetChannelDescChannelId
函数功能
根据通道描述信息获取通道ID。同步接口。
约束说明
接口调用顺序:acldvppCreateChannelDesc --> acldvppCreateChannel --> acldvppGetChannelDescChannelId
函数原型
uint64_t acldvppGetChannelDescChannelId(const acldvppChannelDesc *channelDesc)
参数说明
| 参数名 | 输入/输出 | 说明 |
|---|---|---|
| channelDesc | 输入 | 通道描述信息的指针。 需提前调用acldvppCreateChannelDesc接口创建acldvppChannelDesc类型的数据。 |
返回值说明
返回通道ID。
父主题: acldvppChannelDesc
acldvppSetChannelDescMode
函数功能
指定通道描述信息中的通道模式,明确图片数据处理通道用于实现哪种功能,目前支持VPC、JPEGD、JPEGE、PNGD功能。同步接口。
约束说明
接口调用顺序:acldvppCreateChannelDesc --> acldvppSetChannelDescMode --> acldvppCreateChannel
函数原型
aclError acldvppSetChannelDescMode(****acldvppChannelDesc *channelDesc, uint32_t mode)
参数说明
| 参数名 | 输入/输出 | 说明 |
|---|---|---|
| channelDesc | 输出 | 通道描述信息的指针。 需提前调用acldvppCreateChannelDesc接口创建acldvppChannelDesc类型的数据。 |
| mode | 输入 | 指定通道模式,各模式的取值请参见acldvppChannelMode枚举值。 |
返回值说明
返回0表示成功,返回其它值表示失败。
父主题: acldvppChannelDesc
acldvppSetChannelDescParam
函数功能
设置图片数据处理通道的属性参数接口。同步接口。
函数原型
aclError acldvppSetChannelDescParam**(acldvppChannelDesc *channelDesc, acldvppChannelDescParamType paramType, size_t length, const void *param)**
参数说明
| 参数名 | 输入/输出 | 说明 |
|---|---|---|
| channelDesc | 输出 | 通道描述信息的指针。 需提前调用acldvppCreateChannelDesc接口创建acldvppChannelDesc类型的数据。 |
| paramType | 输入 | 属性参数的类型。 |
| length | 输入 | 属性参数值的字节数。 - 属性参数的类型为*_UINT64时,此处配置为8。 - 属性参数的类型为*_UINT32时,此处配置为4。 - 属性参数的类型为*_ENUM时,此处配置为4。 |
| param | 输入 | 属性参数值的指针。 |
返回值说明
返回0表示成功,返回其它值表示失败。
父主题: acldvppChannelDesc
在线提单