<?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 Problems with the FIRMR Ffnction in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-the-FIRMR-Ffnction/m-p/784801#M1869</link>
    <description>Hi all, &lt;BR /&gt;&lt;BR /&gt;I am trying to perform a Mutirate Filtering using the IPP funtions in order to speed up clculation time.&lt;BR /&gt;&lt;BR /&gt;Unfortunately I am not obtaining the expected output result.&lt;BR /&gt;&lt;BR /&gt;Following I have attached the piece of code of interest. I would be gratefull if somebody could give me a hint.&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;-----------------------------------------------------&lt;BR /&gt;&lt;STRONG&gt;IppStatus status;&lt;BR /&gt;status = ippInit();&lt;BR /&gt;IppsFIRState_32f *pStateI;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;Ipp32f *pDlyLine = new Ipp32f[(tapsLen+upFactor-1)/upFactor];&lt;/STRONG&gt; //Ipp32f *pDlyLine = NULL not &lt;BR /&gt;working; tapsLen=63;upFactor=625;&lt;BR /&gt;&lt;STRONG&gt;memset(pDlyLine, 0, sizeof(Ipp32f)*((tapsLen+upFactor-1)/upFactor));&lt;BR /&gt;int numIters = uSampleLength/downFactor;&lt;/STRONG&gt; //uSampleLenght is the lenght of input array = 4608; downFactor=192;&lt;BR /&gt;&lt;STRONG&gt;status = ippsFIRMRInitAlloc_32f(&amp;amp;pStateI, pTaps, tapsLen, upFactor, upPhase, downFactor, downPhase, pDlyLine); &lt;/STRONG&gt;//down and up phases are equal to 0;&lt;BR /&gt;&lt;STRONG&gt;status = ippsFIRMR_Direct_32f(pInISample, fIBufferRes, numIters, pTaps, tapsLen, upFactor, upPhase, downFactor, downPhase, pDlyLine);&lt;/STRONG&gt;//fIBufferRes is the output buffer of lenght 15000;&lt;BR /&gt;&lt;STRONG&gt;status = ippsFIRFree_32f(pStateI);&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Thanks you in advance.&lt;BR /&gt;&lt;BR /&gt;Gregorio&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2011 10:04:46 GMT</pubDate>
    <dc:creator>gregorio_chindamo</dc:creator>
    <dc:date>2011-11-29T10:04:46Z</dc:date>
    <item>
      <title>Problems with the FIRMR Ffnction</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-the-FIRMR-Ffnction/m-p/784801#M1869</link>
      <description>Hi all, &lt;BR /&gt;&lt;BR /&gt;I am trying to perform a Mutirate Filtering using the IPP funtions in order to speed up clculation time.&lt;BR /&gt;&lt;BR /&gt;Unfortunately I am not obtaining the expected output result.&lt;BR /&gt;&lt;BR /&gt;Following I have attached the piece of code of interest. I would be gratefull if somebody could give me a hint.&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;-----------------------------------------------------&lt;BR /&gt;&lt;STRONG&gt;IppStatus status;&lt;BR /&gt;status = ippInit();&lt;BR /&gt;IppsFIRState_32f *pStateI;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;Ipp32f *pDlyLine = new Ipp32f[(tapsLen+upFactor-1)/upFactor];&lt;/STRONG&gt; //Ipp32f *pDlyLine = NULL not &lt;BR /&gt;working; tapsLen=63;upFactor=625;&lt;BR /&gt;&lt;STRONG&gt;memset(pDlyLine, 0, sizeof(Ipp32f)*((tapsLen+upFactor-1)/upFactor));&lt;BR /&gt;int numIters = uSampleLength/downFactor;&lt;/STRONG&gt; //uSampleLenght is the lenght of input array = 4608; downFactor=192;&lt;BR /&gt;&lt;STRONG&gt;status = ippsFIRMRInitAlloc_32f(&amp;amp;pStateI, pTaps, tapsLen, upFactor, upPhase, downFactor, downPhase, pDlyLine); &lt;/STRONG&gt;//down and up phases are equal to 0;&lt;BR /&gt;&lt;STRONG&gt;status = ippsFIRMR_Direct_32f(pInISample, fIBufferRes, numIters, pTaps, tapsLen, upFactor, upPhase, downFactor, downPhase, pDlyLine);&lt;/STRONG&gt;//fIBufferRes is the output buffer of lenght 15000;&lt;BR /&gt;&lt;STRONG&gt;status = ippsFIRFree_32f(pStateI);&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Thanks you in advance.&lt;BR /&gt;&lt;BR /&gt;Gregorio&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2011 10:04:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-the-FIRMR-Ffnction/m-p/784801#M1869</guid>
      <dc:creator>gregorio_chindamo</dc:creator>
      <dc:date>2011-11-29T10:04:46Z</dc:date>
    </item>
    <item>
      <title>Problems with the FIRMR Ffnction</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-the-FIRMR-Ffnction/m-p/784802#M1870</link>
      <description>Hi Gregorio,&lt;BR /&gt;&lt;BR /&gt;you mixed up 2 functionalities:&lt;BR /&gt;FIR and FIR_Direct&lt;BR /&gt;Use the first one as the second is just a wrapper for the first.&lt;BR /&gt;So first of all call&lt;BR /&gt;ippsFIRMRInitAlloc and initialize MultiRate FIR state structure&lt;BR /&gt;then call&lt;BR /&gt;ippsFIR (it has 2 path - for single rate and for multi-rate - depends on context (state structure))&lt;BR /&gt;then call &lt;BR /&gt;ippsFIRFree&lt;BR /&gt;&lt;BR /&gt;and delay line pointer may be NULL if you use right function flow&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Igor</description>
      <pubDate>Tue, 29 Nov 2011 12:20:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-the-FIRMR-Ffnction/m-p/784802#M1870</guid>
      <dc:creator>igorastakhov</dc:creator>
      <dc:date>2011-11-29T12:20:32Z</dc:date>
    </item>
  </channel>
</rss>

