<?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 Temporary Buffers in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Temporary-Buffers/m-p/952370#M18708</link>
    <description>&lt;DIV&gt;&lt;FONT size="2"&gt;
&lt;P&gt;I'm having trouble with commands involving temporary buffers -- like FloodFill.&lt;/P&gt;
&lt;P&gt;I'm getting linker error on the FloodFillGetSize and the FloodFill commands.I'm not sure what to do and I don'r recall seeing any examples.&lt;/P&gt;
&lt;P&gt;Here's a sample of the code I'm using.&lt;/P&gt;
&lt;P&gt;THANKS&lt;/P&gt;
&lt;P&gt;________________________________________&lt;/P&gt;
&lt;P&gt;IppiSize ROI = {roi.width,roi.height};&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;int&lt;/FONT&gt;&lt;FONT size="2"&gt; BufSize;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ippiFloodFillGetSize(ROI, &amp;amp;BufSize);&lt;/P&gt;
&lt;P&gt;IppiPoint seed = {0,0};&lt;/P&gt;
&lt;P&gt;IppiConnectedComp *pRegion;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;char&lt;/FONT&gt;&lt;FONT size="2"&gt;* pBuffer = &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;new&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;char&lt;/FONT&gt;&lt;FONT size="2"&gt;[BufSize];&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ippiFloodFill_4Con_8u_C1IR(binIPP, width, ROI, seed, 125, pRegion, pBuffer);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 22 Jun 2004 20:27:31 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2004-06-22T20:27:31Z</dc:date>
    <item>
      <title>Temporary Buffers</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Temporary-Buffers/m-p/952370#M18708</link>
      <description>&lt;DIV&gt;&lt;FONT size="2"&gt;
&lt;P&gt;I'm having trouble with commands involving temporary buffers -- like FloodFill.&lt;/P&gt;
&lt;P&gt;I'm getting linker error on the FloodFillGetSize and the FloodFill commands.I'm not sure what to do and I don'r recall seeing any examples.&lt;/P&gt;
&lt;P&gt;Here's a sample of the code I'm using.&lt;/P&gt;
&lt;P&gt;THANKS&lt;/P&gt;
&lt;P&gt;________________________________________&lt;/P&gt;
&lt;P&gt;IppiSize ROI = {roi.width,roi.height};&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;int&lt;/FONT&gt;&lt;FONT size="2"&gt; BufSize;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ippiFloodFillGetSize(ROI, &amp;amp;BufSize);&lt;/P&gt;
&lt;P&gt;IppiPoint seed = {0,0};&lt;/P&gt;
&lt;P&gt;IppiConnectedComp *pRegion;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;char&lt;/FONT&gt;&lt;FONT size="2"&gt;* pBuffer = &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;new&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;char&lt;/FONT&gt;&lt;FONT size="2"&gt;[BufSize];&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ippiFloodFill_4Con_8u_C1IR(binIPP, width, ROI, seed, 125, pRegion, pBuffer);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Jun 2004 20:27:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Temporary-Buffers/m-p/952370#M18708</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-06-22T20:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary Buffers</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Temporary-Buffers/m-p/952371#M18709</link>
      <description>&lt;FONT size="2"&gt;
&lt;P&gt;Wetried to build ex.cpp file - it compiles and links OK, the only library required is ippcv.lib&lt;/P&gt;
&lt;P&gt;FloodFill functions have not been changed since 4.0 release&lt;/P&gt;
&lt;P&gt;#include "ippcv.h"&lt;/P&gt;
&lt;P&gt;int main()&lt;BR /&gt;{&lt;BR /&gt; IppiSize ROI = {2,3};&lt;BR /&gt; int BufSize,width=2;&lt;/P&gt;
&lt;P&gt; ippiFloodFillGetSize(ROI, &amp;amp;BufSize);&lt;BR /&gt; IppiPoint seed = {0,0};&lt;BR /&gt; IppiConnectedComp *pRegion;&lt;BR /&gt; char* pBuffer = new char[BufSize];&lt;BR /&gt; unsigned char* binIPP = new unsigned char[2*3];&lt;/P&gt;
&lt;P&gt; ippiFloodFill_4Con_8u_C1IR(binIPP, width, ROI, seed, 125, pRegion, pBuffer);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Wethink the errror is somewhere else (wrong settings or lib is not included),&lt;BR /&gt;What is the error message?&lt;/P&gt;&lt;/FONT&gt;
&lt;DIV&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Jul 2004 00:56:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Temporary-Buffers/m-p/952371#M18709</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2004-07-02T00:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary Buffers</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Temporary-Buffers/m-p/952372#M18710</link>
      <description>Hi Vladimir
&lt;DIV&gt;I did get it to link. I had to add all of the lib files from /stublib to the project -- using Project, Add Existing Items. This way the files were included in the linking process. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I don't understand why I had to do thissince ippi20 was linked to the project. I did set thepath correctly for the library files. I did notice that ippenv.bat did not set the system variables when I first installed IPP40. I had to manually set them. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;It's kind of weird. I didn't have linker problems until I used the FloodFill commands. I'm probably missing something in the project properties or system varibales.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I am able to compile and link now.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;THANKS for responding :)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Jul 2004 01:13:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Temporary-Buffers/m-p/952372#M18710</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-07-02T01:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary Buffers</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Temporary-Buffers/m-p/952373#M18711</link>
      <description>&lt;P&gt;The trick is we use ippi prefix for functions which resides not only in ippi20.lib. In other words, ipp&lt;I&gt; - means IPP domain which work with 2D signals, like image processing, computer vision, video compression and still image compression. So, your function is in ippcv library, because it is from computer vision domain. So, you can just remove all unnecessary libraries to have clear vision of what you are using from IPP. (Or you can leave it as is, no problems with specifying all the IPP libraries, I believe linker will notlink library to your project if there is no references to it). Anyway, I glad that you solved this issue.&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Jul 2004 01:27:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Temporary-Buffers/m-p/952373#M18711</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2004-07-02T01:27:04Z</dc:date>
    </item>
  </channel>
</rss>

