acldvppSetRoiConfig系列接口
产品支持情况
产品  | 
是否支持  | 
|---|---|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
√  | 
功能说明
设置某个区域的位置信息。
函数原型
aclError acldvppSetRoiConfig(acldvppRoiConfig *config, uint32_t left, uint32_t right, uint32_t top, uint32_t bottom) aclError acldvppSetRoiConfigLeft(acldvppRoiConfig *config, uint32_t left) aclError acldvppSetRoiConfigRight(acldvppRoiConfig *config, uint32_t right) aclError acldvppSetRoiConfigTop(acldvppRoiConfig *config, uint32_t top) aclError acldvppSetRoiConfigBottom(acldvppRoiConfig *config, uint32_t bottom)
参数说明
参数名  | 
输入/输出  | 
说明  | 
|---|---|---|
config  | 
输出  | 
区域位置数据的指针。 需提前调用acldvppCreateRoiConfig接口创建acldvppRoiConfig类型的数据。  | 
left  | 
输入  | 
左偏移。 
  | 
right  | 
输入  | 
右偏移。 
  | 
top  | 
输入  | 
上偏移。 
  | 
bottom  | 
输入  | 
下偏移。 
  | 
返回值说明
返回0表示成功,返回其他值表示失败,请参见aclError。
父主题: acldvppRoiConfig