I have downloaded IPP but cant see to find a good example on how i can use IPP primitives on how i can load a Jpeg file form disk so i can compare that with the existing load method.
I would like to see if IPP load will be faster then what i have now.
Has anyone encountered an example on how to efficiently load jpeg image form disk?
Any advice would be appreciated.
I would recommend you to take a look at IPP Sample package which is separate download. When you unzip the archive please look at image-codecs\uic folder for Intel Unified Image Codec API sample. Note, we also provide sample of standard libjpeg library boosted with IPP (you will find it under image-codecs\ijg folder).
Here is link to an article about IPP sample code description and download information of different type of sample code.
It is best to build the sampleipp-samples\image-codecs\jpegview.
Run it in debuuger and set break point in file jpeg.cpp function:
You can see how the jpeg file is loaded.