Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

GetTileParamsByIndex

Returns the offset and size of a tile by a given index.

Syntax

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

IppStatus ippiGetTileParamsByIndex_LT(IppSizeL index, IppiPointL splitImage, IppiSizeL tileSize, IppiSizeL tailSize, IppiPointL* pTileOffset, IppiSizeL* pTileSize);

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

IppStatus ippiGetTileParamsByIndex_T(int index, IppiPoint splitImage, IppiSize tileSize, IppiSize tailSize, IppiPoint* pTileOffset, IppiSize* pTileSize);

Include Files

ippi_tl.h

Parameters

index

Ordinal index of a tile.

splitImage

Split of the image by x and y axis correspondingly.

tileSize

Size of a tile.

tailSize

Size of the last bottom right tile.

pTileOffset

Offset of the tile corresponding to the top left image corner.

pTileSize

Size of a tile.

Description

This function returns the offset and size of a tile by a given index.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition when the pTileOffset or pTileSize pointer is NULL.