I am a newbie to IPP. I would thank if you answer my questions and if I am wrong guide me through the process.
1. Is here the right place to ask IPP programming questions?
2. I need to install IPP on my ubuntu 12.x machine. Could anyone give me instruction how to accomplish that?
3.Let's take a look at this function presented by IPP tutorial:
#define genPRINT(TYPE,FMT) \
void printf_##TYPE(const char* msg, Ipp##TYPE* buf, int len, IppStatus st ) { \
int n; \
if( st > ippStsNoErr ) \
printf( "-- warning %d, %s\n", st, ippGetStatusString( st )); \
else if( st < ippStsNoErr ) \
printf( "-- error %d, %s\n", st, ippGetStatusString( st )); \
printf(" %s ", msg ); \
for( n=0; n<len; ++n ) printf( FMT, buf[n] ); \
printf("\n" ); \
}
This is very weird. The function prototype gets TYPE and FMT. But, how are the len and msg parameters in print_##TYPE being set?