<?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 Re: Regard  ippiResize* function usage in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884709#M10583</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Hi Ying et al,&lt;BR /&gt;&lt;BR /&gt;We would be using the non-threaded version due to higher-level threading in our software. What would the performance numbers be for &lt;EM&gt;ippiReiszeSqrPixel &lt;/EM&gt;(&lt;EM&gt;'map_serial'&lt;/EM&gt;) when just using one thread (maxing out one core)?&lt;BR /&gt;&lt;BR /&gt;In my view - and for our usage pattern - it is still essential that new functions replacing older ones also perform at-least comparable to (preferably better than) the functions they replace for single-threaded use. The use of multi-threading should be an option (as it also is) that just enables higher performance in the right usages.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt; - Jay&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Aug 2009 08:15:50 GMT</pubDate>
    <dc:creator>j_miles</dc:creator>
    <dc:date>2009-08-27T08:15:50Z</dc:date>
    <item>
      <title>Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884695#M10569</link>
      <description>&lt;P&gt;We recently noticeda&lt;SPAN style="text-decoration: underline;"&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=64819"&gt; common forum topic&lt;/A&gt;&lt;/SPAN&gt; regarding ippiResize* function, I would like to share the following information with forum participants, please reply this thread if you have anyadditional comments.&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;First, start Intel IPP v6.0, there are several APIs deprecated including &lt;EM&gt;ippiResize()&lt;/EM&gt;, please visit &lt;A href="http://software.intel.com/en-us/articles/deprecated-ipp-api-in-version-60/" title="http://software.intel.com/en-us/articles/deprecated-ipp-api-in-version-60/"&gt;this article&lt;/A&gt; in Intel IPP Knowledge Base for more details. &lt;BR /&gt;&lt;BR /&gt;Second, there is a known issue on new image resize function &lt;EM&gt;ippiResizeSqrPixel()&lt;/EM&gt; in current Intel IPP v6.0, please check this article "&lt;A href="http://software.intel.com/en-us/articles/resize-function-ippiresizesqrpixel-crashed-for-small-image/" title="http://software.intel.com/en-us/articles/resize-function-ippiresizesqrpixel-crashed-for-small-image/"&gt;Resize function ippiResizeSqrPixel() crashed for small image&lt;/A&gt;" for more reference. It also includes a C code sample on &lt;EM&gt;ippiResizeSqrPixel()&lt;/EM&gt; usage.&lt;BR /&gt;&lt;BR /&gt;Additionally,you may take care of the parameter [src/dst]Stepr. Some unexepcted error may come from wrong step value. For example, the stepBytesmay not always equal tochannel*Width. &lt;BR /&gt;It may be ((nChannel*srcWidth+3)&amp;gt;&amp;gt;2)&amp;lt;&amp;lt;2 if a bmp image with4 bytes-aligned ora multiple of 32 when use ippiMalloc.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2009 15:15:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884695#M10569</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-06-10T15:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884696#M10570</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
