<?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 Tom,  in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002315#M23129</link>
    <description>&lt;P&gt;Hi Tom,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks a lot. We can reproduce the problem.&amp;nbsp;It seems a bug in x64 asm for ippiCrossCorr, we will investigate it and keep you updates.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
	Ying&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jul 2014 01:59:13 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2014-07-29T01:59:13Z</dc:date>
    <item>
      <title>Performance ippiCrossCorrNorm</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002307#M23121</link>
      <description>Since the function ippiCrossCorrValid_NormLevel_32f_C1R is marked as deprecated, 
we switched to the new function ippiCrossCorrNorm_32f_C1R.

Using this new function, we see a slowdown by a factor 7 between these 2 function calls in IPP8.1 

We use a srcRoiSize of 21x21 pixels and a tplRoiSize of 17x17 pixels.
The used algorithm type definition for ippiCrossCorrNorm is:
IppEnum funCfg = (IppEnum)(ippAlgAuto | ippiROIValid | ippiNormCoefficient);

We also noticed that ippiCrossCorrValid_NormLevel_32f_C1R for the given src and tpl sizes is significant faster
than the alternatives ippiCrossCorrValid_Norm_32f_C1R and ippiCrossCorrValid_32f_C1R
 which are mathematically simpler image proximity measures.

Any suggestion how to reach the performance of ippiCrossCorrValid_NormLevel_32f_C1R with the new function ippiCrossCorrNorm?

Best regards,</description>
      <pubDate>Wed, 16 Jul 2014 14:36:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002307#M23121</guid>
      <dc:creator>Tom_B_1</dc:creator>
      <dc:date>2014-07-16T14:36:51Z</dc:date>
    </item>
    <item>
      <title>Hi Tom, </title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002308#M23122</link>
      <description>&lt;P&gt;Hi Tom,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for the reports. We need more information for further investigation, like&lt;/P&gt;

&lt;P&gt;1. how you link ipp library on 32bit or intel64bit, windows or linux etc.&lt;/P&gt;

&lt;P&gt;2 how the performance measure (repeated or only one time)?&lt;/P&gt;

&lt;P&gt;If possible, could you please attach one small test case to show the problem.&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 05:50:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002308#M23122</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-07-17T05:50:36Z</dc:date>
    </item>
    <item>
      <title>Hi Ying,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002309#M23123</link>
      <description>&lt;P&gt;Hi Ying,&lt;/P&gt;

&lt;P&gt;We use Windows and we link the IPP library both 32 bit and 64 bit, both static and dynamic.&lt;BR /&gt;
	All these configuration result in the same behavior.&lt;/P&gt;

