07-20-2009 01:06 PM
Hello, I am implementing a JPEG decorder to my program following your example. I saw when you want to release image from memory, you have a call IppFree(imgdata). I could not find where it is defined. It is from a Libs? thank you. I think the same thing is for ippMalloc. thank you for help
07-20-2009 10:26 PM
ippFree/ippMalloc are parts of ippcore library. They are declared in "ippcore.h". The functions are liocated in ippcore*.lib (or, ippcore*.a for Linux). So, include ippcore.h or, simply, ipp.h and make sure, that ippcore* library - according to your linkage model - is in the command line for linker.
P.S. For image functions it's better to use ippiMalloc/ippiFree from "ippi" library. ippi.h/ippi*.lib, etc. In this case the data will be aligned better for imaging. Moreover, you will be able to operate the number of channels of your images.