Function: dvpp_set_roi_config_left

C Prototype

aclError acldvppSetRoiConfigLeft(acldvppRoiConfig *config, uint32_t left)

Python Function

ret = acl.media.dvpp_set_roi_config_left(roi_config, left)

Function Usage

Sets the position of an ROI: left offset.

Input Description

roi_config: int, pointer address of the location description of a region. Call acl.media.dvpp_create_roi_config in advance to create data.

left: int, left offset.

  • Must be an even number on the Atlas 200/300/500 Inference Product. If used to describe the paste ROI, the left offset must be rounded up to the nearest multiple of 16.
  • Must be an even number on the Atlas Training Series Product. If used to describe the paste ROI, the left offset must be rounded up to the nearest multiple of 16.

Return Value

ret: int, error code.