Could you provide more information on ippiResizeSqrPixel's usage of an external buffer? They seem to be sufficiently large to require a separate allocation for every resized image, as opposed to using the destination buffer or the stack.&lt;BR /&gt;The deprecated ippiResize did not require one; did it allocate internally, or was it more efficient in this regard?&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jun 2009 02:11:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884696#M10570</guid>
      <dc:creator>oxydius</dc:creator>
      <dc:date>2009-06-16T02:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884697#M10571</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Each language (C++, C#, Delphi, other), each platform has own memory manager. An user will control the allocation of memory in your applicationitself usingthe function with external buffer (ippiResizeSqrPixel). Therefore usage of such functionality is more preferable, than usage old (ippiResize) with internal allocation and clearing of the memory.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt; Beg&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Jun 2009 08:41:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884697#M10571</guid>
      <dc:creator>Yuri_Tikhomirov__Int</dc:creator>
      <dc:date>2009-06-16T08:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884698#M10572</link>
      <description>&lt;DIV style="margin:0px;"&gt;Dear Mr. Ying,&lt;BR /&gt;I am new to Ipp community. I was using OpenCV for Image Processing software development. But, due to limitation of 8 bit(my image data is of 16 bit ), I started trying Ipp from last week with Trial version. I am using the function &lt;BR /&gt;ippiFilterMedian_16u_C1R for median filter.&lt;BR /&gt;&lt;BR /&gt;Regarding your suggestion,&lt;BR /&gt;"Additionally,you may take care of the parameter [src/dst]Stepr. Some unexepcted error may come from wrong step value. For example, the stepBytesmay not always equal tochannel*Width. &lt;BR /&gt;It may be ((nChannel*srcWidth+3)&amp;gt;&amp;gt;2)&amp;lt;&amp;lt;2 if a bmp image with4 bytes-aligned ora multiple of 32 when use ippiMalloc.", &lt;BR /&gt;I have a query for my 16 bit single channel data as set in my program.&lt;BR /&gt;int dstStep = dstWidth * 2; // 1 WORD size = 2 BYTE, wheredstWidth = srcWidth - (nKernelWidth - 1); &lt;BR /&gt;&lt;BR /&gt;Am I doing correctly? Pls. suggest.&lt;BR /&gt;The function build is OK and it is working fine.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/404199"&gt;Ying Hu (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;We recently noticeda&lt;SPAN style="text-decoration: underline;"&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=64819"&gt; common forum topic&lt;/A&gt;&lt;/SPAN&gt; regarding ippiResize* function, I would like to share the following information with forum participants, please reply this thread if you have anyadditional comments.&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;First, start Intel IPP v6.0, there are several APIs deprecated including &lt;EM&gt;ippiResize()&lt;/EM&gt;, please visit &lt;A title="http://software.intel.com/en-us/articles/deprecated-ipp-api-in-version-60/" href="http://software.intel.com/en-us/articles/deprecated-ipp-api-in-version-60/"&gt;this article&lt;/A&gt; in Intel IPP Knowledge Base for more details. &lt;BR /&gt;&lt;BR /&gt;Second, there is a known issue on new image resize function &lt;EM&gt;ippiResizeSqrPixel()&lt;/EM&gt; in current Intel IPP v6.0, please check this article "&lt;A title="http://software.intel.com/en-us/articles/resize-function-ippiresizesqrpixel-crashed-for-small-image/" href="http://software.intel.com/en-us/articles/resize-function-ippiresizesqrpixel-crashed-for-small-image/"&gt;Resize function ippiResizeSqrPixel() crashed for small image&lt;/A&gt;" for more reference. It also includes a C code sample on &lt;EM&gt;ippiResizeSqrPixel()&lt;/EM&gt; usage.&lt;BR /&gt;&lt;BR /&gt;Additionally,you may take care of the parameter [src/dst]Stepr. Some unexepcted error may come from wrong step value. For example, the stepBytesmay not always equal tochannel*Width. &lt;BR /&gt;It may be ((nChannel*srcWidth+3)&amp;gt;&amp;gt;2)&amp;lt;&amp;lt;2 if a bmp image with4 bytes-aligned ora multiple of 32 when use ippiMalloc.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jun 2009 07:31:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884698#M10572</guid>
      <dc:creator>johnarg15yahoo_com</dc:creator>
      <dc:date>2009-06-17T07:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884699#M10573</link>
      <description>&lt;BR /&gt;Hi John, &lt;BR /&gt;&lt;BR /&gt;Could you tell how do you creat/load or store your dst image data ? &lt;BR /&gt;for example, if you use OpenCV API cvCreateImage() to create a dst image,&lt;BR /&gt;&lt;BR /&gt;int dstWidth=7;&lt;BR /&gt; int dstHeight= 1;&lt;BR /&gt; CvSize tempSize={dstWidth,dstHeight};&lt;BR /&gt; dst = cvCreateImage( tempSize, 16, 1 );&lt;BR /&gt;Then therow ofdstis 4 byte aligned, thus dst-&amp;gt;widthStep=16, not 7x2=14, so to call dst-&amp;gt;widthStep may be safe here &lt;BR /&gt;If you are using malloc()&lt;BR /&gt; dst= (short *) malloc(dstWidth*dstHeight*sizeof(short));&lt;BR /&gt;Then the dstStep is dstWidth*2. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying</description>
      <pubDate>Tue, 23 Jun 2009 05:19:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884699#M10573</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-06-23T05:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884700#M10574</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
