JPEG decoder/encoder in release mode

JPEG decoder/encoder in release mode

Hello; I am using IPP 6.1evaluation version and did some UIC implementation to our program. The application in debugmode works fine in both 32-bit and 64-bit system.
I wonderif IPP evaluation versionallow the application is run in release mode? Are there any difference in IPP and UIC based dlls or Libs between in release mode or debug mode? Thank you very much.

P.S my 64-bit programwork fine in debug mode but can not run in release mode (build is ok).
And it seems to fail in the line of code:
imageCn.ColorSpec().ReAlloc(nOfComponents); //nOfComponents: 3, Image imageCn;
fanguts

12 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

We do test UIC sample applications built by build scripts we provide in release mode. Does it work for you?

Regards,
Vladimir

Quoting - Vladimir Dudnik (Intel)
We do test UIC sample applications built by build scripts we provide in release mode. Does it work for you?

Regards,
Vladimir

Thanks Vladimir, release mode, 32 bits wroks. 64 bits not.
I can trace the problems are from some ReAlloc() function,
for example:
dataOrder.ReAlloc(Interleaved, nOfComponents);
imageCn.ColorSpec().ReAlloc(nOfComponents);
so I wonder if parameters (such Interleaved, nOfComponents) will be different for same image but in 32-bit and 64-bit application? thank you

Quoting - fanguts

Thanks Vladimir, release mode, 32 bits wroks. 64 bits not.
I can trace the problems are from some ReAlloc() function,
for example:
dataOrder.ReAlloc(Interleaved, nOfComponents);
imageCn.ColorSpec().ReAlloc(nOfComponents);
so I wonder if parameters (such Interleaved, nOfComponents) will be different for same image but in 32-bit and 64-bit application? thank you

Hello,
I have got something the same. I've built uic using "build32.bat" and then make VC project for uic_transcoder_con. The VC project have been builded successfully (in debug mode) but raised exception in ReAlloc when I ran it. Building in release mode resolved this problem.
I guess there are some differencies in memory allocation for release and debug modes, but I don't understand what exactly

Quoting - victorusp

Hello,
I have got something the same. I've built uic using "build32.bat" and then make VC project for uic_transcoder_con. The VC project have been builded successfully (in debug mode) but raised exception in ReAlloc when I ran it. Building in release mode resolved this problem.
I guess there are some differencies in memory allocation for release and debug modes, but I don't understand what exactly

the problems for my one is just happen on release mode of 64 bits application. Any difference in 32 bits or 64bits in those allocation function for same image? thanks for help

Quoting - fanguts

the problems for my one is just happen on release mode of 64 bits application. Any difference in 32 bits or 64bits in those allocation function for same image? thanks for help

In UIC memory will be allocated similar way on 32-bit and 64-bit platforms. Do you have the same issue when you build sample by standard build script we provide in release?

Regards,
Vladimir

Quoting - Vladimir Dudnik (Intel)
In UIC memory will be allocated similar way on 32-bit and 64-bit platforms. Do you have the same issue when you build sample by standard build script we provide in release?

Regards,
Vladimir

Hi Vladimir, Yes, I build your sample IPP picnic, OKin 32-bit.Got errorin 64-bit

Quoting - Vladimir Dudnik (Intel)
In UIC memory will be allocated similar way on 32-bit and 64-bit platforms. Do you have the same issue when you build sample by standard build script we provide in release?

Regards,
Vladimir

when I runthe downloadedSampleUIC Picnic (64 bits) withrelated 64 bits DLLs, I get errors in my machine. But run 32 bits Picnic, it is ok. I believe the samples you provided are from release mode. The error behaviors for 64-bit picnic application are similar to thatmy program had.
I also run the sample IPPi demo (it doesn't need UIC and only need IPP DLLs)64-bit in my machine, it works.so I really think something wrong in UIC with my system. Do you have some ideas? thanks

Fanguts

Hm. UIC binaries were built by Intel Compiler and linked by MS VC2008 Service Pack 1. I think they may require MS VC2008 SP1 run time (available from MS)

Regards,
Vladimir

Quoting - Vladimir Dudnik (Intel)

Hm. UIC binaries were built by Intel Compiler and linked by MS VC2008 Service Pack 1. I think they may require MS VC2008 SP1 run time (available from MS)

Regards,
Vladimir

Quoting - fanguts

Attachment is errorfrom running 64-bit picnic.exe.The system hasMS C++ 2008 SP1 Redistributable Package (x86) installed. thanks

Attachments: 

AttachmentSize
Downloadimage/x-ms-bmp 64bit_Error.bmp1.21 MB

Leave a Comment

Please sign in to add a comment. Not a member? Join today