Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Compiler Optimization Parameters for IPP?

yigithan_dedeoglu
355 Views

I have created a Visual C++ projecttouseH.264 decoding class from umc samples and successfully decoded H.264 images. However, when I measure the time it takes to decode images from a video clip, my implementation takes twice as long compared to the simple_player.exe implementation. I built my wrapper library using Visual Studio 2005. Are there any important compiler optimization parameters I need to set to optimize the generated code?

Thanks.

0 Kudos
3 Replies
sschaem
Beginner
355 Views

I saw a 30% boost in perf using ICL91 VS MSVC8.

Not sure where the gain came from, but bitstream decoding seem to be the one that is not optimized right with MSVC8. For example the inline directive is not honored.

The cost was: doubling of the code size. Going from a 500K to 1meg binary .

Stephan

0 Kudos
yigithan_dedeoglu
355 Views

Thanks Stephan, I will keep this in my mind.

I am using the H264VideoDecoder class on its own, I mean I don't use any splitter class or the umc_pipeline. I guess this causes my version of the decoder to run very slow. I will try to utilize these remaining parts of the decoding pipeline to improve speed.

Yigithan

0 Kudos
Vladimir_Dudnik
Employee
355 Views

Hello,

if you use IPP static libraries please make sure you call ippStaticInit function at the beginning of your application.

This call will initialize IPP static dispatcher to select best optimized code for the run.

Regards,
Vladimir

0 Kudos
Reply