<?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 Hi Steve, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946023#M18176</link>
    <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;as I've already answered - you should use ippiCopy_8u_C3C1R 2 times (as finaly you need planar format) - this F extracts any channel you need from C3 image (so C4C1 - the same but for C4 image)&lt;/P&gt;
&lt;P&gt;regards, Igor&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2013 15:37:38 GMT</pubDate>
    <dc:creator>Igor_A_Intel</dc:creator>
    <dc:date>2013-07-15T15:37:38Z</dc:date>
    <item>
      <title>Field copy with Alpha</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946012#M18165</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a question&lt;/P&gt;
&lt;P&gt;I have a source buffer of interlaced, interleaved YUV with alpha&lt;/P&gt;
&lt;P&gt;i.e. UYAVYA - 1920x1080&lt;/P&gt;
&lt;P&gt;I need to strip the alpha, extract one field, resize it to half and convert to 420planer&lt;/P&gt;
&lt;P&gt;as a single buffer (i.e not 3 separate planes but a single buffer of concatenated Y,U,V&lt;/P&gt;
&lt;P&gt;Can anyone recommend the fastest set of methods to do this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 12:37:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946012#M18165</guid>
      <dc:creator>BatterseaSteve</dc:creator>
      <dc:date>2013-07-10T12:37:10Z</dc:date>
    </item>
    <item>
      <title>The main problem I have with</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946013#M18166</link>
      <description>&lt;P&gt;The main problem I have with this is actually the alpha strip. i.e. getting the UYAVYA into UYVY.&lt;/P&gt;
&lt;P&gt;I tried the following:&lt;/P&gt;
&lt;P&gt;IppiSize uyvyRoi = {1,1920*1080};&lt;/P&gt;
&lt;P&gt;this-&amp;gt;uyvyBuffer = ippsMalloc_8u(1920*1080*sizeof(Ipp8u)*2);&lt;/P&gt;
&lt;P&gt;ippiCopy_16u_C1R((Ipp8u *)uyavyaBuffer, 3, this-&amp;gt;uyvyBuffer, 2, uyvyRoi);&lt;/P&gt;
&lt;P&gt;but this is incredibly slow (15msec!)&lt;/P&gt;
&lt;P&gt;I am struggling to find anything else that will strip a single channel from a 3 channel image, or copy a 3 channel image to a 2 channel image.&lt;/P&gt;
&lt;P&gt;Any help appreciated.&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:19:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946013#M18166</guid>
      <dc:creator>BatterseaSteve</dc:creator>
      <dc:date>2013-07-10T14:19:00Z</dc:date>
    </item>
    <item>
      <title>Hi Steve,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946014#M18167</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;For stripping alpha channel values you can probably use &lt;STRONG&gt;ippiSwapChannels_8u_C4C3R&lt;/STRONG&gt; function. There's dstOrder[3] array, specifying the order of output channels.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Sergey&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:36:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946014#M18167</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2013-07-10T14:36:38Z</dc:date>
    </item>
    <item>
      <title>Hi Steve,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946015#M18168</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;as finally you need planar format - you can try to use ippiCopy_8u_C4C1R&amp;nbsp;3 times - for Y, U and V&lt;/P&gt;
&lt;P&gt;regards, Igor&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:49:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946015#M18168</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2013-07-10T14:49:17Z</dc:date>
    </item>
    <item>
      <title>Hi Sergey</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946016#M18169</link>
      <description>&lt;P&gt;Hi Sergey&lt;/P&gt;
&lt;P&gt;Thanks for responding. As far as I can tell, the&amp;nbsp;&lt;STRONG&gt;ippiSwapChannels_8u_C4C3R&amp;nbsp;&lt;/STRONG&gt;will only swap 4 component to 3 component - I need 3 component to 2 component.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:54:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946016#M18169</guid>
      <dc:creator>BatterseaSteve</dc:creator>
      <dc:date>2013-07-10T14:54:24Z</dc:date>
    </item>
    <item>
      <title>OK</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946017#M18170</link>
      <description>&lt;P&gt;OK&lt;/P&gt;
&lt;P&gt;I have most of this worked out - except the alpha strip&lt;/P&gt;
&lt;P&gt;As I said above, i can use&amp;nbsp;ippiCopy_16u_C1R - but this is taking a long time - 15msecs&lt;/P&gt;
&lt;P&gt;Can anyone tell me why?&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 23:58:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946017#M18170</guid>
      <dc:creator>BatterseaSteve</dc:creator>
      <dc:date>2013-07-10T23:58:52Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;As I said above, i can use</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946018#M18171</link>
      <description>&amp;gt;&amp;gt;As I said above, i can use ippiCopy_16u_C1R - but this is taking a long time - 15msecs
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;Can anyone tell me why?

You didn't tell us anything about hardware, that is CPU, and my question is do you use a right CPU Dispatching DLL for Image Processing domain?</description>
      <pubDate>Thu, 11 Jul 2013 03:06:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946018#M18171</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-11T03:06:45Z</dc:date>
    </item>
    <item>
      <title>Hi Sergey</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946019#M18172</link>
      <description>&lt;P&gt;Hi Sergey&lt;/P&gt;
&lt;P&gt;Thanks for replying&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CPU is E2660, machine is z820 dual CPU 32 cores. So no slouch! Running g windows 7 64 bi&lt;/P&gt;
&lt;P&gt;Compiled on vs2010 64 bit&lt;/P&gt;
&lt;P&gt;As far as I know I am using auto dispatching.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will check though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 08:23:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946019#M18172</guid>
      <dc:creator>BatterseaSteve</dc:creator>
      <dc:date>2013-07-11T08:23:55Z</dc:date>
    </item>
    <item>
      <title>Take a look at Intel®</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946020#M18173</link>
      <description>Take a look at &lt;STRONG&gt;Intel® Integrated Performance Primitives for Windows* OS User's Guide&lt;/STRONG&gt;:
...
&lt;STRONG&gt;Page 19&lt;/STRONG&gt;
Intel® Integrated Performance Primitives Theory of Operation
Dispatching
...
There is a table &lt;STRONG&gt;Identification of Codes Associated with Processor-Specific Libraries&lt;/STRONG&gt;.</description>
      <pubDate>Thu, 11 Jul 2013 13:17:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946020#M18173</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-11T13:17:54Z</dc:date>
    </item>
    <item>
      <title>Hi Sergey</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946021#M18174</link>
      <description>&lt;P&gt;Hi Sergey&lt;/P&gt;
&lt;P&gt;I run ippInit since I am using static Libs&lt;/P&gt;
&lt;P&gt;I check the cpuType from&amp;nbsp;ippGetCpuType and it returns&amp;nbsp;ippCpuAVX which is correct for my CPU I think.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 15:31:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946021#M18174</guid>
      <dc:creator>BatterseaSteve</dc:creator>
      <dc:date>2013-07-11T15:31:31Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946022#M18175</link>
      <description>&lt;P&gt;Hi Digging a bit deeper reveals the problem to be due to the stepSize I am using.&lt;/P&gt;
&lt;P&gt;If I run:&lt;/P&gt;
&lt;P&gt;ippiSize uyvyRoi = {1,1920*1080};&lt;/P&gt;
&lt;P&gt;uyavyaBuffer = ippsMalloc_8u(1920*1080*sizeof(Ipp8u)*3);&lt;/P&gt;
&lt;P&gt;uyvyBuffer = ippsMalloc_8u(1920*1080*sizeof(Ipp8u)*2);&lt;/P&gt;
&lt;P&gt;ippiCopy_16u_C1R((Ipp8u *)uyavyaBuffer, 3, uyvyBuffer, 2, uyvyRoi);&lt;/P&gt;
&lt;P&gt;I get anything from 7-15msecs.&lt;/P&gt;
&lt;P&gt;If I run:&lt;/P&gt;
&lt;P&gt;ippiSize uyvyRoi = {1920,1080};&lt;/P&gt;
&lt;P&gt;uyavyaBuffer = ippsMalloc_8u(1920*1080*sizeof(Ipp8u)*3);&lt;/P&gt;
&lt;P&gt;uyvyBuffer = ippsMalloc_8u(1920*1080*sizeof(Ipp8u)*2);&lt;/P&gt;
&lt;P&gt;ippiCopy_16u_C1R((Ipp8u *)uyavyaBuffer, 1920*2, uyvyBuffer, 1920*2, uyvyRoi);&lt;/P&gt;
&lt;P&gt;I get 0.2msecs......&lt;/P&gt;
&lt;P&gt;So the point is that trying to strip the alpha by treating the source buffer as a 3x(1920x1080) buffer and the dest as a 2x(1920x1080) buffer is bad. Which puts me back to square one...... Anyone got any other ideas - 'cause I can write a c loop thats quicker.&lt;/P&gt;
&lt;P&gt;Cheers Steve&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2013 16:04:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946022#M18175</guid>
      <dc:creator>BatterseaSteve</dc:creator>
      <dc:date>2013-07-12T16:04:00Z</dc:date>
    </item>
    <item>
      <title>Hi Steve,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946023#M18176</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;as I've already answered - you should use ippiCopy_8u_C3C1R 2 times (as finaly you need planar format) - this F extracts any channel you need from C3 image (so C4C1 - the same but for C4 image)&lt;/P&gt;
&lt;P&gt;regards, Igor&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2013 15:37:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946023#M18176</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2013-07-15T15:37:38Z</dc:date>
    </item>
    <item>
      <title>Hi Igor</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946024#M18177</link>
      <description>&lt;P&gt;Hi Igor&lt;/P&gt;
&lt;P&gt;Thanks for replying and sorry - I did see your comment before and thought I had replied.&lt;/P&gt;
&lt;P&gt;The problem with&amp;nbsp;ippiCopy_8u_C3C1R is that it extracts the UYA VYA image into Y's and UV's.&lt;/P&gt;
&lt;P&gt;I tried this as you suggested but&amp;nbsp;I need the Y's the U's and the V's in separate buffers.&lt;/P&gt;
&lt;P&gt;So the question remains as to how I extract the UV's into separate U and V buffers?&lt;/P&gt;
&lt;P&gt;I have looked at the format conversions to see if there was one that would take NV12 422 and convert to YUV420p but I could not see one.&lt;/P&gt;
&lt;P&gt;I've been on this a week now and am now delving into trying to use SSE!&lt;/P&gt;
&lt;P&gt;Any thoughts gratefully received?&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2013 17:49:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946024#M18177</guid>
      <dc:creator>BatterseaSteve</dc:creator>
      <dc:date>2013-07-15T17:49:39Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946025#M18178</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I solved this using a bit of bespoke SSE to split the UV buffer into separate U and V buffers.&lt;/P&gt;
&lt;P&gt;Total time seems acceptable.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2013 15:59:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Field-copy-with-Alpha/m-p/946025#M18178</guid>
      <dc:creator>BatterseaSteve</dc:creator>
      <dc:date>2013-07-22T15:59:11Z</dc:date>
    </item>
  </channel>
</rss>

