Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Where can I find information about IppiSize?

moduspwnens
Beginner
1,385 Views
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/index.htm

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
Moderator
1,385 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.

0 Kudos
Reply