<?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: ippsResamplePolyphaseFixedInitAlloc_16s problem when static in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943948#M17947</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;is there a work-around for this bug when using the static libraries? The mentioned 'nonFixed' polyphase workaround seems to have the same problen and hangs in the same Bessel function. Is there a public release date for version 6.0?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mathijn</description>
    <pubDate>Wed, 07 Jun 2006 15:16:23 GMT</pubDate>
    <dc:creator>mathijn</dc:creator>
    <dc:date>2006-06-07T15:16:23Z</dc:date>
    <item>
      <title>ippsResamplePolyphaseFixedInitAlloc_16s problem when static linking?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943943#M17942</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I encounter the following problem (IPP5.0 @ ia32).&lt;BR /&gt;&lt;BR /&gt;Based on the audio_codec_con_so and sources from the media examples and the polyphase example on page 8-215 of the ippsman.pdf, I am working on a resampling application from mp3 to wav. I use the ippsResamplePolyphaseFixed* routines and static linking.&lt;BR /&gt;&lt;BR /&gt;(For the record, using dynamic linking all works as expected, but static linkage is a needed in this case)&lt;BR /&gt;&lt;BR /&gt;The problem is that when the inRate/outRate division is not integral, the following call does not return:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;result = ippsResamplePolyphaseFixedInitAlloc_16s(&lt;BR /&gt; &amp;amp;state, inRate, outRate, 2*window,&lt;BR /&gt; 0.95f,9.0f, ippAlgHintAccurate);&lt;BR /&gt;&lt;BR /&gt;When running this through gdb I get this backtrace:&lt;BR /&gt;&lt;BR /&gt;resample_Init inRate: 88200 outRate: 8000&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGINT, Interrupt.&lt;BR /&gt;[Switching to Thread 1124096 (LWP 19364)]&lt;BR /&gt;0x0807a3c1 in Bessel ()&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0x0807a3c1 in Bessel ()&lt;BR /&gt;#1  0x0807cd47 in initResample_64f_2d_In ()&lt;BR /&gt;#2  0x0807b311 in ownsResampleFixedInitAlloc_32f ()&lt;BR /&gt;#3  0x41100000 in ?? ()&lt;BR /&gt;#4  0x00001401 in ?? ()&lt;BR /&gt;#5  0x087b2d00 in ?? ()&lt;BR /&gt;#6  0xbf9e037f in ?? ()&lt;BR /&gt;#7  0x0805b004 in UMC::MediaData::TryWeakCasting ()&lt;BR /&gt;&lt;BR /&gt;Now, if I make sure that the inRate/outRate is integral by somehow taking the floor or the ceil, the function returns and everything works as expected (with a slightly different result in resampling&lt;BR /&gt;ofcourse)&lt;BR /&gt;&lt;BR /&gt;Furthermore, if I program this using the 'nonFixed' polyphase routines, all works good as well, but the performance is very poor in comparison.&lt;BR /&gt;&lt;BR /&gt;Is there any solution to this?&lt;BR /&gt;&lt;BR /&gt;I would appreciate any feedback, help or information.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Hendrik</description>
      <pubDate>Thu, 23 Feb 2006 20:56:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943943#M17942</guid>
      <dc:creator>klend</dc:creator>
      <dc:date>2006-02-23T20:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: ippsResamplePolyphaseFixedInitAlloc_16s problem when static</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943944#M17943</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have built a small program that shows this behaviour.&lt;BR /&gt;When statically linked the call does not return with the following input and output rates:&lt;BR /&gt;44100   8000&lt;BR /&gt;44100   6511&lt;BR /&gt;&lt;BR /&gt;But it does return when the rates are:&lt;BR /&gt;inRate outRate&lt;BR /&gt;44100   6510&lt;BR /&gt;44100   6512&lt;BR /&gt;44100   8001&lt;BR /&gt;&lt;BR /&gt;I have attached a small tar file to demonstrate the behaviour.&lt;BR /&gt;If someone could be so kind as to build the program and see why there is no return in some cases I would be very greatful.&lt;BR /&gt;It might be my own inexperience with the IPP libraries (in a way, I hope so).&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for the efforts.&lt;BR /&gt;&lt;BR /&gt;(To build the program, unpack the Makefile and the polytest.c file and run make. Two programs are built: polytest and polytest-static. The Makefile might be modificated to set the proper IPPROOT include files.)&lt;P&gt;Message Edited by klend on &lt;SPAN class="date_text"&gt;02-27-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:45 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2006 17:42:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943944#M17943</guid>
      <dc:creator>klend</dc:creator>
      <dc:date>2006-02-27T17:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: ippsResamplePolyphaseFixedInitAlloc_16s problem when static</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943945#M17944</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;About polytest.c file - it misuses "size" variable that is the size of polyphase resampling structure in bytes. Please see the corrected version, it passes as for dll as for static lib. I think it should crash all the time but sometimes the memory layout prevents it.&lt;/P&gt;
