<div dir="ltr"><p align="Justify" style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif">Hello Ara, </span><span style="font-family:arial,helvetica,sans-serif">my tests with libjpeg-</span><i style="font-family:arial,helvetica,sans-serif">turbo</i><span style="font-family:arial,helvetica,sans-serif"> are even more promising.</span></p><p align="Justify" style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">The following comparison between LCL and libjpeg-<i>turbo</i> was made decompressing for about one minute a sequence of several 4000x3000 JPEG pictures. The results are expressed in "pictures per second" and prove that libjpeg-<i>turbo</i> is about 7-8 times faster than LCL:<br></font></p><h3 style="text-align:left;color:rgb(0,0,0);font-family:Tahoma,Verdana,Arial,sans-serif">AMD E2-1800 1.70 GHz</h3><table width="330" border="1" style="font-family:Tahoma,Verdana,Arial,sans-serif"><tbody><tr><th colspan="3" style="font-weight:normal"><b>Turbo i386-win32</b></th></tr><tr><th width="110" style="font-weight:normal">LCL</th><th width="110" style="font-weight:normal">libjpeg-turbo</th><th width="110" style="font-weight:normal">Ratio</th></tr><tr align="center"><td>0.32</td><td>2.46</td><td>7.69x</td></tr></tbody></table><br style="color:rgb(0,0,0);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:medium;text-align:-webkit-center"><table width="330" border="1" style="font-family:Tahoma,Verdana,Arial,sans-serif"><tbody><tr><th colspan="3" style="font-weight:normal"><b>Turbo x86_64-win64</b></th></tr><tr><th width="110" style="font-weight:normal">LCL</th><th width="110" style="font-weight:normal">libjpeg-turbo</th><th width="110" style="font-weight:normal">Ratio</th></tr><tr align="center"><td>0.36</td><td>2.72</td><td>7.56x</td></tr></tbody></table><h3 style="text-align:left;color:rgb(0,0,0);font-family:Tahoma,Verdana,Arial,sans-serif">Intel Pentium N3520 2.16 GHz</h3><table width="330" border="1" style="font-family:Tahoma,Verdana,Arial,sans-serif"><tbody><tr><th colspan="3" style="font-weight:normal"><b>Turbo i386-win32</b></th></tr><tr><th width="110" style="font-weight:normal">LCL</th><th width="110" style="font-weight:normal">libjpeg-turbo</th><th width="110" style="font-weight:normal">Ratio</th></tr><tr align="center"><td>0.41</td><td>3.06</td><td>7.46x</td></tr></tbody></table><br style="color:rgb(0,0,0);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:medium;text-align:-webkit-center"><table width="330" border="1" style="font-family:Tahoma,Verdana,Arial,sans-serif"><tbody><tr><th colspan="3" style="font-weight:normal"><b>Turbo x86_64-win64</b></th></tr><tr><th width="110" style="font-weight:normal">LCL</th><th width="110" style="font-weight:normal">libjpeg-turbo</th><th width="110" style="font-weight:normal">Ratio</th></tr><tr align="center"><td>0.43</td><td>3.35</td><td>7.79x</td></tr></tbody></table><h3 style="text-align:left;color:rgb(0,0,0);font-family:Tahoma,Verdana,Arial,sans-serif">Intel Core i5-4300 2.50 GHz</h3><table width="330" border="1" style="font-family:Tahoma,Verdana,Arial,sans-serif"><tbody><tr><th colspan="3" style="font-weight:normal"><b>Turbo i386-win32</b></th></tr><tr><th width="110" style="font-weight:normal">LCL</th><th width="110" style="font-weight:normal">libjpeg-turbo</th><th width="110" style="font-weight:normal">Ratio</th></tr><tr align="center"><td>1.01</td><td>8.41</td><td>8.33x</td></tr></tbody></table><br style="color:rgb(0,0,0);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:medium;text-align:-webkit-center"><table width="330" border="1" style="font-family:Tahoma,Verdana,Arial,sans-serif"><tbody><tr><th colspan="3" style="font-weight:normal"><b>Turbo x86_64-win64</b></th></tr><tr><th width="110" style="font-weight:normal">LCL</th><th width="110" style="font-weight:normal">libjpeg-turbo</th><th width="110" style="font-weight:normal">Ratio</th></tr><tr align="center"><td>1.10</td><td>9.18</td><td>8.35x</td></tr></tbody></table><br><br>Best regards,<div><div>Sandro Cumerlato<br><br><br><div class="gmail_extra"><br><div class="gmail_quote">On 31 March 2016 at 12:12, Aradeonas <span dir="ltr"><<a href="mailto:aradeonas@operamail.com" target="_blank">aradeonas@operamail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><u></u>
<div><div>Thanks but I need libjpeg using because of speed and fpimage with UsePalette := False is not fast enough.<br></div>
<div>My tests with libjpeg.dll and this <a href="http://www.dev-center.de/header/libjpeg?cat=header&file=libjpeg" target="_blank">header</a> id much faster than fpimage (half the time) so I wanted to have a native way using pasjpeg instead of a dll.<br></div>
<div> </div>
<div><div>Regards,<br></div>
<div>Ara<span class=""><font color="#888888"><br></font></span></div><span class=""><font color="#888888">
</font></span></div><span class=""><font color="#888888">
<div> </div>
<div> </div>
<pre>--
<a href="http://www.fastmail.com" target="_blank">http://www.fastmail.com</a> - Same, same, but different...
</pre>
</font></span></div>
<br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" rel="noreferrer" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div><br></div></div><div class="gmail_extra"><br></div></div></div>