<?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 Looking for Join function in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Looking-for-Join-function/m-p/983589#M21597</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  I am trying to look for IPP function that&lt;BR /&gt;join 2 32 bit RGBA images into 1.&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;R1G1B1A1 R1G1B1A1 R1G1B1A1 ....&lt;BR /&gt;R2G2B2A2 R2G2B2A2 R2G2B2A2 ....&lt;BR /&gt;&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;&lt;BR /&gt;R1G1B1A1 R2G2B2A2 R1G1B1A1 R2G2B2A2 R1G1B1A1 R2G2B2A2 ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Although this can be done easily in a loop.&lt;BR /&gt;&lt;BR /&gt;int *p = (int *) src1;&lt;BR /&gt;int *q = (int *) src2;&lt;BR /&gt;int *r = (int *) dst;&lt;BR /&gt;for (int j=0; j &amp;lt; imgWidth*imgHeight; j++) {&lt;BR /&gt;  *r++ = *p++;&lt;BR /&gt;  *r++ = *q++;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I wonder if IPP can give me better performance&lt;BR /&gt;since it is critical.&lt;BR /&gt;&lt;BR /&gt;I search for imaging, video and small matrices&lt;BR /&gt;reference but can't locate a suitable function.&lt;BR /&gt;&lt;BR /&gt;Let me know if I miss small useful function&lt;BR /&gt;to replace above code.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot !&lt;BR /&gt;&lt;BR /&gt;- Kelvin&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://graphics.usc.edu/~tatchung" target="_blank"&gt;http://graphics.usc.edu/~tatchung&lt;/A&gt;</description>
    <pubDate>Fri, 22 Jul 2005 04:57:08 GMT</pubDate>
    <dc:creator>Kelvin</dc:creator>
    <dc:date>2005-07-22T04:57:08Z</dc:date>
    <item>
      <title>Looking for Join function</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Looking-for-Join-function/m-p/983589#M21597</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  I am trying to look for IPP function that&lt;BR /&gt;join 2 32 bit RGBA images into 1.&lt;BR /&gt;i.e.&lt;BR /&gt;&lt;BR /&gt;R1G1B1A1 R1G1B1A1 R1G1B1A1 ....&lt;BR /&gt;R2G2B2A2 R2G2B2A2 R2G2B2A2 ....&lt;BR /&gt;&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;&lt;BR /&gt;R1G1B1A1 R2G2B2A2 R1G1B1A1 R2G2B2A2 R1G1B1A1 R2G2B2A2 ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Although this can be done easily in a loop.&lt;BR /&gt;&lt;BR /&gt;int *p = (int *) src1;&lt;BR /&gt;int *q = (int *) src2;&lt;BR /&gt;int *r = (int *) dst;&lt;BR /&gt;for (int j=0; j &amp;lt; imgWidth*imgHeight; j++) {&lt;BR /&gt;  *r++ = *p++;&lt;BR /&gt;  *r++ = *q++;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I wonder if IPP can give me better performance&lt;BR /&gt;since it is critical.&lt;BR /&gt;&lt;BR /&gt;I search for imaging, video and small matrices&lt;BR /&gt;reference but can't locate a suitable function.&lt;BR /&gt;&lt;BR /&gt;Let me know if I miss small useful function&lt;BR /&gt;to replace above code.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot !&lt;BR /&gt;&lt;BR /&gt;- Kelvin&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://graphics.usc.edu/~tatchung" target="_blank"&gt;http://graphics.usc.edu/~tatchung&lt;/A&gt;</description>
      <pubDate>Fri, 22 Jul 2005 04:57:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Looking-for-Join-function/m-p/983589#M21597</guid>
      <dc:creator>Kelvin</dc:creator>
      <dc:date>2005-07-22T04:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for Join function</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Looking-for-Join-function/m-p/983590#M21598</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;it looks like with your 'easy loop' youwill getsomething like&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;R1R2G1G2B1B2A1A2...&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;it can bedone in IPP by:&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Courier New CYR" size="2"&gt;&lt;/FONT&gt;
&lt;P&gt;IppStatus ippsRealToCplx_32f(const Ipp32f* &lt;I&gt;pSrcRe&lt;/I&gt;, const Ipp32f* &lt;I&gt;pSrcIm&lt;/I&gt;, Ipp32fc* &lt;I&gt;pDst&lt;/I&gt;, int &lt;I&gt;len&lt;/I&gt;);&lt;/P&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#000080" size="2"&gt;
&lt;P&gt;but there is no appropriate function in IPP to get&lt;BR /&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;R1G1B1A1 R2G2B2A2...&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2"&gt;so you need to write such code by yourself&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" size="2"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/FONT&gt;&lt;FONT color="#000080" size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Jul 2005 23:29:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Looking-for-Join-function/m-p/983590#M21598</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-07-27T23:29:06Z</dc:date>
    </item>
  </channel>
</rss>

