<?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 Bug with IIR filter functions? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-with-IIR-filter-functions/m-p/884244#M10516</link>
    <description>Hello.&lt;BR /&gt;&lt;BR /&gt;Please forgive my English.&lt;BR /&gt;&lt;BR /&gt;I am using ippsIIR_32f for filtering audio stream, and have a trouble with this function. When I pass the non-zero samplesto pSrc, the function works well. but when I pass zero samples, the processing becomes delayed.&lt;BR /&gt;&lt;BR /&gt;Why? and How can I avoid this undesirable phenomenon?&lt;BR /&gt;</description>
    <pubDate>Mon, 16 Nov 2009 08:06:46 GMT</pubDate>
    <dc:creator>pechiinu</dc:creator>
    <dc:date>2009-11-16T08:06:46Z</dc:date>
    <item>
      <title>Bug with IIR filter functions?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-with-IIR-filter-functions/m-p/884244#M10516</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;Please forgive my English.&lt;BR /&gt;&lt;BR /&gt;I am using ippsIIR_32f for filtering audio stream, and have a trouble with this function. When I pass the non-zero samplesto pSrc, the function works well. but when I pass zero samples, the processing becomes delayed.&lt;BR /&gt;&lt;BR /&gt;Why? and How can I avoid this undesirable phenomenon?&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Nov 2009 08:06:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-with-IIR-filter-functions/m-p/884244#M10516</guid>
      <dc:creator>pechiinu</dc:creator>
      <dc:date>2009-11-16T08:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with IIR filter functions?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-with-IIR-filter-functions/m-p/884245#M10517</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;HI, &lt;BR /&gt;&lt;BR /&gt;Do you have any code that can show this problem? That will be helpful. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Nov 2009 07:02:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-with-IIR-filter-functions/m-p/884245#M10517</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2009-11-18T07:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with IIR filter functions?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-with-IIR-filter-functions/m-p/884246#M10518</link>
      <description>&lt;DIV style="margin:0px;"&gt;Thank you for your reply, and please excuse me for being late to answer.&lt;BR /&gt;&lt;BR /&gt;I'llgive a samplecode follow:&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;int iir(void)&lt;BR /&gt;{&lt;BR /&gt;int ret = 1;&lt;BR /&gt;int const input_length = 48000 * 24;&lt;BR /&gt;int const filter_length = FILTER_COEFFICIENTS_LENGTH;&lt;BR /&gt;&lt;BR /&gt;Ipp32f *input = NULL;&lt;BR /&gt;Ipp32f *filter = NULL;&lt;BR /&gt;Ipp32f *output = NULL;&lt;BR /&gt;&lt;BR /&gt;//&lt;BR /&gt;// zero-padding to input sequence except for the first sample&lt;BR /&gt;//&lt;BR /&gt;input = ippsMalloc_32f(input_length);&lt;BR /&gt;if (input==0) { goto error; }&lt;BR /&gt;for (size_t i=1; i&lt;INPUT_LENGTH&gt;&lt;/INPUT_LENGTH&gt;input&lt;I&gt; = 0;&lt;BR /&gt;}&lt;BR /&gt;input[0] = 1;&lt;BR /&gt;&lt;BR /&gt;//&lt;BR /&gt;// set filter coefficients&lt;BR /&gt;//&lt;BR /&gt;filter = ippsMalloc_32f(filter_length);&lt;BR /&gt;if (filter==0) { goto error; }&lt;BR /&gt;for (size_t i=0; i&lt;FILTER_LENGTH&gt;&lt;/FILTER_LENGTH&gt;filter&lt;I&gt; = FilterCoefficients&lt;I&gt;;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;output = ippsMalloc_32f(input_length);&lt;BR /&gt;if (output==0) { goto error; }&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;IppsIIRState_32f *ctx;&lt;BR /&gt;DWORD start;&lt;BR /&gt;DWORD end;&lt;BR /&gt;DWORD elapsed;&lt;BR /&gt;IppStatus status;&lt;BR /&gt;status = ippsIIRInitAlloc_32f(&amp;amp;ctx, filter, (int)(filter_length/2-1), 0);&lt;BR /&gt;if (status != ippStsNoErr) {&lt;BR /&gt;printf("IIRInitAlloc failure.n");&lt;BR /&gt;goto error;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;//&lt;BR /&gt;// start measuring &lt;BR /&gt;//&lt;BR /&gt;start = GetTickCount();&lt;BR /&gt;status = ippsIIR_32f(input, output, (int)input_length, ctx);&lt;BR /&gt;&lt;BR /&gt;//&lt;BR /&gt;// stop measuring&lt;BR /&gt;//&lt;BR /&gt;end = GetTickCount();&lt;BR /&gt;&lt;BR /&gt;elapsed = (end-start);&lt;BR /&gt;printf("input : time(ms)=%ld status=%dn"&lt;BR /&gt;, elapsed, status);&lt;BR /&gt;&lt;BR /&gt;ippsIIRFree_32f(ctx);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;ret = 0;&lt;BR /&gt;error:&lt;BR /&gt;if (input) { ippsFree(input); }&lt;BR /&gt;if (filter) { ippsFree(filter); }&lt;BR /&gt;if (output) { ippsFree(output); }&lt;BR /&gt;&lt;BR /&gt;return ret;&lt;BR /&gt;}&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 Nov 2009 05:26:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-with-IIR-filter-functions/m-p/884246#M10518</guid>
      <dc:creator>pechiinu</dc:creator>
      <dc:date>2009-11-30T05:26:51Z</dc:date>
    </item>
  </channel>
</rss>

