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

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

Structures and Enumerators for Platform-Aware Functions

This topic describes the structures and enumerators used by the Intel IPP platform-aware functions for image processing.

 

The IppiPointL structure stores the geometric position of a point. It is defined as:

typedef struct {
    IppSizeL x;
    IppSizeL y;
} IppiPointL;

where x, y denote the coordinates of the point.

 

The IppiSizeL structure stores the size of a rectangle. It is defined as:

typedef struct {
    IppSizeL width;
    IppSizeL height;
} IppiSizeL;

where width and height denote the dimensions of the rectangle in the x- and y-directions, respectively.

 

The IppiRectL structure stores the geometric position and size of a rectangle. It is defined as:

typedef struct {
    IppSizeL x;
    IppSizeL y;
    IppSizeL width;
    IppSizeL height;
} IppiRectL;

where x, y denote the coordinates of the top left corner of the rectangle that has dimensions width in the x-direction by height in the y-direction.

 

The IpprVolumeL structure stores the volume of a three-dimensional space. It is defined as:

typedef struct {
    IppSizeL width;
    IppSizeL height;
    IppSizeL depth;
} IpprVolumeL;

where width, height, and depth denote the dimensions of the three-dimensional space.

 

The IpprBorderType enumerator defines the border type that is used by some 3D Data Processing Functions:

typedef enum _IpprBorderType {
    ipprBorderRepl        = ippBorderRepl,
    ipprBorderConst       = ippBorderConst,

    ipprBorderInMemTop     =  0x0010,
    ipprBorderInMemBottom  =  0x0020,
    ipprBorderInMemLeft    =  0x0040,
    ipprBorderInMemRight   =  0x0080,
    ipprBorderInMemFront   =  0x1000,
    ipprBorderInMemBack    =  0x2000
} IpprBorderType;