Community
cancel
Showing results for 
Search instead for 
Did you mean: 
moduspwnens
Beginner
172 Views

Where can I find information about IppiSize?

Hello. I'm sorry if this is a stupid question, but where can I find information about IppiSize? I've looked through that IPP documentation but I couldn't find it. I've looked through this: http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_lnx/ind...

But I couldn't really find anything to help me..

Is there a list of methods/constructors/etc for IppiSize somewhere? I'm trying to figure out a way to supply the IppiSize parameters to this function:

http://software.intel.com/sites/products/documentation/hpc/ipp/ippi/ippi_ch5/functn_AlphaComp.html

For that matter, is it okay for me to typecast to Ipp32u? Thanks. I am not very experienced with things like this so I hope this question isn't too bad..
0 Kudos
1 Reply
Ying_H_Intel
Employee
172 Views

Hello,

Youcan find the ippiSize definition through the index.htm =>Volume 2 Image and Video Processing =>
Intel Integrated Performance Primitives Concepts=>Structures and Enumerators


The structure IppiSize for storing the size of a rectangle is defined astypedef struct { int width; int height; } IppiSize;
where width and height denote the dimensions of the rectangle in the x- and y-directions, respectively.

The structure IppiRect for storing the geometric position and size of a rectangle is defined astypedef struct { int x; int y; int width; int height; } IppiRect;
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 definition of structure used by IPP can be found in ippdefs.h file also. You can use it as the IPP example inSource Code Examples from Intel IPP book

Hope it helps
Regards,
Ying H.

Reply