Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6811 ディスカッション

ipp-samples 7.0.6 cl8 compile defect.

Yaroslav_Korchevsky
ビギナー
613件の閲覧回数
I build IPP-samples with provided script. build_ia32.bat cl8
In my project I use the PostProcessing capability of decoders.
While debugging my program, that uses mpeg4_dec I encountered an issue, which I would classify as compiler error.
in file umc_mpeg4_video_decoder_cpp:237
the assignment

m_PostProcessing = pParam->pPostProcessing;


gave unexpected result. It didn't happen.
Instead of this, assignment happen to another memory area.

Looks, like compiler generates wrong offsets to class members.

I suppose, this issue is already fixed in some of patches/service packs of MSVC2005
Are you aware of thissue? Can you advice corresponding patch?
0 件の賞賛
1 解決策
Sergey_K_Intel
従業員
613件の閲覧回数
Hi,
Thank you for observation and fixing the problem by yourself)).
We will look of what can be done regarding that.
Regards,
Sergey

元の投稿で解決策を見る

3 返答(返信)
Yaroslav_Korchevsky
ビギナー
613件の閲覧回数
While further investigation I found, that the structure UMC::VideoStreamInfo differs in size depending of build. command line build UMC::VideoStreamInfo is 8 bytes larger than one in IDE build.

Probably I missed some compiler option or preprocessor definition.
Yaroslav_Korchevsky
ビギナー
613件の閲覧回数
Problem has been solved.
The issue was simultaneous including of umc-structures.h from audio-video-codecs and speech-codecs.

The structure mentioned above in audio-video-codecs has additional field disp_clip_info.

As far as in my solution speech-codecs includes was listed prior to audio-video-codecs
structure size mismatch appeared as defect.

I think, it would be useful either keep umc-structures synchronous or separate the umc module into substaintial module, common for both audio-video-codecs and speech-codecs.
Sergey_K_Intel
従業員
614件の閲覧回数
Hi,
Thank you for observation and fixing the problem by yourself)).
We will look of what can be done regarding that.
Regards,
Sergey
返信