跳到主要内容

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

在线提单