&lt;P&gt;For example using the test code fragment below, we see a performance drop by a factor 7 using the&amp;nbsp;ippCrossNorm function&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;// Initialize inputs&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;long &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;rad_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = 10;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;long&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;rad_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = 8;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;long&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = 2*&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;rad_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;+1;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;long&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = 2*&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;rad_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;+1;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;long&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_roi&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = 2*(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;rad_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;-&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;rad_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;)+1;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;float&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;* &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;corr&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;float&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_roi&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_roi&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;];&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;IppiSize&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;roi_corr&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = {&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_roi&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_roi&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;};&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;IppiSize&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;roi_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = {&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;};&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;IppiSize&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;roi_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = {&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;};&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT face="Consolas"&gt;&lt;FONT color="#0000ff"&gt;float&lt;/FONT&gt;* &lt;FONT color="#000080"&gt;&lt;FONT color="#000080"&gt;&lt;FONT color="#000080"&gt;pSrc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; = &lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#0000ff"&gt;float&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;[&lt;FONT color="#000080"&gt;&lt;FONT color="#000080"&gt;&lt;FONT color="#000080"&gt;len_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;*&lt;FONT color="#000080"&gt;&lt;FONT color="#000080"&gt;&lt;FONT color="#000080"&gt;len_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;];&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;float&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;* &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;pTpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;float&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;len_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;len_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;];&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;unsigned&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;int&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;seed&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; = 27;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#880000" face="Consolas"&gt;&lt;FONT color="#880000" face="Consolas"&gt;&lt;FONT color="#880000" face="Consolas"&gt;ippsRandUniform_Direct_32f&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;pSrc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;len_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;len_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;,0.0f,1.0f,&amp;amp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;seed&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;seed&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; = 31;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#880000" face="Consolas"&gt;&lt;FONT color="#880000" face="Consolas"&gt;&lt;FONT color="#880000" face="Consolas"&gt;ippsRandUniform_Direct_32f&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;pTpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;len_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;*&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;len_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;,0.0f,1.0f,&amp;amp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;&lt;FONT color="#000080" face="Consolas"&gt;seed&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;// Create filter buffer&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;IppEnum&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;funCfg&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;IppEnum&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;)(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#6f008a" size="2" face="Consolas"&gt;&lt;FONT color="#6f008a" size="2" face="Consolas"&gt;&lt;FONT color="#6f008a" size="2" face="Consolas"&gt;ippAlgAuto&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;|&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#6f008a" size="2" face="Consolas"&gt;&lt;FONT color="#6f008a" size="2" face="Consolas"&gt;&lt;FONT color="#6f008a" size="2" face="Consolas"&gt;ippiROIValid&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;|&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#6f008a" size="2" face="Consolas"&gt;&lt;FONT color="#6f008a" size="2" face="Consolas"&gt;&lt;FONT color="#6f008a" size="2" face="Consolas"&gt;ippiNormCoefficient&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;Ipp8u&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; *&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;pBuffer&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;int&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;bufSize&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#880000" size="2" face="Consolas"&gt;&lt;FONT color="#880000" size="2" face="Consolas"&gt;&lt;FONT color="#880000" size="2" face="Consolas"&gt;ippiCrossCorrNormGetBufferSize&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;roi_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;roi_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;funCfg&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &amp;amp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;bufSize&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;pBuffer&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = ippsMalloc_8u(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;bufSize&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;// Loop 100000 times&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;for&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;long&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;k&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; = 0 ; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;k&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &amp;lt; 100000; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;k&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;++)&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;{&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //deprecated but 7x times faster than the new implemenation&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*ippiCrossCorrValid_NormLevel_32f_C1R(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (const Ipp32f*)pSrc, 4*len_src, roi_src,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (const Ipp32f*) pTpl, 4*len_tpl, roi_tpl,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&lt;FONT color="#008000" size="2" face="Consolas"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Ipp32f*)corr, 4*len_roi);*/&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#880000" size="2" face="Consolas"&gt;&lt;FONT color="#880000" size="2" face="Consolas"&gt;&lt;FONT color="#880000" size="2" face="Consolas"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ippiCrossCorrNorm_32f_C1R&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;(&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;const&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;Ipp32f&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;*)&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;pSrc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, 4*&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;roi_src&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;const&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;Ipp32f&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;*) &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;pTpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, 4*&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;roi_tpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;&lt;FONT color="#216f85" size="2" face="Consolas"&gt;Ipp32f&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;*)&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;corr&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, 4*&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;len_roi&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;funCfg&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;pBuffer&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;ippsFree( &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;pBuffer&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; );&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;delete&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; [] &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;pSrc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;delete&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; [] &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;pTpl&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
	&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;delete&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; [] &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;&lt;FONT color="#000080" size="2" face="Consolas"&gt;corr&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 06:28:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002309#M23123</guid>
      <dc:creator>Tom_B_1</dc:creator>
      <dc:date>2014-07-17T06:28:07Z</dc:date>
    </item>
    <item>
      <title>Hi Tom,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002310#M23124</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;

