acldvppCreateRoiConfig

Description

Creates data of the acldvppRoiConfig type as an ROI configuration.

To destroy data of the acldvppRoiConfig type, call acldvppDestroyRoiConfig.

Prototype

acldvppRoiConfig *acldvppCreateRoiConfig(

uint32_t left,

uint32_t right,

uint32_t top,

uint32_t bottom)

Parameters

Parameter

Input/Output

Description

left

Input

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.

right

Input

Right offset.

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

top

Input

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.

bottom

Input

Bottom offset.

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

Returns

  • Success: a pointer to data of the acldvppRoiConfig type
  • Failure: nullptr