Hi,&lt;BR /&gt;&lt;BR /&gt;We have noticed that when calling the function ippResize or ippResizeCenter recursively and sequentially with small delay (&amp;lt; 100 ms) in between, uses less CPU usage as compared to ippResizeSqrPixel. The comparison is based on resizing 1280x1024 image to 877x602 image. We have tried using the single algorithm or parallel algorithm introduced in the documentation but it still uses alot of CPU usage in both algorithms. We cannot figure out what's wrong with ippResizeSqrPixel function. &lt;BR /&gt;&lt;BR /&gt;Can anyone please enlighten on this issue?&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 09:52:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884700#M10574</guid>
      <dc:creator>I2R_D_T_Team</dc:creator>
      <dc:date>2009-07-14T09:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884701#M10575</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/432262"&gt;I2R D&amp;amp;T Team&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;We have noticed that when calling the function ippResize or ippResizeCenter recursively and sequentially with small delay (&amp;lt; 100 ms) in between, uses less CPU usage as compared to ippResizeSqrPixel. The comparison is based on resizing 1280x1024 image to 877x602 image. We have tried using the single algorithm or parallel algorithm introduced in the documentation but it still uses alot of CPU usage in both algorithms. We cannot figure out what's wrong with ippResizeSqrPixel function. &lt;BR /&gt;&lt;BR /&gt;Can anyone please enlighten on this issue?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello, &lt;BR /&gt;&lt;BR /&gt;One quick thought, the delaymay berelated tothe muil-thread (threads overhead). Could you please attach a small test code (especially the calll order and time measure)so we can reproduce the problem? &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ying</description>
      <pubDate>Wed, 22 Jul 2009 03:11:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884701#M10575</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-07-22T03:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884702#M10576</link>
      <description>Hi Ying Hu,&lt;BR /&gt;&lt;BR /&gt;Galdly! ;-) Please locate the 2 C++ attached source files. I am using OpenCV 1.0 to load the image into buffer and run the various resize function in IPPLibTester class. I am using IPP 6.1.1.035 library to run this example.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;I2R D&amp;amp;T Team&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jul 2009 03:10:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884702#M10576</guid>
      <dc:creator>I2R_D_T_Team</dc:creator>
      <dc:date>2009-07-24T03:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884703#M10577</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
