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

What's going wrong ?

dstralau
Beginner
271 Views
Maybe a compiler problem ? I compiled my project with the intel compiler Version 12.0.1029.2010 and the newest IPP Version. When i set in release mode Full Optimization (/Ox) i got an exception ..\\audio-video-codecs\\codec\\mpeg2_enc\\src\\umc_mpeg2_enc_params.cpp function

Status

MPEG2EncoderParams::ReadQMatrices(vm_char* IntraQMatrixFName, vm_char* NonIntraQMatrixFName)

line 170. So i changed the declaration to

Status

MPEG2EncoderParams::ReadQMatrices(const vm_char* IntraQMatrixFName, const vm_char* NonIntraQMatrixFName)

and now it works fine. I think it's always better todeclare the params as const vm_char*.

Can you reproduce this effect ? Maybe it's possible to change the declaration in the next release,

regards

Detlef
0 Kudos
1 Reply
Ying_H_Intel
Employee
271 Views
Hi Detlef,

The post were moved to Intel Compiler forum.
http://software.intel.com/en-us/forums/showthread.php?t=83678


Where mecej4 suggested,

run the program with a tool such as valgrind or the Intel Inspector. If this does not locate the bugs, you will need to create and post a small but complete program that exhibits the same problems as your large application.

Regards,
Ying
0 Kudos
Reply