Function: dvpp_set_roi_config_top

C Prototype

aclError acldvppSetRoiConfigTop(acldvppRoiConfig *config, uint32_t top)

Python Function

ret = acl.media.dvpp_set_roi_config_top(roi_config, top)

Function Usage

Sets the ROI position: top 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.

top: int, top offset.

  • Must be an even number on the Atlas 200/300/500 Inference Product.
  • Must be an even number on the Atlas Training Series Product.

Return Value

ret: int, error code.