Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

function ippFree in UIC

fanguts
Beginner
137 Views
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
137 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