<?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 use ippiAlphaComp with frei0r? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805809#M3570</link>
    <description>&lt;P&gt;You may misinterpret IPP functions &lt;A href="http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_lnx/hh_goto.htm#IPPI/ippi_ch2/ch2_data_types.htm"&gt;data type&lt;/A&gt; and function &lt;A href="http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_lnx/hh_goto.htm#IPPI/ippi_ch2/ch2_descriptor.htm"&gt;descriptor&lt;/A&gt; notation.According naming convention accepted in IPP,"32u_AC4R"stands for 4-channel image where each channel is Ipp32u data type, so whole pixel will consist from four Ipp32uvalues.&lt;BR /&gt;&lt;BR /&gt;In case you work with traditional 8-bits per color channel images you need to use ippiAlphaComp_8u_ function.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2011 16:52:21 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2011-02-08T16:52:21Z</dc:date>
    <item>
      <title>How to use ippiAlphaComp with frei0r?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805808#M3569</link>
      <description>Hello,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am trying to modify one of the frei0r files to make a call to ippiAlphaComp because I think it might have better performance than just frei0r itself. I want to put it within a frei0r file though because I have a gstreamer wrapper that will allow me to use the ippiAlphaComp function within a gstreamer pipeline. I realize that this is probably a strange thing to do, but I am having difficulty getting it to work correctly.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Here is what I expect to get:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG src="http://i56.tinypic.com/2ezr7er.jpg" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Here is what I actually get:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG src="http://i53.tinypic.com/11vqfkl.jpg" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Does anyone have any ideas on what might cause this? I've tried every possible value for &lt;MOD&gt; and none of them work, so I don't think it's that.&lt;/MOD&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;EDIT: One thing that might cause this is...:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;ippiAlphaComp_32u_AC4R((const Ipp32u *) inframe1, w, (const Ipp32u *) inframe2, w, (Ipp32u *) outframe, w, sz, ippAlphaOver);&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;That is my function call. Is it okay to be typecasting to Ipp32u *?&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Feb 2011 19:51:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805808#M3569</guid>
      <dc:creator>moduspwnens</dc:creator>
      <dc:date>2011-02-07T19:51:07Z</dc:date>
    </item>
    <item>
      <title>How to use ippiAlphaComp with frei0r?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805809#M3570</link>
      <description>&lt;P&gt;You may misinterpret IPP functions &lt;A href="http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_lnx/hh_goto.htm#IPPI/ippi_ch2/ch2_data_types.htm"&gt;data type&lt;/A&gt; and function &lt;A href="http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_lnx/hh_goto.htm#IPPI/ippi_ch2/ch2_descriptor.htm"&gt;descriptor&lt;/A&gt; notation.According naming convention accepted in IPP,"32u_AC4R"stands for 4-channel image where each channel is Ipp32u data type, so whole pixel will consist from four Ipp32uvalues.&lt;BR /&gt;&lt;BR /&gt;In case you work with traditional 8-bits per color channel images you need to use ippiAlphaComp_8u_ function.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2011 16:52:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805809#M3570</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2011-02-08T16:52:21Z</dc:date>
    </item>
    <item>
      <title>How to use ippiAlphaComp with frei0r?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805810#M3571</link>
      <description>Oh, ok. So if I have an image with 32 pits per pixel, I shouldn't use the modifier "32u_AC4R"? I should use 8u_AC4R? The modifier isn't referring to how many pixels are in the image as whole, but how many pixels are in each channel?&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I think I get it. However, when I try using the 8u_AC4R function instead of the 32, I get a seg fault. I am calling it from a frei0r function that takes a const uint32_t* though and I am just type casting it to (Ipp8u *), which would probably cause problems..&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Feb 2011 19:39:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805810#M3571</guid>
      <dc:creator>moduspwnens</dc:creator>
      <dc:date>2011-02-11T19:39:51Z</dc:date>
    </item>
    <item>
      <title>How to use ippiAlphaComp with frei0r?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805811#M3572</link>
      <description>Yes, that's right, modifier specify how many bits per color channel, and number of color channels specified separately by C4 (or C1 or C3) symbols.&lt;BR /&gt;&lt;BR /&gt;There is another very popular trouble for new IPP users, it is what is step parameter in image processing functions. It should be number of bytes per image row (not number of pixels).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir</description>
      <pubDate>Fri, 11 Feb 2011 20:19:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805811#M3572</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2011-02-11T20:19:24Z</dc:date>
    </item>
    <item>
      <title>How to use ippiAlphaComp with frei0r?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805812#M3573</link>
      <description>D'oh! That's what got me. I was using pixels instead of bytes per image row. It works fine now, thanks!</description>
      <pubDate>Fri, 11 Feb 2011 21:02:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/How-to-use-ippiAlphaComp-with-frei0r/m-p/805812#M3573</guid>
      <dc:creator>moduspwnens</dc:creator>
      <dc:date>2011-02-11T21:02:57Z</dc:date>
    </item>
  </channel>
</rss>

