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

JPEG decoder/encoder in release mode

fanguts
Beginner
753 Views
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
0 Kudos
11 Replies
Vladimir_Dudnik
Employee
753 Views
We do test UIC sample applications built by build scripts we provide in release mode. Does it work for you?

Regards,
Vladimir
0 Kudos
fanguts
Beginner
753 Views
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
0 Kudos
victorusp
Beginner
753 Views
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
0 Kudos
fanguts
Beginner
753 Views
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
0 Kudos
fanguts
Beginner
753 Views
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

0 Kudos
Vladimir_Dudnik
Employee
753 Views
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
0 Kudos
fanguts
Beginner
753 Views
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
0 Kudos
fanguts
Beginner
753 Views
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
0 Kudos
Vladimir_Dudnik
Employee
753 Views

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
0 Kudos
fanguts
Beginner
753 Views

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

0 Kudos
fanguts
Beginner
753 Views
Quoting - fanguts


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