&lt;P&gt;Please answer if error continues&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Alexander&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Feb 2006 17:37:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943945#M17944</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-02-28T17:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: ippsResamplePolyphaseFixedInitAlloc_16s problem when static</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943946#M17945</link>
      <description>Hi Alexander&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;akibkal1 wrote:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;About polytest.c file - it misuses "size" variable that is the size of polyphase resampling structure in bytes. Please see the corrected version, it passes as for dll as for static lib. I think it should crash all the time but sometimes the memory layout prevents it.&lt;/P&gt;&lt;P&gt;Please answer if error continues&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for helping out, however, the problem still persists.&lt;BR /&gt;&lt;BR /&gt;When I build your version of polytest.c and run the static version like this: &lt;B&gt;./polytest_static 44100 8000&lt;/B&gt; the program does not return and spends its time in the &lt;I&gt;ippsResamplePolyphaseFixedInitAlloc_16s&lt;/I&gt; routine.&lt;BR /&gt;&lt;BR /&gt;This is on Linux only (I can't test under windows).&lt;P&gt;The problem is not a segmentation violation or a crash, but the problem is not returning from a ipp function call.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Hendrik&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2006 19:36:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943946#M17945</guid>
      <dc:creator>klend</dc:creator>
      <dc:date>2006-02-28T19:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: ippsResamplePolyphaseFixedInitAlloc_16s problem when static</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943947#M17946</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi, Hendrik,&lt;/P&gt;
&lt;P&gt;We found this bug, the reason is -0.0 sqrt argumentin the static library for Linux. Itwill becorrected in IPP 6.0.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Alexander&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by vdudnik on &lt;SPAN class="date_text"&gt;03-15-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:25 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2006 21:58:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943947#M17946</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-03-14T21:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: ippsResamplePolyphaseFixedInitAlloc_16s problem when static</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943948#M17947</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;is there a work-around for this bug when using the static libraries? The mentioned 'nonFixed' polyphase workaround seems to have the same problen and hangs in the same Bessel function. Is there a public release date for version 6.0?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mathijn</description>
      <pubDate>Wed, 07 Jun 2006 15:16:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943948#M17947</guid>
      <dc:creator>mathijn</dc:creator>
      <dc:date>2006-06-07T15:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: ippsResamplePolyphaseFixedInitAlloc_16s problem when static</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943949#M17948</link>
      <description>&lt;DIV&gt;Hi, Hendrik,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;We already correctedsuch bug (negative sqrt argument in Bessel function evaluation) in IPP 5.1. We'll take a look does your case found a new one and answer.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Non-fixed resampling is definitely much slower then fiexed because it require to interpolate filter coefficient on the fly for each pixel. In fixed resampling filters are precalculated for all phases of output pixels.&lt;/DIV&gt;&lt;DIV&gt;So, non-fixed resampling is better to use when the factor is notr rational, is changed with the time or when LCD of input and output frequencies is very big&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Alexander&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Jun 2006 18:36:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsResamplePolyphaseFixedInitAlloc-16s-problem-when-static/m-p/943949#M17948</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-06-08T18:36:51Z</dc:date>
    </item>
  </channel>
</rss>

