---
title: 函数：dvpp_set_roi_config_left
description: "| C函数原型 | aclError acldvppSetRoiConfigLeft(acldvppRoiConfig \*config, uint32\_t left) |"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgp/aclpythondevg_01_0300.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgp/aclpythondevg_01_0300.html
indexId: a762f6ea4c78bce63041c5398cc1d19d603c502f9ec245d1e04a2c08caae0b1e108
---
# 函数：dvpp_set_roi_config_left

| C函数原型 | aclError acldvppSetRoiConfigLeft(acldvppRoiConfig \*config, uint32\_t left) |
| --- | --- |
| Python函数 | ret = acl.media.dvpp\_set\_roi\_config\_left(roi\_config, left) |
| 函数功能 | 设置某个区域的位置信息：左偏移。 |
| 输入说明 | roi\_config：int，描述某个区域位置的数据。调用acl.media.dvpp\_create\_roi\_config接口创建的数据。 left：int，左偏移。 |
| 返回值说明 | ret：int，错误码。 返回0表示成功。 返回其它值表示失败。 |
