Community
cancel
Showing results for 
Search instead for 
Did you mean: 
fanguts
Beginner
61 Views

function ippFree in UIC

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

fanguts
0 Kudos
1 Reply
Sergey_K_Intel
Employee
61 Views

Quoting - fanguts
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

fanguts
Hi,

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.

Regards,
Sergey
Reply