<?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: iterating ippiMalloc in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921342#M15728</link>
    <description>&lt;DIV&gt;Adi, stepBytes moves you to the next row/line of the image. if you are in the beginning then to the beginning, if you are in the end then to the end. so, for the current position p you jump to the point below by (char*)p+stepBytes.&lt;/DIV&gt;</description>
    <pubDate>Fri, 07 Jan 2005 23:35:09 GMT</pubDate>
    <dc:creator>borix</dc:creator>
    <dc:date>2005-01-07T23:35:09Z</dc:date>
    <item>
      <title>iterating ippiMalloc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921339#M15725</link>
      <description>&lt;DIV&gt;hi all&lt;/DIV&gt;
&lt;DIV&gt;the ippimalloc is not exactly clear to me.&lt;/DIV&gt;
&lt;DIV&gt;let us say for example i have an allocated memory block A.&lt;/DIV&gt;
&lt;DIV&gt;how do i go to cell [5][6] ?&lt;/DIV&gt;
&lt;DIV&gt;someone needs to calculate the correct location, is it me ?&lt;/DIV&gt;
&lt;DIV&gt;if it is me - what is the StepBytes parameter , how do i use it ?&lt;/DIV&gt;
&lt;DIV&gt;adi&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Jan 2005 16:05:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921339#M15725</guid>
      <dc:creator>adig</dc:creator>
      <dc:date>2005-01-06T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: iterating ippiMalloc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921340#M15726</link>
      <description>I calculate it myself.&lt;BR /&gt;&lt;BR /&gt;#include "ipp.h"&lt;BR /&gt;int main(int argc, char* argv[])&lt;BR /&gt;{&lt;BR /&gt;  Ipp16s * pImg; Ipp16s * pTmp;&lt;BR /&gt;  int widthPixels, heightPixels, stepBytes; &lt;BR /&gt;  int y, x; Ipp16s value; &lt;BR /&gt;  &lt;BR /&gt;  widthPixels = 10; heightPixels = 10;&lt;BR /&gt;  pImg = ippiMalloc_16s_C1(widthPixels, heightPixels, &amp;amp;stepBytes);&lt;BR /&gt;&lt;BR /&gt;  // set pixel&lt;BR /&gt;  value = 1;&lt;BR /&gt;  for ( y = 0; y &amp;lt; heightPixels; y++ )&lt;BR /&gt;  {&lt;BR /&gt;    pTmp = pImg + y * stepBytes / sizeof(Ipp16s);&lt;BR /&gt;    for ( x = 0; x &amp;lt; widthPixels; x++ )&lt;BR /&gt;    {&lt;BR /&gt;      *pTmp = value; printf("%d, ", *pTmp); pTmp++; value++;&lt;BR /&gt;    } printf("
");&lt;BR /&gt;  } printf("
");&lt;BR /&gt;&lt;BR /&gt;  // get pixel&lt;BR /&gt;  x = 5; y = 6;&lt;BR /&gt;  pTmp = pImg + x + y * stepBytes / sizeof(Ipp16s);&lt;BR /&gt;  printf("pixel[5][6] = %d
", *pTmp);&lt;BR /&gt;&lt;BR /&gt;  ippiFree(pImg);&lt;BR /&gt;&lt;BR /&gt;  return 0;&lt;BR /&gt;}&lt;P&gt;Message Edited by Seiji-Torigoe on &lt;SPAN class="date_text"&gt;01-06-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:44 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2005 17:40:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921340#M15726</guid>
      <dc:creator>seiji-torigoe</dc:creator>
      <dc:date>2005-01-06T17:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: iterating ippiMalloc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921341#M15727</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;first of all, please consult with IPPI User's Manual, Chapter 2 - Intel Integrated Performance Primitives Concepts, Article - Image Data Types and Ranges. We tried to answer the most of question which usually people have when they are looking on the libraries at the first time.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jan 2005 23:34:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921341#M15727</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-01-07T23:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: iterating ippiMalloc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921342#M15728</link>
      <description>&lt;DIV&gt;Adi, stepBytes moves you to the next row/line of the image. if you are in the beginning then to the beginning, if you are in the end then to the end. so, for the current position p you jump to the point below by (char*)p+stepBytes.&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jan 2005 23:35:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921342#M15728</guid>
      <dc:creator>borix</dc:creator>
      <dc:date>2005-01-07T23:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: iterating ippiMalloc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921343#M15729</link>
      <description>It might be such a code.&lt;BR /&gt;&lt;BR /&gt;  pTmp = (Ipp16s *)(&lt;BR /&gt;    (char *)pImg + x * sizeof(Ipp16s) + y * stepBytes&lt;BR /&gt;    );&lt;BR /&gt;  printf("pixel[5][6] = %d
", *pTmp);</description>
      <pubDate>Sat, 08 Jan 2005 08:47:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921343#M15729</guid>
      <dc:creator>seiji-torigoe</dc:creator>
      <dc:date>2005-01-08T08:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: iterating ippiMalloc</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921344#M15730</link>
      <description>&lt;DIV&gt;does ippimalloc allocates basicly muuuuch more memory as 'normal' createcompatibelbitmap etc. ?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;i mean.. is every color of each pixels stored like in ONE whole 32 bit block ?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;when the normal bitmaps use 'only' 8 bits per color..&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;does ippimalloc uses (allocates) anyway 32 bits per color of each pixel ?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 22 Jan 2005 05:14:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/iterating-ippiMalloc/m-p/921344#M15730</guid>
      <dc:creator>mh_de_ruiter</dc:creator>
      <dc:date>2005-01-22T05:14:37Z</dc:date>
    </item>
  </channel>
</rss>

