<?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 UPDATE: in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Failure-to-decode-UIC-Failure/m-p/971111#M20581</link>
    <description>&lt;P&gt;UPDATE:&lt;/P&gt;
&lt;P&gt;Just as a suplement, I tried to walk through the debugger to see where it is breaking:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;failure mode #1:&lt;/P&gt;
&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;When I try the files: "house_bad.jp2" and "rgb_bad.jp2"&lt;/P&gt;
&lt;P&gt;In file "jpeg2k.cpp", line 355:&lt;/P&gt;
&lt;P&gt;geometry.ReduceByGCD();&lt;/P&gt;
&lt;P&gt;nOfComponents = geometry.NOfComponents();&lt;/P&gt;
&lt;P&gt;nOfComponents is set to "4", and that is why it exits line 402:&lt;/P&gt;
&lt;P&gt;switch(nOfComponents)&lt;/P&gt;
&lt;P&gt;since 4 is not a valid case!!!&lt;/P&gt;
&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;failure mode #2:&lt;/P&gt;
&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;When I try the file: "pic3_in2pix_bad.jp2":&lt;/P&gt;
&lt;P&gt;In file "jpeg2k.cpp", line 333:&lt;/P&gt;
&lt;P&gt;isJP2 = IsJP2(in);&lt;/P&gt;
&lt;P&gt;I doesn't recognize it as a valid JP2, and "isJP2 = 0"&lt;/P&gt;
&lt;P&gt;And, accordingly, it exits on line 381:&lt;/P&gt;
&lt;P&gt;if(ExcStatusOk != decoder-&amp;gt;ReadData(imagePn.Buffer().DataPtr(),dataOrderPn))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return IE_RDATA;&lt;/P&gt;
&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;--Rudy&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2013 22:59:18 GMT</pubDate>
    <dc:creator>rudy_B_</dc:creator>
    <dc:date>2013-03-13T22:59:18Z</dc:date>
    <item>
      <title>Failure to decode (UIC Failure)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Failure-to-decode-UIC-Failure/m-p/971110#M20580</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I installed ipp samples (7.1.1) correctly. And, I used UIC examples.&lt;/P&gt;
&lt;P&gt;It works fine for only certain images. To be exact, it only worked for the images encoded using UIC.&lt;/P&gt;
&lt;P&gt;For example, I had few "jpeg" images, and then using the IPP UIC tool, I enocded them to "jp2" format. Then I used the generated "jp2" format to convert it to different formst (e.g. "bmp", "png" or even back to "jpeg"). And they all worked fine.&lt;/P&gt;
&lt;P&gt;But, then I tried to compare the performance with&amp;nbsp;j2k-codec. So, since I had worked with j2k-coded before, I have bunch of "jp2" files, from past.&lt;/P&gt;
&lt;P&gt;But, when I tried to use my old files (which had worked fine on "j2k-codec before), they didn't work with IPP UIC !!!&lt;/P&gt;
&lt;P&gt;Those files that I tested, had actually been encoded by different tools; but they all are valid encoded streams and all can get decoded fine with j2k-codec.&lt;/P&gt;
&lt;P&gt;I know that these files, are encoded fine, because I am able to open all these files with Photoshop.&lt;/P&gt;
&lt;P&gt;I am uploading few of these files. And, I would appreicate if someone tells me whether this is a limmiation of IPP UIC, or I am missing something.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;--Rudy&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2013 21:04:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Failure-to-decode-UIC-Failure/m-p/971110#M20580</guid>
      <dc:creator>rudy_B_</dc:creator>
      <dc:date>2013-03-13T21:04:47Z</dc:date>
    </item>
    <item>
      <title>UPDATE:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Failure-to-decode-UIC-Failure/m-p/971111#M20581</link>
      <description>&lt;P&gt;UPDATE:&lt;/P&gt;
&lt;P&gt;Just as a suplement, I tried to walk through the debugger to see where it is breaking:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;failure mode #1:&lt;/P&gt;
&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;When I try the files: "house_bad.jp2" and "rgb_bad.jp2"&lt;/P&gt;
&lt;P&gt;In file "jpeg2k.cpp", line 355:&lt;/P&gt;
&lt;P&gt;geometry.ReduceByGCD();&lt;/P&gt;
&lt;P&gt;nOfComponents = geometry.NOfComponents();&lt;/P&gt;
&lt;P&gt;nOfComponents is set to "4", and that is why it exits line 402:&lt;/P&gt;
&lt;P&gt;switch(nOfComponents)&lt;/P&gt;
&lt;P&gt;since 4 is not a valid case!!!&lt;/P&gt;
&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;failure mode #2:&lt;/P&gt;
&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;When I try the file: "pic3_in2pix_bad.jp2":&lt;/P&gt;
&lt;P&gt;In file "jpeg2k.cpp", line 333:&lt;/P&gt;
&lt;P&gt;isJP2 = IsJP2(in);&lt;/P&gt;
&lt;P&gt;I doesn't recognize it as a valid JP2, and "isJP2 = 0"&lt;/P&gt;
&lt;P&gt;And, accordingly, it exits on line 381:&lt;/P&gt;
&lt;P&gt;if(ExcStatusOk != decoder-&amp;gt;ReadData(imagePn.Buffer().DataPtr(),dataOrderPn))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return IE_RDATA;&lt;/P&gt;
&lt;P&gt;---------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;--Rudy&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2013 22:59:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Failure-to-decode-UIC-Failure/m-p/971111#M20581</guid>
      <dc:creator>rudy_B_</dc:creator>
      <dc:date>2013-03-13T22:59:18Z</dc:date>
    </item>
    <item>
      <title>Hi Rudy,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Failure-to-decode-UIC-Failure/m-p/971112#M20582</link>
      <description>&lt;P&gt;Hi Rudy,&lt;/P&gt;
&lt;P&gt;Yes, you right, UIC's J2K doesn't support number of components other than 1 or 3. Regarding&amp;nbsp;pic3_in2pix_bad.jp2, this file contains unknown type of marker 0xFF23 which is not recognized, so the decoding fails. By the way, Jasper and OpenJPEG don't decode this file too with diagnostics like:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [ERROR] Expected JP Marker&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [ERROR] Failed to decode jp2 structure&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ERROR -&amp;gt; j2k_to_image: failed to decode image!&lt;/P&gt;
&lt;P&gt;UIC's J2K never been a product-like tool.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Sergey&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 06:14:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Failure-to-decode-UIC-Failure/m-p/971112#M20582</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2013-03-14T06:14:03Z</dc:date>
    </item>
  </channel>
</rss>