Hi Ying Hu,&lt;BR /&gt;&lt;BR /&gt;Did you managed to resolve the issue I raised?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;I2R D&amp;amp;T Team&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Aug 2009 04:52:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884703#M10577</guid>
      <dc:creator>I2R_D_T_Team</dc:creator>
      <dc:date>2009-08-21T04:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884704#M10578</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/432262"&gt;I2R D&amp;amp;T Team&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi Ying Hu,&lt;BR /&gt;&lt;BR /&gt;Did you managed to resolve the issue I raised?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;I2R D&amp;amp;T Team&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello I2R D&amp;amp;T Team&lt;BR /&gt;&lt;BR /&gt;Sorry, I happen to notice your reply till now.Could you please tell me more informations, like &lt;BR /&gt;1. the IPP version andthe library you are linking, your OS and CPU type?&lt;BR /&gt;2. And how do you measure your observation, by task manager : cpu usageor other time measure funtions? &lt;BR /&gt;&lt;BR /&gt;But generally, it is expected that high performance corresponding high cpuusage. What is your concerns aboutippResizeSqrPixel? it take more times than ippiResizeor CPU usage is high?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Additionally, about the parallel code, if you are calling ipp 6.1 and dynamic library, the ippiResizeSqrPixel is threaded by OpenMP internally. So in most cases, you don't need to write OpenMP parallel code to wrapper it again. IPPwill disable the IPP internal thread if it detectexternal parallel region. Is there any reason for your create OpenMP thread by yourself? &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying &lt;BR /&gt;</description>
      <pubDate>Tue, 25 Aug 2009 09:55:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884704#M10578</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-08-25T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884705#M10579</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Hi Ying Hu,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply. I thought my concern will ends with no answer from here.&lt;BR /&gt;&lt;BR /&gt;The program I am working uses IPP 6.1.1.035 and also links to OpenCV 1.0 for image retrieval. The OS and CPU I am using is Win XP 32bit, running on Intel Xeon E5430 2.66Ghz with 3GB memory. I observe the high CPU usage from task manager for the process I am using the example. The time measurement for the resize functions are calculated in the program.&lt;BR /&gt;&lt;BR /&gt;My concern is the unusual high CPU usage for ippiResizeSqrPixel function that ippiResize function does not produce. I am testing using OpenMP and non-OpenMP version to test if the ippiResizeSqrPixel function does exhibits high CPU usage and indeed it does.&lt;BR /&gt;&lt;BR /&gt;I understand that ippiResizeSqrPixel function takes over ippiResize function because it has more variety of resize techniques under one function. However, if the ippiResizeSqrPixel function exhibits high CPU usage, it is not attractive and practical to use. Performing image resizing is handy in many applications we are developing but it just one part of the whole operations running in parallel. Having high CPU usage for a single opeartion  slows down significantly other parallel operations in our design. In this case, we have to switch back and use the deprecated ippiResize function.&lt;BR /&gt;&lt;BR /&gt;As long as the ippiResize function is still supported in future IPP releases, this issue is just a concern. You understand my point here?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;I2R D&amp;amp;T Team&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Aug 2009 01:34:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884705#M10579</guid>
      <dc:creator>I2R_D_T_Team</dc:creator>
      <dc:date>2009-08-26T01:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884706#M10580</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;as Ying have mention before, high cpu usage usually corresponds to better performance. If you will count number of cpu clocks spent in ippiResize and ippiResizeSqrPixel you may notice that the second function takes less clocks to do the same work. That basically left more time for other processing you may do in parallel.&lt;BR /&gt;&lt;BR /&gt;Note, if you do threading on top of IPP (i.e. application has several threads calling IPP functions in parallel) itmay make sense to disable IPP internal threading with ippSetNumThreads(1) call to avoid threads oversubscription.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Aug 2009 05:10:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884706#M10580</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-08-26T05:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884707#M10581</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;Thank you for rehighlighting the point of high performance usually corresponds to high cpu usage.&lt;BR /&gt;&lt;BR /&gt;If I may and interests to ask which software did you used to get the number CPU clocks executed by a specific function?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;I2R D&amp;amp;T Team&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Aug 2009 02:09:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884707#M10581</guid>
      <dc:creator>I2R_D_T_Team</dc:creator>
      <dc:date>2009-08-27T02:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884708#M10582</link>
      <description>&lt;BR /&gt;Hi I2R D&amp;amp;T Team, &lt;BR /&gt;&lt;BR /&gt;We usually use IPP function ippGetCpuClocks() to get CPU clocks. &lt;BR /&gt;&lt;BR /&gt;for example, &lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;Ipp64u start = ippGetCpuClocks();&lt;BR /&gt;for (int k=0;k&amp;lt;1000; k++)&lt;BR /&gt; //ipplib-&amp;gt;map_deprecatedCenter((byte*)img-&amp;gt;imageData, img-&amp;gt;widthStep, szSrc, destImg, nDestStride, szDest);&lt;BR /&gt; ipplib-&amp;gt;map_serial((byte*)img-&amp;gt;imageData, img-&amp;gt;widthStep, szSrc, destImg, nDestStride, szDest);&lt;/P&gt;
