- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
fanguts
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
fanguts
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page