Developer Reference for Intel® Integrated Performance Primitives 2018

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 IppiDistanceMethodType structure stores the method of defining the difference in intensity between pixels. It is defines as:

typedef enum {
    ippDistNormL1 = 0x00000002;
    ippDistNormL2 = 0x00000004;
} IppiDistanceMethodType;