<?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 I ended up asking a similar in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Optimized-RGB-and-RGBA-Compositing/m-p/924225#M16036</link>
    <description>&lt;P&gt;I ended up asking a similar question on stackoverflow, here is the link that will hopefully aid someone else.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/22018826/implement-a-near-real-time-cpu-capability-like-glalphafuncgl-greater-with-rgb"&gt;http://stackoverflow.com/questions/22018826/implement-a-near-real-time-cpu-capability-like-glalphafuncgl-greater-with-rgb&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2014 17:59:26 GMT</pubDate>
    <dc:creator>Shane_W_</dc:creator>
    <dc:date>2014-02-26T17:59:26Z</dc:date>
    <item>
      <title>Optimized RGB and RGBA Compositing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Optimized-RGB-and-RGBA-Compositing/m-p/924223#M16034</link>
      <description>&lt;P&gt;Is there anything in the IPP that will accomplish using the Alpha channel of RGBA image to overlay the RGB components onto an RGB image or to a new image? &amp;nbsp;I've taken a look at the ippiAlphaComp() functions, but they do not seem to allow mixing of C4R and C3R.&lt;/P&gt;

&lt;P&gt;Basically looking for this:&lt;/P&gt;

&lt;P&gt;SourceB = RGB image&lt;/P&gt;

&lt;P&gt;SourceO = RGBA image&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;
SourceB&lt;R&gt; = (SourceO&lt;A&gt; x SourceO&lt;R&gt;) + (SourceB&lt;R&gt; x (255 - SourceO&lt;/R&gt;&lt;/R&gt;&lt;/A&gt;&lt;A&gt;))
SourceB&lt;G&gt; = (SourceO&lt;/G&gt;&lt;/A&gt;&lt;A&gt; x SourceO&lt;G&gt;) + (SourceB&lt;G&gt; x (255 - SourceO&lt;/G&gt;&lt;/G&gt;&lt;/A&gt;&lt;A&gt;))
SourceB&lt;B&gt; = (SourceO&lt;/B&gt;&lt;/A&gt;&lt;A&gt; x SourceO&lt;B&gt;) + (SourceB&lt;B&gt; x (255 - SourceO&lt;/B&gt;&lt;/B&gt;&lt;/A&gt;&lt;A&gt;))&lt;/A&gt;&lt;/R&gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2014 16:58:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Optimized-RGB-and-RGBA-Compositing/m-p/924223#M16034</guid>
      <dc:creator>Shane_W_</dc:creator>
      <dc:date>2014-02-24T16:58:45Z</dc:date>
    </item>
    <item>
      <title>Hi Shane,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Optimized-RGB-and-RGBA-Compositing/m-p/924224#M16035</link>
      <description>&lt;P&gt;Hi Shane,&lt;/P&gt;

&lt;P&gt;yes, mixing in this case doesn't work. Possible way is to convert C3 image to AC4 (ippiCopy_8u_C3AC4R), fill A channel with "1" and then use ippAlphaOver function that applies aA*A+(1-aA)*aB*B formula. I guess it will be too expensive from the performance point of view and it's better to use the simple loop in your code.&lt;/P&gt;

&lt;P&gt;regards, Igor&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2014 07:59:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Optimized-RGB-and-RGBA-Compositing/m-p/924224#M16035</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2014-02-25T07:59:33Z</dc:date>
    </item>
    <item>
      <title>I ended up asking a similar</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Optimized-RGB-and-RGBA-Compositing/m-p/924225#M16036</link>
      <description>&lt;P&gt;I ended up asking a similar question on stackoverflow, here is the link that will hopefully aid someone else.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/22018826/implement-a-near-real-time-cpu-capability-like-glalphafuncgl-greater-with-rgb"&gt;http://stackoverflow.com/questions/22018826/implement-a-near-real-time-cpu-capability-like-glalphafuncgl-greater-with-rgb&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 17:59:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Optimized-RGB-and-RGBA-Compositing/m-p/924225#M16036</guid>
      <dc:creator>Shane_W_</dc:creator>
      <dc:date>2014-02-26T17:59:26Z</dc:date>
    </item>
  </channel>
</rss>

