Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public
Document Table of Contents

SplitUniform2D

Splits an image into tiles.

Syntax

Case 1: Operation with TL functions based on the Platform Aware API

IppStatus ippiSplitUniform2D_LT(IppiSizeL roiSize, IppSizeL minItemNumber, IppiPointL* pSplit, IppiSizeL* pTileSize, IppiSizeL* pTailSize);

Case 2: Operation with TL functions based on the Classic API

IppStatus ippiSplitUniform2D_T(IppiSize roiSize, int minItemNumber, IppiPoint* pSplit, IppiSize* pTileSize, IppiSize* pTailSize);

Include Files

ippi_tl.h

Parameters

roiSize

Image ROI size.

minItemNumber

Minimal size of a tile, in pixels.

pSplit

Number of split parts along x and y axes.

pTileSize

Size of a tile.

pTailSize

Size of the last corner tile.

Description

This function operates with ROI (see Regions of Interest in Intel IPP).

This function splits an image into tiles.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition when the pSplit, pTileSize, or pTailSize pointer is NULL.

ippStsSizeErr

Indicates an error condition when minItemNumber is less than zero.