Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2018

iwiTile_CorrectBordersOverlap

Syntax

IW_DECL(IwiRoi) iwiTile_CorrectBordersOverlap( 
    IwiRoi          roi,
    IwiBorderType   border, 
    IwiBorderSize   borderSize,
    IwiSize         srcImageSize
);

Parameters

roi
Position of a tile to be checked and corrected.
border
Type of the image border.
borderSize

Size of the image border.

srcImageSize

Size of the source image.

Description

This function corrects the specified ROI position and size to prevent partial overlap of borders and image boundary.

Return Values

Corrected ROI.