函数:dvpp_set_roi_config_bottom

C函数原型

aclError acldvppSetRoiConfigBottom(acldvppRoiConfig *config, uint32_t bottom)

Python函数

ret = acl.media.dvpp_set_roi_config_bottom(roi_config, bottom)

函数功能

设置某个区域的位置信息:下偏移。

输入说明

roi_config:int,描述某个区域位置数据的指针地址。需提前调用acl.media.dvpp_create_roi_config接口创建的数据。

bottom:int,下偏移。

  • Atlas 200/300/500 推理产品上,该参数值必须为奇数。
  • Atlas 训练系列产品上,该参数值必须为奇数。
  • Atlas 推理系列产品上,该参数值无奇数要求。
  • Atlas A2训练系列产品/Atlas 800I A2推理产品上,该参数值无奇数要求。

返回值说明

ret:int,错误码。

  • 返回0表示成功。
  • 返回其它值表示失败。