# 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表示成功，返回其它值表示失败。