&lt;P&gt;//Sleep(99);&lt;BR /&gt;//}&lt;BR /&gt; Ipp64u end = ippGetCpuClocks();&lt;/P&gt;
&lt;P&gt; double ippCPE= double(end-start)/(szDest.width*szDest.height*3*1000.);&lt;BR /&gt; double ippClock= double(end-start)/(double(pMhz)*1000. *100.0);&lt;BR /&gt; printf( " IPP cpe = %gn", ippCPE );&lt;BR /&gt;printf( " IPP time = %gmsn", ippClock );&lt;BR /&gt;&lt;BR /&gt;I did a test on my lapatop with your test program. &lt;BR /&gt;Core2Duo-2.0GHz, T7300, 2 cores, 1.96RAM, linking 32bitdynamic library, ippi.lib ippcore.lib&lt;/P&gt;
&lt;P&gt;ippiv8-6.1.dll 6.1 build 137.20 6.1.137.809&lt;/P&gt;
&lt;P&gt;map_deprecatedCenter :&lt;BR /&gt;IPP cpe = 42.6039&lt;BR /&gt;IPP time = 338.239ms&lt;BR /&gt;calculating time = 338.413ms&lt;BR /&gt;cpu usage= 50%, TAKE FULL ONE core&lt;BR /&gt;&lt;BR /&gt;map_serial:&lt;/P&gt;
&lt;P&gt;IPP cpe = 32.0714&lt;BR /&gt;IPP time = 254.62ms&lt;BR /&gt;calculating time = 254.752ms&lt;BR /&gt;cpu uage=100%, take full two core. &lt;BR /&gt;&lt;BR /&gt;Aswe mentioned, the ippiReiszeSqrPixel is threaded internally by OpenMP, it will start 2 threads on 2 core machines automaticlly. You don't need to write thread code for calling the function. And if you'd like to reduce the CPU usage and use only one thread, you can set ippSetNumThreads (1) before call ippiReiszeSqrPixel(). &lt;BR /&gt;&lt;BR /&gt;There are someerrors in themap_deprecatedCenter,i did a little modification and attach the modified code here for your reference.&lt;/P&gt;
&lt;P&gt;(For the same conditions we must specify the coordinates of the center in the middle of dst roi.&lt;/P&gt;
&lt;P&gt;Otherwise it will be processed the non-whole image. I change&lt;/P&gt;
&lt;P align="left"&gt;x = (int)(szDest.width / 2.0);&lt;/P&gt;
&lt;P align="left"&gt;y = (int)(szDest.height / 2.0);)&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2009 06:51:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884708#M10582</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-08-27T06:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884709#M10583</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Hi Ying et al,&lt;BR /&gt;&lt;BR /&gt;We would be using the non-threaded version due to higher-level threading in our software. What would the performance numbers be for &lt;EM&gt;ippiReiszeSqrPixel &lt;/EM&gt;(&lt;EM&gt;'map_serial'&lt;/EM&gt;) when just using one thread (maxing out one core)?&lt;BR /&gt;&lt;BR /&gt;In my view - and for our usage pattern - it is still essential that new functions replacing older ones also perform at-least comparable to (preferably better than) the functions they replace for single-threaded use. The use of multi-threading should be an option (as it also is) that just enables higher performance in the right usages.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt; - Jay&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Aug 2009 08:15:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884709#M10583</guid>
      <dc:creator>j_miles</dc:creator>
      <dc:date>2009-08-27T08:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884710#M10584</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Hi Ying Hu,&lt;BR /&gt;&lt;BR /&gt;Thank you for sharing your views on the issue. Now I have a better idea how to make comparisons between similar ipp functions. &lt;BR /&gt;&lt;BR /&gt;I do share the same thought as jay. This means setting manually the number of cpu cores to use in order have a better performance overall.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;I2R D&amp;amp;T Team&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Aug 2009 04:59:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884710#M10584</guid>
      <dc:creator>I2R_D_T_Team</dc:creator>
      <dc:date>2009-08-28T04:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884711#M10585</link>
      <description>Hi I2R D&amp;amp;T Team and Jay, &lt;BR /&gt;&lt;BR /&gt;Right, you can set IPP threads manually based on your real application mode, for example, on 4 core machine, ippSetNumThreads (2) and leave 2 core for your other job.&lt;BR /&gt;&lt;BR /&gt;And in sirail mode (ippSetNumThreads=1), the ippiResizeSqrPixel function is comparable to the disprecated functions in performance. &lt;BR /&gt;for exmaple, &lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;ippiv8-6.1.dll 6.1 build 137.20 6.1.137.809&lt;BR /&gt;ippiResizeCenter:&lt;BR /&gt;IPP cpe = 42.1132&lt;BR /&gt;IPP time = 334.343ms&lt;BR /&gt;ippiResize:&lt;BR /&gt;IPP cpe = 62.7621&lt;BR /&gt;IPP time = 498.279ms&lt;BR /&gt;ippiResizeSqrPix&lt;BR /&gt;IPP cpe = 54.6182&lt;BR /&gt;IPP time = 433.622ms&lt;BR /&gt;Press any key to continue . . .&lt;BR /&gt;ippiResizSqrPixel should corresponding to IPPiResize(shift). If processed region is the same, comparing the ippiResizeCenter, the calculationsare almostthe same.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2009 06:58:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884711#M10585</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-08-28T06:58:10Z</dc:date>
    </item>
    <item>
      <title>Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884712#M10586</link>
      <description>&lt;P&gt;Hi Mr. Ying,&lt;/P&gt;
