I am writing aWindows Driver(WIN DDK) that calls ipp libraries for certain signal processing features. I am developing a memory manager module that implements ippMalloc, ippFree, IppsMalloc_, ippsFree, ippiMalloc_mod ,and ippifree, my memory functions calls windows DDK ExAllocatePoolWithTag and aligns to 32 byte boundary instead of C runtime malloc ,free. I link my functions throuh a object file that overrides theintel supplied memory functions.
Execept ippiMalloc everything is straight forward to implement, in IPPiMalloc_mod function, I understood
stride = width*sizeof(datatype)*no_of_channels, datatype is Ipp8u,Ipp16u,Ipp32u...etc. and the
totalsize to allocate is = stride*height;
1. Is my formula to calculate the size is correct?
2. What is the difference between C4 and AC4 data type difference in memory allocation?.
3. I assume ippiFree is same as ippsfree. is that correct?.
4. Is there any other "special stuff" to take into consideration to implement ippimalloc?
thanks