<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120485#M25565</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had the same issue with the latest IPP (2020.0.166), zlib 1.2.11 and libpng 1.6.37.&lt;/P&gt;&lt;P&gt;This fix does the trick, I think you should include it into official distribution.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Eugene&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2020 02:33:53 GMT</pubDate>
    <dc:creator>Eugene_K_1</dc:creator>
    <dc:date>2020-02-10T02:33:53Z</dc:date>
    <item>
      <title>Intel IPP 2017 release - PNG compressions</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120482#M25562</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;We are working on evaluating the performance and compression of PNG files on intel IPP 2017 released version.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The numbers with various compression levels seem to have beaten the competitions(cloud flare and zlib-ng) but the newly introduced flag for fastest compression (-2) seems to get us in an infinite loop after we are done with patching and updating zlib 1.2.8. The code changes are only expected to go in zlib library and the integration to libPNG remains unaffected. The patched code seems to be incomplete in this case.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(33, 33, 33); font-family: Calibri, sans-serif; font-size: 14.666666984558105px;"&gt;local block_state deflate_common(deflate_state* s, int flush){&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(33, 33, 33); font-family: Calibri, sans-serif; font-size: 14.666666984558105px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(33, 33, 33); font-family: Calibri, sans-serif; font-size: 14.666666984558105px;"&gt;while ( (s-&amp;gt;lookahead &amp;gt; 0) || (s-&amp;gt;strm-&amp;gt;avail_in &amp;gt; 0) ) {&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(33, 33, 33); font-family: Calibri, sans-serif; font-size: 14.666666984558105px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(33, 33, 33); font-family: Calibri, sans-serif; font-size: 14.666666984558105px;"&gt;lz77_encode_window( s, flush );&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(33, 33, 33); font-family: Calibri, sans-serif; font-size: 14.666666984558105px;"&gt;Lookahead remains at the same value.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Please share any numbers for the PNG compression and details on how to enable the fastest compression.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Vinay&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 13:00:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120482#M25562</guid>
      <dc:creator>Vinay_G_</dc:creator>
      <dc:date>2017-06-05T13:00:47Z</dc:date>
    </item>
    <item>
      <title>Hi Vinay, </title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120483#M25563</link>
      <description>&lt;P&gt;Hi Vinay,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;​I move your post from other&amp;nbsp;forum &amp;nbsp;to the&amp;nbsp;IPP forum. We will&amp;nbsp;&amp;nbsp;investigate it and contact you later.&amp;nbsp;&lt;BR /&gt;
	&lt;BR /&gt;
	Best Regards,&lt;BR /&gt;
	&lt;BR /&gt;
	Ying&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 01:13:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120483#M25563</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2017-08-15T01:13:43Z</dc:date>
    </item>
    <item>
      <title>Hi Vinay,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120484#M25564</link>
      <description>&lt;P&gt;Hi Vinay,&lt;/P&gt;

&lt;P&gt;We found the fix in lz77_encode_call function in deflate.c as follow:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;if(s-&amp;gt;deflate_table == Z_NULL)
        {
            /* deflate table is absent, look if statistics is collected */
            if(s-&amp;gt;deflate_stat)
                custDeflateUpdateTable(s, *src, *src_len);
//// DBG
#if 0
            status = ippsDeflateLZ77Fastest_8u( (const Ipp8u**)src, src_len, &amp;amp;s-&amp;gt;match_start,
                                                s-&amp;gt;window + s-&amp;gt;strstart, s-&amp;gt;w_size,
                                                (int*)s-&amp;gt;head, s-&amp;gt;hash_size,
                                                &amp;amp;s-&amp;gt;bi_buf, (Ipp32u*)&amp;amp;s-&amp;gt;bi_valid,
                                                s-&amp;gt;strm-&amp;gt;next_out, s-&amp;gt;strm-&amp;gt;avail_out, (Ipp32u*)&amp;amp;dst_indx,
                                                NULL, NULL, ( flush == Z_NO_FLUSH ) ? IppLZ77NoFlush : IppLZ77FullFlush );
#else
            status = ippsDeflateLZ77Fastest_8u((const Ipp8u**)src, src_len, &amp;amp;s-&amp;gt;match_start,
                                                s-&amp;gt;window + s-&amp;gt;strstart, s-&amp;gt;w_size,
                                               (int*)s-&amp;gt;head, s-&amp;gt;hash_size,
                                               &amp;amp;s-&amp;gt;bi_buf, (Ipp32u*)&amp;amp;s-&amp;gt;bi_valid,
                                               s-&amp;gt;pending_out, s-&amp;gt;pending_buf_size - s-&amp;gt;pending, (Ipp32u*)&amp;amp;s-&amp;gt;pending,
                                               NULL, NULL, (flush == Z_NO_FLUSH) ? IppLZ77NoFlush : IppLZ77FullFlush);
            flush_pending(s-&amp;gt;strm);
#endif
            s-&amp;gt;strm-&amp;gt;next_out += dst_indx;
            s-&amp;gt;strm-&amp;gt;avail_out -= dst_indx;
            s-&amp;gt;strm-&amp;gt;total_out += dst_indx;
        }
&lt;/PRE&gt;

&lt;P&gt;Could you try the above code and let us know how it works? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 18:05:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120484#M25564</guid>
      <dc:creator>Shaojuan_Z_Intel</dc:creator>
      <dc:date>2017-08-18T18:05:19Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120485#M25565</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had the same issue with the latest IPP (2020.0.166), zlib 1.2.11 and libpng 1.6.37.&lt;/P&gt;&lt;P&gt;This fix does the trick, I think you should include it into official distribution.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Eugene&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 02:33:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120485#M25565</guid>
      <dc:creator>Eugene_K_1</dc:creator>
      <dc:date>2020-02-10T02:33:53Z</dc:date>
    </item>
    <item>
      <title>Ok, thanks for the reminder.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120486#M25566</link>
      <description>&lt;P&gt;Ok, thanks for the reminder. We will check the implementation once again and update this thread accordingly.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 04:26:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-2017-release-PNG-compressions/m-p/1120486#M25566</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-02-10T04:26:22Z</dc:date>
    </item>
  </channel>
</rss>

