<?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 Quote:Gennady Fedorov (Intel) in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945912#M18161</link>
    <description>&lt;BLOCKQUOTE&gt;Gennady Fedorov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;there 2 comments on this:&lt;BR /&gt;
1.see the user's quide description about how you can link your application:&lt;BR /&gt;
&lt;A href="http://software.intel.com/sites/products/documentation/doclib/ipp_sa/71/ipp_userguide_lnx/index.htm"&gt;http://software.intel.com/sites/products/documentation/doclib/ipp_sa/71/...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. since version 7.0, threaded static libraries (_t) are available as a separate download. You need to download it from registration center.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;

Thanks Federov, that helps.</description>
    <pubDate>Tue, 13 Nov 2012 18:02:40 GMT</pubDate>
    <dc:creator>Nick_T_1</dc:creator>
    <dc:date>2012-11-13T18:02:40Z</dc:date>
    <item>
      <title>ippiResizeGetBufSize() error</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945906#M18155</link>
      <description>&lt;P&gt;Hi Folks:&lt;/P&gt;
&lt;P&gt;I am trying to use ResizeSqrPixel() function in Intel IPP, and I simply started with the example in the IPP manual, which is:&lt;/P&gt;
&lt;P&gt;#ifdefOPENMP&lt;/P&gt;
&lt;P&gt;#include &amp;lt;omp.h&amp;gt;&lt;/P&gt;
&lt;P&gt;#endif&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IppStatus ResizeSqrPixel( void )&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;Ipp32f src[12*12], dst[12*12];&lt;/P&gt;
&lt;P&gt;IppiSize size = {12,12};&lt;/P&gt;
&lt;P&gt;IppiRect srect = {0,0,12,12};&lt;/P&gt;
&lt;P&gt;IppiRect drect = {0,0,6,6};&lt;/P&gt;
&lt;P&gt;Ipp8u *buf;&lt;/P&gt;
&lt;P&gt;int bufsize, nt;&lt;/P&gt;
&lt;P&gt;IppStatus status = ippStsNoErr;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* source image */&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;IppiSize roi = {12,12};&lt;/P&gt;
&lt;P&gt;int i;&lt;/P&gt;
&lt;P&gt;for( i=0; i&amp;lt;12; ++i ) {&lt;/P&gt;
&lt;P&gt;ippiSet_32f_C1R( (Ipp32f)i, src+12*i+i, 12*sizeof(Ipp32f), roi );&lt;/P&gt;
&lt;P&gt;--roi.width;&lt;/P&gt;
&lt;P&gt;--roi.height;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;/* calculation of work buffer size */&lt;/P&gt;
&lt;P&gt;ippiResizeGetBufSize( srect, drect, 1, IPPI_INTER_SUPER, &amp;amp;bufsize );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#ifdefOPENMP&lt;/P&gt;
&lt;P&gt;/* parallel algorithm */&lt;/P&gt;
&lt;P&gt;#pragma omp parallel&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;#pragma omp master&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;/* number of threads */&lt;/P&gt;
&lt;P&gt;nt = omp_get_num_threads();&lt;/P&gt;
&lt;P&gt;/* memory allocate */&lt;/P&gt;
&lt;P&gt;buf = ippsMalloc_8u( nt*bufsize );&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;#pragma omp barrier&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;/* thread's number */&lt;/P&gt;
&lt;P&gt;int id = omp_get_thread_num();&lt;/P&gt;
&lt;P&gt;/* ROI for one slice */&lt;/P&gt;
&lt;P&gt;drect.y = (drect.height/nt)*id;&lt;/P&gt;
&lt;P&gt;drect.height = (drect.height/nt)*(id+1);&lt;/P&gt;
&lt;P&gt;if( NULL != buf )&lt;/P&gt;
&lt;P&gt;status = ippiResizeSqrPixel_32f_C1R(&lt;/P&gt;
&lt;P&gt;src, size, 12*sizeof(Ipp32f), srect,&lt;/P&gt;
&lt;P&gt;dst, 6*sizeof(Ipp32f), drect,&lt;/P&gt;
&lt;P&gt;0.5, 0.5, 0, 0, IPPI_INTER_SUPER, buf+id*bufsize );&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;#else&lt;/P&gt;
&lt;P&gt;/* single algorithm */&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;/* memory allocate */&lt;/P&gt;
&lt;P&gt;buf = ippsMalloc_8u( bufsize );&lt;/P&gt;
&lt;P&gt;if( NULL != buf )&lt;/P&gt;
&lt;P&gt;status = ippiResizeSqrPixel_32f_C1R(&lt;/P&gt;
&lt;P&gt;src, size, 12*sizeof(Ipp32f), srect,&lt;/P&gt;
&lt;P&gt;dst, 6*sizeof(Ipp32f), drect,&lt;/P&gt;
&lt;P&gt;0.5, 0.5, 0, 0, IPPI_INTER_SUPER, buf );&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;#endif&lt;/P&gt;
&lt;P&gt;/* memory free */&lt;/P&gt;
&lt;P&gt;if( NULL != buf ) ippsFree( buf );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;return status;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The source image&lt;/P&gt;
&lt;P&gt;0 0 0 0 0 0 0 0 0 0 0 0&lt;/P&gt;
&lt;P&gt;0 1 1 1 1 1 1 1 1 1 1 1&lt;/P&gt;
&lt;P&gt;0 1 2 2 2 2 2 2 2 2 2 2&lt;/P&gt;
&lt;P&gt;0 1 2 3 3 3 3 3 3 3 3 3&lt;/P&gt;
&lt;P&gt;0 1 2 3 4 4 4 4 4 4 4 4&lt;/P&gt;
&lt;P&gt;0 1 2 3 4 5 5 5 5 5 5 5&lt;/P&gt;
&lt;P&gt;0 1 2 3 4 5 6 6 6 6 6 6&lt;/P&gt;
&lt;P&gt;0 1 2 3 4 5 6 7 7 7 7 7&lt;/P&gt;
&lt;P&gt;0 1 2 3 4 5 6 7 8 8 8 8&lt;/P&gt;
&lt;P&gt;0 1 2 3 4 5 6 7 8 9 9 9&lt;/P&gt;
&lt;P&gt;0 1 2 3 4 5 6 7 8 9 10 10&lt;/P&gt;
&lt;P&gt;0 1 2 3 4 5 6 7 8 9 10 11&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The image has the following contents after resizing with NEAREST NEIGHBOR interpolation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000&lt;/P&gt;
&lt;P&gt;1.0000000 3.0000000 3.0000000 3.0000000 3.0000000 3.0000000&lt;/P&gt;
&lt;P&gt;1.0000000 3.0000000 5.0000000 5.0000000 5.0000000 5.0000000&lt;/P&gt;
&lt;P&gt;1.0000000 3.0000000 5.0000000 7.0000000 7.0000000 7.0000000&lt;/P&gt;
&lt;P&gt;1.0000000 3.0000000 5.0000000 7.0000000 9.0000000 9.0000000&lt;/P&gt;
&lt;P&gt;1.0000000 3.0000000 5.0000000 7.0000000 9.0000000 11.0000000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The image has the following contents after resizing with LINEAR interpolation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0.25000000 0.5000000 0.5000000 0.5000000 0.5000000 0.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.2500000 2.5000000 2.5000000 2.5000000 2.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.5000000 4.2500000 4.5000000 4.5000000 4.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.5000000 4.5000000 6.2500000 6.5000000 6.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.5000000 4.5000000 6.5000000 8.2500000 8.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.5000000 4.5000000 6.5000000 8.5000000 11.2500000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The image has the following contents after resizing with CUBIC interpolation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0.25390625 0.4335938 0.4375000 0.4375000 0.4375000 0.4375000&lt;/P&gt;
&lt;P&gt;0.43359375 2.3828125 2.4960938 2.5000000 2.5000000 2.5000000&lt;/P&gt;
&lt;P&gt;0.43750000 2.4960938 4.3828125 4.4960938 4.5000000 4.5000000&lt;/P&gt;
&lt;P&gt;0.43750000 2.5000000 4.4960938 6.3828125 6.4960938 6.5000000&lt;/P&gt;
&lt;P&gt;0.43750000 2.5000000 4.5000000 6.4960938 8.3828125 8.4960938&lt;/P&gt;
&lt;P&gt;0.43750000 2.5000000 4.5000000 6.5000000 8.4960938 10.3789060&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The image has the following contents after resizing with LANCZOS interpolation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0.26301101 0.3761742 0.4124454 0.4130435 0.4130435 0.4130435&lt;/P&gt;
&lt;P&gt;0.37617415 2.4499352 2.4631310 2.4994020 2.5000002 2.5000002&lt;/P&gt;
&lt;P&gt;0.41244543 2.4631310 4.4499354 4.4631310 4.4994025 4.5000005&lt;/P&gt;
&lt;P&gt;0.41304356 2.4994023 4.4631310 6.4499359 6.4631314 6.4994025&lt;/P&gt;
&lt;P&gt;0.41304356 2.5000005 4.4994020 6.4631314 8.4499359 8.4631310&lt;/P&gt;
&lt;P&gt;0.41304356 2.5000005 4.5000000 6.4994025 8.4631310 10.4369250&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The image has the following contents after resizing with SUPERSAMPLING interpolation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0.25000000 0.5000000 0.5000000 0.5000000 0.5000000 0.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.2500000 2.5000000 2.5000000 2.5000000 2.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.5000000 4.2500000 4.5000000 4.5000000 4.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.5000000 4.5000000 6.2500000 6.5000000 6.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.5000000 4.5000000 6.5000000 8.2500000 8.5000000&lt;/P&gt;
&lt;P&gt;0.50000000 2.5000000 4.5000000 6.5000000 8.5000000 10.2500000&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;However, my compile could not succeed because of ippiResizeGetBufSize( srect, drect, 1, IPPI_INTER_SUPER, &amp;amp;bufsize ); and here is the error message:&lt;/P&gt;
&lt;P&gt;&amp;gt;IntelIPPTest.obj : error LNK2019: unresolved external symbol _ippiResizeGetBufSize@44 referenced in function "enum IppStatus __cdecl ResizeTemplate(void)" (?ResizeTemplate@@YA?AW4IppStatus@@XZ)&lt;BR /&gt;1&amp;gt;C:\Users\ncui.THORLABS\Documents\Visual Studio 2008\Projects\IntelIPP\Debug\IntelIPP.exe : fatal error LNK1120: 1 unresolved externals&lt;/P&gt;
&lt;P&gt;I am very confused since there seems no reason for this failure. I have included the ippi.h file, and I am using vs2008 on windows 7 32bit. Any one can please give some hint? Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2012 14:31:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945906#M18155</guid>
      <dc:creator>Nick_T_1</dc:creator>
      <dc:date>2012-11-09T14:31:14Z</dc:date>
    </item>
    <item>
      <title>how did you link the example?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945907#M18156</link>
      <description>how did you link the example?
it seems you need to add these libraries ippi.lib ipps.lib ippcore.lib to your linking line.</description>
      <pubDate>Sat, 10 Nov 2012 04:37:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945907#M18156</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-11-10T04:37:44Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady Fedorov (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945908#M18157</link>
      <description>&lt;BLOCKQUOTE&gt;Gennady Fedorov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;how did you link the example?&lt;BR /&gt;
it seems you need to add these libraries ippi.lib ipps.lib ippcore.lib to your linking line.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;

Hi Sergey:
Thanks, I added libs you mentioned, it looks the project can be built now. But now issues came across: the project is builtable, but not excutable. If I click the green little triangle to "start debugging", a message box popped up and it says: The program can't start because ipps-7.0.dll is missing from your computer. Try reinstalling the program to fix this problem. 
I searched my entire computer, seems I don't have this ipps-7.0.dll.</description>
      <pubDate>Mon, 12 Nov 2012 20:00:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945908#M18157</guid>
      <dc:creator>Nick_T_1</dc:creator>
      <dc:date>2012-11-12T20:00:45Z</dc:date>
    </item>
    <item>
      <title>Hi Nick,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945909#M18158</link>
      <description>Hi Nick,

The IPP DLLs are installed as part of IPP on the system you're developing on.  If you're trying to run on a non-development PC, then you will need to install the IPP redistributable package.  Alternatively, you can just link against the IPP static libs and forget about the DLLs completely - this is the way I have IPP set up in my projects.

Peter</description>
      <pubDate>Mon, 12 Nov 2012 21:21:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945909#M18158</guid>
      <dc:creator>pvonkaenel</dc:creator>
      <dc:date>2012-11-12T21:21:34Z</dc:date>
    </item>
    <item>
      <title>Quote:pvonkaenel wrote:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945910#M18159</link>
      <description>&lt;BLOCKQUOTE&gt;pvonkaenel wrote:&lt;BR /&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;
&lt;P&gt;The IPP DLLs are installed as part of IPP on the system you're developing on.  If you're trying to run on a non-development PC, then you will need to install the IPP redistributable package.  Alternatively, you can just link against the IPP static libs and forget about the DLLs completely - this is the way I have IPP set up in my projects.&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;&lt;/BLOCKQUOTE&gt;

Hi Peter:
Thanks a lot for your reply, and I hope I understand it correctly: statically linking libraries will solve this problem. 
If so, how do I statically link the IPP libraries (*.lib files) when I am using VS2008 on a win 32 machine? Thanks a lot.</description>
      <pubDate>Mon, 12 Nov 2012 21:48:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945910#M18159</guid>
      <dc:creator>Nick_T_1</dc:creator>
      <dc:date>2012-11-12T21:48:51Z</dc:date>
    </item>
    <item>
      <title>there 2 comments on this:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945911#M18160</link>
      <description>there 2 comments on this:
1.see the user's quide description about how you can link your application:
   &lt;A href="http://software.intel.com/sites/products/documentation/doclib/ipp_sa/71/ipp_userguide_lnx/index.htm" target="_blank"&gt;http://software.intel.com/sites/products/documentation/doclib/ipp_sa/71/ipp_userguide_lnx/index.htm&lt;/A&gt;
2. since version 7.0, threaded static libraries (_t) are available as a separate download. You need to download it from registration center.</description>
      <pubDate>Tue, 13 Nov 2012 15:09:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945911#M18160</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-11-13T15:09:30Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady Fedorov (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945912#M18161</link>
      <description>&lt;BLOCKQUOTE&gt;Gennady Fedorov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;there 2 comments on this:&lt;BR /&gt;
1.see the user's quide description about how you can link your application:&lt;BR /&gt;
&lt;A href="http://software.intel.com/sites/products/documentation/doclib/ipp_sa/71/ipp_userguide_lnx/index.htm"&gt;http://software.intel.com/sites/products/documentation/doclib/ipp_sa/71/...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. since version 7.0, threaded static libraries (_t) are available as a separate download. You need to download it from registration center.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;

Thanks Federov, that helps.</description>
      <pubDate>Tue, 13 Nov 2012 18:02:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiResizeGetBufSize-error/m-p/945912#M18161</guid>
      <dc:creator>Nick_T_1</dc:creator>
      <dc:date>2012-11-13T18:02:40Z</dc:date>
    </item>
  </channel>
</rss>

