<?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 Re: JPEG lossless encoding problem in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866651#M8401</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Any news? I don't think that IPP6.1 would fix this issue.&lt;BR /&gt;I can trace the problem into the UIC code right to the ippiEncodeHuffman function. The input seems valid to me.. and as I said before I can't think of any invalid input for huffman encoding in general.&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Jul 2009 08:05:16 GMT</pubDate>
    <dc:creator>vepro_hoffmann</dc:creator>
    <dc:date>2009-07-13T08:05:16Z</dc:date>
    <item>
      <title>JPEG lossless encoding problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866648#M8398</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm currently running into problems while encoding some 16bit grayscale pictures to JPEG lossless using code from the JPEGView exampe.&lt;BR /&gt;My code is working for most of the pictures but some just abort with JPEG_ERR_INTERNAL when returning from EncodeHuffmanMCURowLS.&lt;BR /&gt;&lt;BR /&gt;Picture information:&lt;BR /&gt;witdh = 2320&lt;BR /&gt;height = -2920&lt;BR /&gt;bits per pixel = 16 bit&lt;BR /&gt;number of planes = 1&lt;BR /&gt;&lt;BR /&gt;Do you have any idea what is happening here? I think that every value should be valid as source pixel when encoding JPEG lossless.&lt;BR /&gt;I've attached the uncompressed pixeldata and a screenshot of the image.</description>
      <pubDate>Wed, 01 Jul 2009 13:32:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866648#M8398</guid>
      <dc:creator>vepro_hoffmann</dc:creator>
      <dc:date>2009-07-01T13:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: JPEG lossless encoding problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866649#M8399</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;What IPP andipp-sample versionsyou are using?&lt;BR /&gt;ipp_sample ( look at support.txt file you can find ther smth. like Package ID: w_ipp-samples_p_6.1.0.038)&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Jul 2009 13:51:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866649#M8399</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-07-03T13:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: JPEG lossless encoding problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866650#M8400</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;What IPP andipp-sample versionsyou are using?&lt;BR /&gt;ipp_sample ( look at support.txt file you can find ther smth. like Package ID: w_ipp-samples_p_6.1.0.038)&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;I was using IPP5.3 Update 4 and updated my code to w_ipp-uic_p_6.0.0.130 and w_ipp_ia32_p_6.0.2.074.&lt;BR /&gt;The problem stayed the same with the newer version.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jul 2009 06:20:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866650#M8400</guid>
      <dc:creator>vepro_hoffmann</dc:creator>
      <dc:date>2009-07-06T06:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: JPEG lossless encoding problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866651#M8401</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Any news? I don't think that IPP6.1 would fix this issue.&lt;BR /&gt;I can trace the problem into the UIC code right to the ippiEncodeHuffman function. The input seems valid to me.. and as I said before I can't think of any invalid input for huffman encoding in general.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jul 2009 08:05:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866651#M8401</guid>
      <dc:creator>vepro_hoffmann</dc:creator>
      <dc:date>2009-07-13T08:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: JPEG lossless encoding problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866652#M8402</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/291022"&gt;vepro_hoffmann&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Any news? I don't think that IPP6.1 would fix this issue.&lt;BR /&gt;I can trace the problem into the UIC code right to the ippiEncodeHuffman function. The input seems valid to me.. and as I said before I can't think of any invalid input for huffman encoding in general.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;Hi, it seems some errors in our UIC jpeg codec in LOSSLESS mode. Try to do next fixes:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;1) In&lt;EM&gt;&lt;STRONG&gt;uic_jpeg_enc.h&lt;/STRONG&gt;&lt;/EM&gt; file change&lt;/DIV&gt;
&lt;DIV&gt;i&lt;EM&gt;nt    GetPredictor(void)       { return m_pntTransform; }&lt;/EM&gt; to   &lt;EM&gt; int    GetPredictor(void)       { return &lt;STRONG&gt;m_predictor&lt;/STRONG&gt;; }&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;2) &lt;/EM&gt;in &lt;STRONG&gt;jpegenc.cpp&lt;/STRONG&gt; change&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt; &lt;/STRONG&gt; buflen = (m_jpeg_mode == JPEG_LOSSLESS) ?IPP_MAX(ENC_DEFAULT_BUFLEN,m_numxMCU * m_jpeg_ncomp * 2) : ENC_DEFAULT_BUFLEN;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;to&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;
&lt;DIV&gt;&lt;SPAN style="font-weight: normal;"&gt; buflen = (m_jpeg_mode == JPEG_LOSSLESS) ?IPP_MAX(ENC_DEFAULT_BUFLEN,m_numxMCU * m_jpeg_ncomp * 2 &lt;/SPAN&gt;* 2)&lt;SPAN style="font-weight: normal;"&gt; :ENC_DEFAULT_BUFLEN;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Jul 2009 06:41:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866652#M8402</guid>
      <dc:creator>Sergey_Ryadno</dc:creator>
      <dc:date>2009-07-14T06:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: JPEG lossless encoding problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866653#M8403</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
The second change did it. The buffersize was too small and that's why the encoding failed.&lt;BR /&gt;It's also the same problem as in IPP5.3 Update 4.&lt;BR /&gt;&lt;BR /&gt;Thank you very much sryadno!&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jul 2009 11:09:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/JPEG-lossless-encoding-problem/m-p/866653#M8403</guid>
      <dc:creator>vepro_hoffmann</dc:creator>
      <dc:date>2009-07-15T11:09:43Z</dc:date>
    </item>
  </channel>
</rss>