&lt;P&gt;As far as I understand it the stepBytes parameter could not be a single one, as it is now, for images like YUV (YCbCr), where luma and chroma has different width.&lt;/P&gt;
&lt;P&gt;I suspect this is the reason I'm crashed when I use &lt;I&gt;ippiResizeSqrPixel()&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Gilad&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2010 08:39:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884712#M10586</guid>
      <dc:creator>giladb</dc:creator>
      <dc:date>2010-01-26T08:39:00Z</dc:date>
    </item>
    <item>
      <title>Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884713#M10587</link>
      <description>&lt;P&gt;Hi Gilad,&lt;/P&gt;
&lt;P&gt;Right, the current ippiResizeSqrPixel function only support single stepBytes. It assume the input iamge isgeneral image, like RGB image or YUV4:4:4, which have same widths in multi-channel. As I understand, you may handle theimage like YUV(YCbCr, i.e 4:2:0), then you need call the function planar by planar if the stepBytes is different planer by planer.&lt;/P&gt;
&lt;P&gt;For example, ifresizethe frame in video,which is YUV 4:2:0, 3 planar, the resize function will be called three times.&lt;/P&gt;
&lt;P&gt;Please try them and check the stepBytes1,stepBytes2,astepBytes3, and let us know if any problem.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Ying&lt;/P&gt;
&lt;P&gt;PS.one more resizefunction, ippiResizeYUV422_8u_C2R() can handle image format like YUV422 or YCrCb422&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2010 09:31:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884713#M10587</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-01-26T09:31:23Z</dc:date>
    </item>
    <item>
      <title>Regard  ippiResize* function usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884714#M10588</link>
      <description>&lt;P&gt;&lt;BR /&gt;Just for who have high cpu usage issue when multi-thread is on , the below article may provide one possible cause, &lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/high-cpu-usage-and-intel-ipp-threaded-function/"&gt;&lt;B&gt;High CPU usage and Intel IPP threaded function&lt;/B&gt;&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying &lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2010 09:18:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Regard-ippiResize-function-usage/m-p/884714#M10588</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-05-21T09:18:50Z</dc:date>
    </item>
  </channel>
</rss>

