<?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 Steffen, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172392#M26978</link>
    <description>&lt;P&gt;HI Steffen,&lt;/P&gt;&lt;P&gt;Please make sure all data type is aligned to mod in&amp;nbsp;ippiLUT_&amp;lt;mod&amp;gt;.&amp;nbsp; For example, values, levels, and data. You can refer to the sample code through&amp;nbsp;https://software.intel.com/en-us/ipp-dev-reference-lut&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruqiu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 03:23:20 GMT</pubDate>
    <dc:creator>Ruqiu_C_Intel</dc:creator>
    <dc:date>2020-04-30T03:23:20Z</dc:date>
    <item>
      <title>Problems with ippiLUT</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172389#M26975</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I have a problem with ippiLUT. Following code:&lt;BR /&gt;Hello, following code:&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;int values[] = { 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 };
int levels[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
uint8_t data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
uint8_t outData[10];
IppiSize roiSize = { 10, 1 };
int specSize = 0;
int numLevels[1] = { 10 };

const int *valuesPtr[] = { values };
const int *levelsPtr[] = { levels };
ippiLUT_GetSize(IppiInterpolationType::ippNearest, ipp8u, ippC1, roiSize, numLevels, &amp;amp;amp;specSize);
auto spec = (IppiLUT_Spec*)ippMalloc(specSize);
ippiLUT_Init_8u(IppiInterpolationType::ippNearest, ippC1, roiSize, valuesPtr, levelsPtr, numLevels, spec);
ippiLUT_8u_C1R(data, 10, outData, 10, roiSize, spec);
ippFree(spec);&lt;/PRE&gt;

&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I guess, outDatais wrong for last pixel, which has a value of 9 but should be 14. Do I use it wrongly or is this a bug?&lt;BR /&gt;I'm using IPP 2019.0.4.&lt;BR /&gt;&lt;BR /&gt;Best regards Steffen&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 12:19:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172389#M26975</guid>
      <dc:creator>steffenroeber</dc:creator>
      <dc:date>2020-04-27T12:19:48Z</dc:date>
    </item>
    <item>
      <title>Hello steffenroeber,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172390#M26976</link>
      <description>&lt;P&gt;Hello&amp;nbsp;steffenroeber,&lt;/P&gt;&lt;P&gt;Update uint8_t to int, and set srcStep/dstStep value from 10 to 10*sizeof(int), then you might get expected results. Let us know if have other problem.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruqiu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 08:54:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172390#M26976</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2020-04-29T08:54:49Z</dc:date>
    </item>
    <item>
      <title>Hi Ruqiu,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172391#M26977</link>
      <description>&lt;P&gt;Hi Ruqiu,&lt;/P&gt;&lt;P&gt;not sure if I understood you right. Changing uint8_t data[] to int data[] is not compatible with ippiLUT_8u_C1R.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Steffen&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 09:45:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172391#M26977</guid>
      <dc:creator>steffenroeber</dc:creator>
      <dc:date>2020-04-29T09:45:23Z</dc:date>
    </item>
    <item>
      <title>HI Steffen,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172392#M26978</link>
      <description>&lt;P&gt;HI Steffen,&lt;/P&gt;&lt;P&gt;Please make sure all data type is aligned to mod in&amp;nbsp;ippiLUT_&amp;lt;mod&amp;gt;.&amp;nbsp; For example, values, levels, and data. You can refer to the sample code through&amp;nbsp;https://software.intel.com/en-us/ipp-dev-reference-lut&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruqiu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 03:23:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172392#M26978</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2020-04-30T03:23:20Z</dc:date>
    </item>
    <item>
      <title>Wow, bytes aligned to 8-bit</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172393#M26979</link>
      <description>&lt;P&gt;Wow, bytes aligned to 8-bit bytes, that's the greatest invention in computing since the Turing machine !&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Adriaan van Os&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 06:35:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172393#M26979</guid>
      <dc:creator>Adriaan_van_Os</dc:creator>
      <dc:date>2020-04-30T06:35:27Z</dc:date>
    </item>
    <item>
      <title>I have never used ippiLUT, so</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172394#M26980</link>
      <description>&lt;P&gt;I have never used ippiLUT, so the following is just a guess. Maybe, ippiLUT has the same problem as ippiHistogram, see &lt;A href="https://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/749059"&gt;https://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/749059&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adriaan van Os&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 07:01:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problems-with-ippiLUT/m-p/1172394#M26980</guid>
      <dc:creator>Adriaan_van_Os</dc:creator>
      <dc:date>2020-04-30T07:01:23Z</dc:date>
    </item>
  </channel>
</rss>

