Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

knowing which fcn to call - IPP 101 question

mperjak
Beginner
273 Views
I just started using IPP routines, and I'm not sure about the best way to decide which specific function to call when I don't know the datatype beforehand. I'm creating a templated algorithm class, and also want my code to be portable. I saw some sample code where a FUNC_CALL macro was defined and then basically each function was called for a specific type of routine. I'm assuming for portability reasons, there must be some standard or best way to ensure the correct function is being called for the data type. What does everyone else do?
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
273 Views

Hello,

that is indeed good question. Please consider IPP API as lowest level in your sw, so you definetely need to develop some wrappers above IPP. For example, UMC interface is abstraction of different media codecs, which are based on IPP. So, using UMC your application do not touch IPP functions directly (if there is no explicit need)

I think you need to develop something like that for your purposes.

Regards,
Vladimir

0 Kudos
Reply