<?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: Decoding JPEG with RST markers in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Decoding-JPEG-with-RST-markers/m-p/935158#M17102</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Kamil,&lt;/P&gt;
&lt;P&gt;I can guess that you did not clear variable pointed by pMarker before decoding next restart interval. Note, that is input/output parameter for function ippiDecodeHuffman8x8.&lt;/P&gt;
&lt;P&gt;You can refer to IPP JPEGView sample for details how to implement JPEG codec with IPP functions.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2006 02:41:43 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2006-04-13T02:41:43Z</dc:date>
    <item>
      <title>Decoding JPEG with RST markers</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Decoding-JPEG-with-RST-markers/m-p/935157#M17101</link>
      <description>I don't know what I'm doing wrong:&lt;BR /&gt;&lt;BR /&gt;I call:&lt;BR /&gt;&lt;BR /&gt;ippiDecodeHuffman8x8_JPEG_1u16s_C1( m_inptr, len, &amp;amp;pos, block, &amp;amp;comp-&amp;gt;dc_pred, &amp;amp;pMarker, huff_dc, huff_ac, m_huff_state );&lt;BR /&gt;&lt;BR /&gt;It decodes image correctly up to first RST marker. It correctly returns pMarker = 0xd0 and ippStsNoErr. Now I call:&lt;BR /&gt;&lt;BR /&gt;if ( m_restart_interval &amp;amp;&amp;amp; n_left_to_restart == 0 )&lt;BR /&gt;{&lt;BR /&gt;m_comp[0].dc_pred = 0;&lt;BR /&gt;m_comp[1].dc_pred = 0;&lt;BR /&gt;m_comp[2].dc_pred = 0;&lt;BR /&gt;ippiDecodeHuffmanStateInit_JPEG_8u( m_huff_state );&lt;BR /&gt;n_left_to_restart = m_restart_interval;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;But all next calls to ippiDecodeHuffman8x8_JPEG_1u16s_C1 return ippStsJPEGOutOfBufErr. JPEGs with no RST markers are decoded correctly. I'm using IPP4.1.&lt;BR /&gt;&lt;BR /&gt;Am I missing something ?&lt;BR /&gt;&lt;BR /&gt;Please help,&lt;BR /&gt;Kamil</description>
      <pubDate>Thu, 13 Apr 2006 02:00:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Decoding-JPEG-with-RST-markers/m-p/935157#M17101</guid>
      <dc:creator>Maciej_K_</dc:creator>
      <dc:date>2006-04-13T02:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding JPEG with RST markers</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Decoding-JPEG-with-RST-markers/m-p/935158#M17102</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Kamil,&lt;/P&gt;
&lt;P&gt;I can guess that you did not clear variable pointed by pMarker before decoding next restart interval. Note, that is input/output parameter for function ippiDecodeHuffman8x8.&lt;/P&gt;
&lt;P&gt;You can refer to IPP JPEGView sample for details how to implement JPEG codec with IPP functions.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2006 02:41:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Decoding-JPEG-with-RST-markers/m-p/935158#M17102</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-04-13T02:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Decoding JPEG with RST markers</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Decoding-JPEG-with-RST-markers/m-p/935159#M17103</link>
      <description>Yes, you are right, I forgot to move the decoding position after the RST marker when restart occured too.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you very much,&lt;BR /&gt;&lt;BR /&gt;Kamil&lt;P&gt;Message Edited by mac_kal@alnet.pl on &lt;SPAN class="date_text"&gt;04-13-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;07:22 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2006 21:16:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Decoding-JPEG-with-RST-markers/m-p/935159#M17103</guid>
      <dc:creator>Maciej_K_</dc:creator>
      <dc:date>2006-04-13T21:16:56Z</dc:date>
    </item>
  </channel>
</rss>

