<?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 UIC PNMDecoder weirdness in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-PNMDecoder-weirdness/m-p/818327#M4481</link>
    <description>Hi Sergey,&lt;BR /&gt;&lt;BR /&gt;When will the fixed UIC binaries and sample code be available for download?&lt;BR /&gt;</description>
    <pubDate>Tue, 29 May 2012 15:42:26 GMT</pubDate>
    <dc:creator>levicki</dc:creator>
    <dc:date>2012-05-29T15:42:26Z</dc:date>
    <item>
      <title>UIC PNMDecoder weirdness</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-PNMDecoder-weirdness/m-p/818324#M4478</link>
      <description>With JPEG and PNG decoder I do the following:&lt;BR /&gt;&lt;BR /&gt;buffer.Open(Stream, StreamLength);&lt;BR /&gt;decoder.Init();&lt;BR /&gt; decoder.AttachStream(buffer);&lt;BR /&gt;decoder.ReadHeader(colorSpec, geometry);&lt;BR /&gt;&lt;BR /&gt;And for cleanup:&lt;BR /&gt;&lt;BR /&gt;decoder.DetachStream();&lt;BR /&gt;decoder.Close();&lt;BR /&gt;buffer.Close();&lt;BR /&gt;&lt;BR /&gt;With PNM decoder if I call decoder.Close() heap gets corrupted and the application just disappears (stack overflow). Why is that?&lt;BR /&gt;</description>
      <pubDate>Mon, 21 May 2012 17:51:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-PNMDecoder-weirdness/m-p/818324#M4478</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2012-05-21T17:51:39Z</dc:date>
    </item>
    <item>
      <title>UIC PNMDecoder weirdness</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-PNMDecoder-weirdness/m-p/818325#M4479</link>
      <description>Since nobody from Intel IPP team wanted to help, I have just confirmed on my own that there is a bug in UIC version 7.0.7.064 and below:&lt;BR /&gt;[cpp]PNMDecoder::~PNMDecoder()
{
    Close();
}

ExcStatus PNMDecoder::Init()
{
    if(m_decoder) return ExcStatusOk;

    m_decoder = new OwnPNMDecoder;
    if (!m_decoder) return ExcStatusFail;

    return ExcStatusOk;
}

ExcStatus PNMDecoder::Close()
{
    if (!m_decoder) return ExcStatusFail;

    delete m_decoder;

    // MISSING STATEMENT HERE:
    // m_decoder = 0

    return ExcStatusOk;
}[/cpp] This bug is affecting PNM, DDS, JP2, and JPEG2000 encoder and decoder.&lt;BR /&gt;&lt;BR /&gt;I have submitted an issue for it here:&lt;BR /&gt;&lt;A href="https://premier.intel.com/premier/IssueDetail.aspx?IssueID=672885" target="_blank"&gt;https://premier.intel.com/premier/IssueDetail.aspx?IssueID=672885&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Have a nice day.&lt;BR /&gt;</description>
      <pubDate>Fri, 25 May 2012 11:15:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-PNMDecoder-weirdness/m-p/818325#M4479</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2012-05-25T11:15:31Z</dc:date>
    </item>
    <item>
      <title>UIC PNMDecoder weirdness</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-PNMDecoder-weirdness/m-p/818326#M4480</link>
      <description>Hi Igor,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you for notification! Fixed.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Sergey&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 May 2012 13:12:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-PNMDecoder-weirdness/m-p/818326#M4480</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-05-29T13:12:58Z</dc:date>
    </item>
    <item>
      <title>UIC PNMDecoder weirdness</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-PNMDecoder-weirdness/m-p/818327#M4481</link>
      <description>Hi Sergey,&lt;BR /&gt;&lt;BR /&gt;When will the fixed UIC binaries and sample code be available for download?&lt;BR /&gt;</description>
      <pubDate>Tue, 29 May 2012 15:42:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UIC-PNMDecoder-weirdness/m-p/818327#M4481</guid>
      <dc:creator>levicki</dc:creator>
      <dc:date>2012-05-29T15:42:26Z</dc:date>
    </item>
  </channel>
</rss>