&lt;P&gt;thank you for reporting this performance bug. As a workaround please use "old" deprecated function till the next IPP update (IPP 8.2 is already frozen, so it will the next one after 8.2, where this bug will be fixed) . This function uses 2 methods (depends on workload sizes) - direct and based on convolution theorem, so the direct method has not been ported yet (it's more efficient for small (as in your case) workloads).&lt;/P&gt;

&lt;P&gt;regards, Igor&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 14:19:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002310#M23124</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2014-07-17T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002311#M23125</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the quick reply. I will continue to use the deprecated function in 32-bit mode.&lt;BR /&gt;
	However, I ran into floating point overflow issues using ippiCrossCorrValid_NormLevel in 64-bit mode.&lt;BR /&gt;
	I will further investigate this 64-bit issue and try to post a test case.&lt;BR /&gt;
	&lt;BR /&gt;
	Tom&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 14:58:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002311#M23125</guid>
      <dc:creator>Tom_B_1</dc:creator>
      <dc:date>2014-07-17T14:58:49Z</dc:date>
    </item>
    <item>
      <title>In 64-bit mode, the</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002312#M23126</link>
      <description>&lt;P&gt;In 64-bit mode, the deprecated function call ippiCrossCorrValid_NormLevel is accessing memory behind the specified src roi size.&lt;BR /&gt;
	More particular in my test case of a srcroi = [21,21] pixels, ippiCrossCorrValid_NormLevel is accessing data up to a region of [32,32].&lt;BR /&gt;
	Using a smaller srcroi of e.g. [15,15] result in accessing the data in a region of [16,16] pixels.&lt;BR /&gt;
	Depending on the data present in these 'invalid' regions, a floating point overflow can be thrown.&lt;BR /&gt;
	This only seems to occur in 64-bit mode and is not an issue in 32-bit mode.&lt;BR /&gt;
	Is this known behavior?&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2014 10:32:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002312#M23126</guid>
      <dc:creator>Tom_B_1</dc:creator>
      <dc:date>2014-07-18T10:32:42Z</dc:date>
    </item>
    <item>
      <title>Hi Tom, </title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002313#M23127</link>
      <description>&lt;P&gt;Hi Tom,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you for sharing. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;You metioned, More particular in my test case of a srcroi = [21,21] pixels, ippiCrossCorrValid_NormLevel is accessing data up to a region of [32,32].&lt;/SPAN&gt;&lt;BR style="font-size: 12px; line-height: 18px;" /&gt;
	&lt;BR style="font-size: 12px; line-height: 18px;" /&gt;
	&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Using a smaller srcroi of e.g. [15,15] result in accessing the data in a region of [16,16] pixels.&lt;/SPAN&gt;&lt;BR style="font-size: 12px; line-height: 18px;" /&gt;
	&lt;BR style="font-size: 12px; line-height: 18px;" /&gt;
	&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Depending on the data present in these 'invalid' regions, a floating point overflow can be thrown.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I try your example code, the srcroi = [21, 21] i&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;ppiCrossCorrValid_NormLevel &amp;nbsp;and open the floating point overflow &amp;nbsp;check , i try several times, haven't see the error. Do you have a way to reproduce the problem?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Ying&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;#include "ipp.h"

#include &amp;lt;iostream&amp;gt;
#include &amp;lt;iomanip&amp;gt;

typedef unsigned char byte;

int main(int argc, char* argv[])
{
	ippInit();
	const IppLibraryVersion* lib = ippsGetLibVersion();
	printf("%s %s %d.%d.%d.%d\n", lib-&amp;gt;Name, lib-&amp;gt;Version, lib-&amp;gt;major, lib-&amp;gt;minor, lib-&amp;gt;majorBuild, lib-&amp;gt;build);


	long rad_src = 10;

	long rad_tpl = 8;

	long len_src = 2 * rad_src + 1;

	long len_tpl = 2 * rad_tpl + 1;

	long len_roi = 2 * (rad_src - rad_tpl) + 1;

	float* corr = new float[len_roi*len_roi];

	IppiSize roi_corr = { len_roi, len_roi };

	IppiSize roi_tpl = { len_tpl, len_tpl };

	IppiSize roi_src = { len_src, len_src };

	float* pSrc = new float[len_src*len_src];

	float* pTpl = new float[len_tpl*len_tpl];

	unsigned int seed = 27;

	ippsRandUniform_Direct_32f(pSrc, len_src*len_src, 0.0f, 1.0f, &amp;amp;seed);

	seed = 31;

	ippsRandUniform_Direct_32f(pTpl, len_tpl*len_tpl, 0.0f, 1.0f, &amp;amp;seed);

	// Create filter buffer

	IppEnum funCfg = (IppEnum)(ippAlgAuto | ippiROIValid | ippiNormCoefficient);

	Ipp8u *pBuffer;

	int bufSize;

	ippiCrossCorrNormGetBufferSize(roi_src, roi_tpl, funCfg, &amp;amp;bufSize);

	pBuffer = ippsMalloc_8u(bufSize);

	// Loop 100000 times

//	for (long k = 0; k &amp;lt; 100000; k++)

//	{

		//deprecated but 7x times faster than the new implemenation

	IppStatus status;

	status= ippiCrossCorrValid_NormLevel_32f_C1R(

		(const Ipp32f*)pSrc, 4*len_src, roi_src,

		(const Ipp32f*) pTpl, 4*len_tpl, roi_tpl,

		(Ipp32f*)corr, 4*len_roi);
	printf("%s\n", ippGetStatusString(status));

	/*	ippiCrossCorrNorm_32f_C1R(

			(const Ipp32f*)pSrc, 4 * len_src, roi_src,

			(const Ipp32f*)pTpl, 4 * len_tpl, roi_tpl,

			(Ipp32f*)corr, 4 * len_roi, funCfg, pBuffer);
			*/

	//}

	ippsFree(pBuffer);

	delete[] pSrc;

	delete[] pTpl;

	delete[] corr;
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2014 01:44:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002313#M23127</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-07-28T01:44:27Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002314#M23128</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;If you try to run the example below you will get an acces violation in 64-bit and not in 32-bit.&lt;BR /&gt;
	The code allocates a matrix of 512x512 points.&lt;BR /&gt;
	The acces violation occurs&amp;nbsp;when accessing line 480 in the&amp;nbsp;matrix.&lt;BR /&gt;
	That is why I think that IPP is internally using a 32x32 kernel instead of 21x21 kernel&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:;"&gt;long rad_src = 10;
&amp;nbsp;&amp;nbsp;&amp;nbsp;long rad_tpl = 8;

&amp;nbsp;&amp;nbsp;&amp;nbsp;long len_src = 2*rad_src+1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;long len_tpl = 2*rad_tpl+1;

&amp;nbsp;&amp;nbsp;&amp;nbsp;long len_roi = 2*(rad_src-rad_tpl)+1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;float* corr = new float[len_roi*len_roi];
&amp;nbsp;&amp;nbsp;&amp;nbsp;IppiSize roi_corr = {len_roi,len_roi};

&amp;nbsp;&amp;nbsp;&amp;nbsp;IppiSize roi_tpl = {len_tpl, len_tpl};
&amp;nbsp;&amp;nbsp;&amp;nbsp;IppiSize roi_src = {len_src, len_src};
&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;int np = 512;
&amp;nbsp;&amp;nbsp;&amp;nbsp;float* pSrc = new float[np*np];
&amp;nbsp;&amp;nbsp;&amp;nbsp;float* pTpl = new float[np*np];
&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;unsigned int seed = 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;for(long k = 0 ; k &amp;lt; 1; k++)
&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;seed = k;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ippsRandUniform_Direct_32f(pSrc, np*np,0.0f,1.0f,&amp;amp;seed);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;seed = k+3;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ippsRandUniform_Direct_32f(pTpl, np*np,0.0f,1.0f,&amp;amp;seed);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(int j = 0 ; j &amp;lt; np-len_src; j++)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(int i = 0; i &amp;lt; np-len_src; i++)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//deprecated but 7x times faster than the new implemenation
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ippiCrossCorrValid_NormLevel_32f_C1R(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(const Ipp32f*)(pSrc+j*np+i), 4*np, roi_src,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(const Ipp32f*)(pTpl+(j+2)*np+i+2), 4*np, roi_tpl,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(Ipp32f*)corr, 4*len_roi);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}

&amp;nbsp;&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;delete [] pSrc;
&amp;nbsp;&amp;nbsp;&amp;nbsp;delete [] pTpl;
&amp;nbsp;&amp;nbsp;&amp;nbsp;delete [] corr;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2014 09:04:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002314#M23128</guid>
      <dc:creator>Tom_B_1</dc:creator>
      <dc:date>2014-07-28T09:04:24Z</dc:date>
    </item>
    <item>
      <title>Hi Tom, </title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002315#M23129</link>
      <description>&lt;P&gt;Hi Tom,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks a lot. We can reproduce the problem.&amp;nbsp;It seems a bug in x64 asm for ippiCrossCorr, we will investigate it and keep you updates.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
	Ying&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2014 01:59:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Performance-ippiCrossCorrNorm/m-p/1002315#M23129</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-07-29T01:59:13Z</dc:date>
    </item>
  </channel>
</rss>

