<?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 Definition of plane and step in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Definition-of-plane-and-step/m-p/964653#M19996</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hi guys,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'm new to IPP and learning to use the image processing package. There are certain terms I'm not familiar in the memory allocation function &lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;ippiMalloc_&amp;lt;&lt;I&gt;mod&lt;/I&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;&amp;gt;(int &lt;/FONT&gt;&lt;I&gt;&lt;FONT face="Courier"&gt;widthPixels&lt;/FONT&gt;&lt;/I&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;, int &lt;/FONT&gt;&lt;I&gt;&lt;FONT face="Courier"&gt;heightPixels&lt;/FONT&gt;&lt;/I&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;, int* &lt;/FONT&gt;&lt;I&gt;&lt;FONT face="Courier"&gt;pStepBytes&lt;/FONT&gt;&lt;/I&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;).&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Courier" size="2"&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;1. The third parameter is a pointer to the step in bytes through the image. What does "step" mean?&lt;/DIV&gt;
&lt;DIV&gt;2. For &lt;EM&gt;&lt;FONT face="Courier" size="2"&gt;mod&lt;/FONT&gt;&lt;/EM&gt;, possible values include *&lt;FONT face="Courier" size="1"&gt;_P3&lt;/FONT&gt;, which is "&lt;FONT face="Times New Roman" size="3"&gt;Data is made up of &lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;n &lt;/FONT&gt;&lt;FONT face="Times New Roman" size="3"&gt;discrete planar (non-interleaved) channels, with a separate pointer to each plane.&lt;/FONT&gt;" What is a plane?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Best,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 02 Apr 2004 02:29:26 GMT</pubDate>
    <dc:creator>kgu</dc:creator>
    <dc:date>2004-04-02T02:29:26Z</dc:date>
    <item>
      <title>Definition of plane and step</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Definition-of-plane-and-step/m-p/964653#M19996</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hi guys,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'm new to IPP and learning to use the image processing package. There are certain terms I'm not familiar in the memory allocation function &lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;ippiMalloc_&amp;lt;&lt;I&gt;mod&lt;/I&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;&amp;gt;(int &lt;/FONT&gt;&lt;I&gt;&lt;FONT face="Courier"&gt;widthPixels&lt;/FONT&gt;&lt;/I&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;, int &lt;/FONT&gt;&lt;I&gt;&lt;FONT face="Courier"&gt;heightPixels&lt;/FONT&gt;&lt;/I&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;, int* &lt;/FONT&gt;&lt;I&gt;&lt;FONT face="Courier"&gt;pStepBytes&lt;/FONT&gt;&lt;/I&gt;&lt;FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;).&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Courier" size="2"&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;1. The third parameter is a pointer to the step in bytes through the image. What does "step" mean?&lt;/DIV&gt;
&lt;DIV&gt;2. For &lt;EM&gt;&lt;FONT face="Courier" size="2"&gt;mod&lt;/FONT&gt;&lt;/EM&gt;, possible values include *&lt;FONT face="Courier" size="1"&gt;_P3&lt;/FONT&gt;, which is "&lt;FONT face="Times New Roman" size="3"&gt;Data is made up of &lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;n &lt;/FONT&gt;&lt;FONT face="Times New Roman" size="3"&gt;discrete planar (non-interleaved) channels, with a separate pointer to each plane.&lt;/FONT&gt;" What is a plane?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Best,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Apr 2004 02:29:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Definition-of-plane-and-step/m-p/964653#M19996</guid>
      <dc:creator>kgu</dc:creator>
      <dc:date>2004-04-02T02:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Definition of plane and step</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Definition-of-plane-and-step/m-p/964654#M19997</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can see, step is distance in bytes between adjacent lines. (This is from ippi.h file)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;/* /////////////////////////////////////////////////////////////////////////////&lt;BR /&gt;// Name: ippiMalloc&lt;BR /&gt;// Purpose: allocates memory with 32-byte aligned pointer for ippIP images,&lt;BR /&gt;// every line of the image is aligned due to the padding characterized&lt;BR /&gt;// by pStepBytes&lt;BR /&gt;// Parameter:&lt;BR /&gt;// widthPixels width of image in pixels&lt;BR /&gt;// heightPixels height of image in pixels&lt;BR /&gt;// pStepBytes the pointer to the image step, it is an out parameter calculated&lt;BR /&gt;// by the function&lt;BR /&gt;//&lt;BR /&gt;// Returns: pointer to allocated memory or 0 if out of memory or wrong parameters&lt;BR /&gt;// Notes: free the allocated memory by the function ippiFree only&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 03 Apr 2004 01:57:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Definition-of-plane-and-step/m-p/964654#M19997</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-04-03T01:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Definition of plane and step</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Definition-of-plane-and-step/m-p/964655#M19998</link>
      <description>&lt;P&gt;There are generally two ways of storing image data: interleaved and planar. With interleaved data, all the values for a given pixel are stored adjacently in memory, and with planar data all the pixels for a given color are stored together.&lt;/P&gt;
&lt;P&gt;So, lets say you have CMYK data with a pixel height and width of 2. For interleaved data, the data would be stored as:&lt;/P&gt;
&lt;P&gt;CMYKCMYKCMYKCMYK&lt;/P&gt;
&lt;P&gt;where each character represents the color value for one colorant of one pixel. For example, the first "C" represents the cyan value for the first pixel.&lt;/P&gt;
&lt;P&gt;With planar data, the data would be stored as:&lt;/P&gt;
&lt;P&gt;CCCCMMMMYYYYKKKK&lt;/P&gt;
&lt;P&gt;where all the data for a single colorant is stored adjacently.&lt;/P&gt;
&lt;P&gt;So,a "plane" is all the image data associated with one color. In the example above, the "CCCC" represents the cyan plane, the "MMMM" represents the magenta plane, and so on.&lt;/P&gt;
&lt;P&gt;As for the "step", this is used to align data on an efficient boundary. Let's say you had a 3x2 pixel image (3 horizontal and 2 vertical), but the computer accesses data more efficiently on 4 byte boundaries. Now the planar data would look like this:&lt;/P&gt;
&lt;P&gt;CCCxCCCxMMMxMMMxYYYxYYYxKKKxKKKx&lt;/P&gt;
&lt;P&gt;where each "x" is a filler byte used to adjust each line so the data for the next line is aligned to a 4-byte boundary.&lt;/P&gt;
&lt;P&gt;(All the above assumes that there is one byte of data for each colorant for each pixel. There are other possibilities, but 8-bit color data is the most common.)&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2004 22:19:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Definition-of-plane-and-step/m-p/964655#M19998</guid>
      <dc:creator>rdwells</dc:creator>
      <dc:date>2004-04-28T22:19:26Z</dc:date>
    </item>
  </channel>
</rss>

