<?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 How to deinterlace complex from real data in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-deinterlace-complex-from-real-data/m-p/785938#M1998</link>
    <description>I need to apply separate functions to real and complex data like so:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;for (int i = 1; i &amp;lt; res / 2 + 1; i++) {&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;output[2 * i] = magnitudes&lt;I&gt; * cosf(phases&lt;I&gt;);&lt;/I&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;					output[2 * i + 1] = magnitudes&lt;I&gt; * sinf(phases&lt;I&gt;);&lt;/I&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;}&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;My IPP code looks like this (+1s are due to CCS format):&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;ippsCos_32f_A11(phases + 1, phaseCos + 1, res / 2);&lt;/DIV&gt;&lt;DIV&gt;ippsSin_32f_A11(phases + 1, phaseSin + 1, res / 2);&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;// deinterlace CCS format data output into real[] and imag[] arrays (?)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;ippsMul_32f_A24(phaseCos + 1, magnitudes + 1, real, res / 2);&lt;/DIV&gt;&lt;DIV&gt;ippsMul_32f_A24(phaseSin + 1, magnitudes + 1, imag, res / 2);&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;To my knowledge there are no FFT formats that pack data into contiguous real and imaginary parts. Thanks&lt;/DIV&gt;</description>
    <pubDate>Tue, 08 Mar 2011 20:25:24 GMT</pubDate>
    <dc:creator>daven-hughes</dc:creator>
    <dc:date>2011-03-08T20:25:24Z</dc:date>
    <item>
      <title>How to deinterlace complex from real data</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-deinterlace-complex-from-real-data/m-p/785938#M1998</link>
      <description>I need to apply separate functions to real and complex data like so:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;for (int i = 1; i &amp;lt; res / 2 + 1; i++) {&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;output[2 * i] = magnitudes&lt;I&gt; * cosf(phases&lt;I&gt;);&lt;/I&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;					output[2 * i + 1] = magnitudes&lt;I&gt; * sinf(phases&lt;I&gt;);&lt;/I&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;}&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;My IPP code looks like this (+1s are due to CCS format):&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;ippsCos_32f_A11(phases + 1, phaseCos + 1, res / 2);&lt;/DIV&gt;&lt;DIV&gt;ippsSin_32f_A11(phases + 1, phaseSin + 1, res / 2);&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;// deinterlace CCS format data output into real[] and imag[] arrays (?)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;ippsMul_32f_A24(phaseCos + 1, magnitudes + 1, real, res / 2);&lt;/DIV&gt;&lt;DIV&gt;ippsMul_32f_A24(phaseSin + 1, magnitudes + 1, imag, res / 2);&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;To my knowledge there are no FFT formats that pack data into contiguous real and imaginary parts. Thanks&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Mar 2011 20:25:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-deinterlace-complex-from-real-data/m-p/785938#M1998</guid>
      <dc:creator>daven-hughes</dc:creator>
      <dc:date>2011-03-08T20:25:24Z</dc:date>
    </item>
    <item>
      <title>How to deinterlace complex from real data</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-deinterlace-complex-from-real-data/m-p/785939#M1999</link>
      <description>Aha! Just found ippsCplxToReal_32fc. Guess I used poor search keywords.</description>
      <pubDate>Tue, 08 Mar 2011 20:42:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-deinterlace-complex-from-real-data/m-p/785939#M1999</guid>
      <dc:creator>daven-hughes</dc:creator>
      <dc:date>2011-03-08T20:42:27Z</dc:date>
    </item>
    <item>
      <title>These IPPs are really having</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-deinterlace-complex-from-real-data/m-p/785940#M2000</link>
      <description>&lt;P&gt;These IPPs are really having bad sense of Grammar. For instance ippsRealToCplx_32f should mean it converts real numbers to complex whereas it does just the opposite - it is converting Complex to real. Just nuts !! what say ?&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2013 11:43:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-deinterlace-complex-from-real-data/m-p/785940#M2000</guid>
      <dc:creator>debasish_deka</dc:creator>
      <dc:date>2013-05-10T11:43:23Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...How to deinterlace</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-deinterlace-complex-from-real-data/m-p/785941#M2001</link>
      <description>&amp;gt;&amp;gt;...How to deinterlace complex from real data...

There are two functions in DSP domain of IPP and here are short descriptions from &lt;STRONG&gt;ipps.h&lt;/STRONG&gt; header file:

&lt;STRONG&gt;ippsCplxToReal&lt;/STRONG&gt; - form the real and imaginary parts of the input complex vector

and

&lt;STRONG&gt;ippsRealToCplx&lt;/STRONG&gt; - form complex vector from the real and imaginary components

and, as you can see, &lt;STRONG&gt;ippsRealToCplx&lt;/STRONG&gt; needs to be used in your case.</description>
      <pubDate>Mon, 13 May 2013 00:06:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-deinterlace-complex-from-real-data/m-p/785941#M2001</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-05-13T00:06:08Z</dc:date>
    </item>
  </channel>
</rss>

