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

About Intel IPP JPEG Samples With IJG (Independent JPEG Group) implementations

jason_yfho
Beginner
440 Views
I have install Intel Integrated Performance Primitives 5.0 and Intel IPP JPEG Samples with ALL THE DEFAULT OPTION in Fedora 2 with kernel 2.6.9-1.667.

After the installation, I execute the binary of imagemagick, the command failed and the case is shown as follow:

-bash-3.00# convert e_vico.jpg -resize 50% test.jpg
convert: JPEG parameter struct mismatch: library thinks size is 432, caller expects 464 `e_vico.jpg'.

Also, I execute the djpeg and cjpeg binary (from the Intel IPP JPEG Samples) inside the folder /root/ipp_sample/jpeg/ijg/bin/linux32, by usig the "time command", i found that the time for decode and encode the jpeg is even slower than the I libjpeg without IPP. Is there any settings I need to set before I can maximize the preformance?

Would you please help me if anyone know what the problem is? Thanks!

Below is my cpuinfo:

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel Pentium 4 CPU 2.26GHz
stepping : 7
cpu MHz : 2258.950
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
bogomips : 4456.44
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
440 Views

Hi,

We added additional member to JPEG structure, to give you a possiblity to turn on or off IPP calls at run time. Because of that, structure size is different and you can't just substitute original IJG shared library by this one. You need to recompile your application.

Regarding speed we will try to reproduce your issue. What size of JPEG images you used for testing?

Regards,
Vladimir

0 Kudos
Reply