<?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 I found out that ippiPyrUp in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/pyramidUp-function/m-p/978105#M21151</link>
    <description>&lt;P&gt;I found out that &lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;ippiPyrUp_Gauss5x5_8u_C1R&lt;/SPAN&gt; was marked as deprecated by mistake.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Will remove deprecation warning in the next release?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Alexander.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Apr 2014 06:39:04 GMT</pubDate>
    <dc:creator>Alexander_Karsakov</dc:creator>
    <dc:date>2014-04-16T06:39:04Z</dc:date>
    <item>
      <title>pyramidUp function</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/pyramidUp-function/m-p/978104#M21150</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;

&lt;P&gt;Since&amp;nbsp;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;ippiPyrUp_Gauss5x5_8u_C1R&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New', Courier, monospace; font-size: 1em; line-height: 1.5;"&gt;is marked as deprecated. I need to implement analogous function using Pyramid API.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Following the example (http://software.intel.com/en-us/node/504506), I wrote function:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;void pyrUp_Gauss(Ipp8u *pSrc, IppiSize srcRoi, int srcStep, Ipp8u *pDst, IppiSize dstRoi, int dstStep)
{
    float rate = 2.f;
    IppiPyramid *gPyr;
    IppStatus ok = ippiPyramidInitAlloc(&amp;amp;gPyr, 2, srcRoi, rate);
    Ipp16s iKernel[5] = { 1, 4, 6, 4, 1 };
    int *gStep = gPyr-&amp;gt;pStep;
    Ipp8u **gImage = (Ipp8u**)(gPyr-&amp;gt;pImage);
    IppiSize *pRoi = gPyr-&amp;gt;pRoi;
    gImage[1] = pSrc;
    gImage[0] = pDst;
    gStep[1] = srcStep;
    gStep[0] = dstStep;
    pRoi[1] = srcRoi;
    pRoi[0] = dstRoi;
    IppiPyramidUpState_8u_C1R **gState = (IppiPyramidUpState_8u_C1R**) &amp;amp;(gPyr-&amp;gt;pState);     
    ok = ippiPyramidLayerUpInitAlloc_8u_C1R(gState, srcRoi, rate, iKernel, 5, IPPI_INTER_LINEAR);
    ok = ippiPyramidLayerUp_8u_C1R(gImage[1], gStep[1], pRoi[1], gImage[0], gStep[0], pRoi[0], *gState);
    ok = ippiPyramidLayerUpFree_8u_C1R(*gState);
    ok = ippiPyramidFree(gPyr);
}&lt;/PRE&gt;

&lt;P&gt;When I run this code it fails on&amp;nbsp;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;ippiPyramidLayerUpFree_8u_C1R with exception:&amp;nbsp;&lt;/SPAN&gt;Access violation reading location.&lt;/P&gt;

&lt;P&gt;All previous IPP calls return ippStsNoErr.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Input parameters are valid. When I replace this code with following code it works correct:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;int len;
ippiPyrUpGetBufSize_Gauss5x5(srcRoi.width, ipp8u, 1, &amp;amp;len);
Ipp8u* buffer = ippsMalloc_8u(len);
ok = ippiPyrUp_Gauss5x5_8u_C1R(pSrc, srcStep, pDst, dstStep, srcRoi, buffer);
ippsFree(buffer);&lt;/PRE&gt;

&lt;P&gt;I think error in my code. What do you suggest?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2014 11:04:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/pyramidUp-function/m-p/978104#M21150</guid>
      <dc:creator>Alexander_Karsakov</dc:creator>
      <dc:date>2014-04-11T11:04:00Z</dc:date>
    </item>
    <item>
      <title>I found out that ippiPyrUp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/pyramidUp-function/m-p/978105#M21151</link>
      <description>&lt;P&gt;I found out that &lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;ippiPyrUp_Gauss5x5_8u_C1R&lt;/SPAN&gt; was marked as deprecated by mistake.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Will remove deprecation warning in the next release?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Alexander.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 06:39:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/pyramidUp-function/m-p/978105#M21151</guid>
      <dc:creator>Alexander_Karsakov</dc:creator>
      <dc:date>2014-04-16T06:39:04Z</dc:date>
    </item>
  </channel>
</rss>

