<?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 substitute for ippiResizeSqrPixel ippiResizeGetBufSize in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063970#M24288</link>
    <description>&lt;P&gt;My project is using the ippiResizeSqrPixel_16u_C1R to resize image with IPPI_INTER_CUBIC mode, and using ippiResizeGetBufSize to initialize the buffer in advance.&lt;/P&gt;

&lt;P&gt;But unfortunately ipp9.0 doesn't support both apis, and the "Substitution or Workaround" for both are N/A.&lt;/P&gt;

&lt;P&gt;Could you give me a work around solution?&lt;/P&gt;

&lt;P&gt;Thanks and regards,&lt;/P&gt;

&lt;P&gt;Yang Qi Xin&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 07:37:30 GMT</pubDate>
    <dc:creator>QiXin_Y_</dc:creator>
    <dc:date>2016-10-25T07:37:30Z</dc:date>
    <item>
      <title>substitute for ippiResizeSqrPixel ippiResizeGetBufSize</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063970#M24288</link>
      <description>&lt;P&gt;My project is using the ippiResizeSqrPixel_16u_C1R to resize image with IPPI_INTER_CUBIC mode, and using ippiResizeGetBufSize to initialize the buffer in advance.&lt;/P&gt;

&lt;P&gt;But unfortunately ipp9.0 doesn't support both apis, and the "Substitution or Workaround" for both are N/A.&lt;/P&gt;

&lt;P&gt;Could you give me a work around solution?&lt;/P&gt;

&lt;P&gt;Thanks and regards,&lt;/P&gt;

&lt;P&gt;Yang Qi Xin&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 07:37:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063970#M24288</guid>
      <dc:creator>QiXin_Y_</dc:creator>
      <dc:date>2016-10-25T07:37:30Z</dc:date>
    </item>
    <item>
      <title>Hi Yang,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063971#M24289</link>
      <description>&lt;P&gt;Hi Yang,&lt;/P&gt;

&lt;P&gt;If you look at the reference manual in your IPP installed documentation,&lt;/P&gt;

&lt;P&gt;IPP now has functions for resizing similar to this : &lt;A href="https://software.intel.com/en-us/node/504353"&gt;https://software.intel.com/en-us/node/504353&lt;/A&gt; (Using Intel® IPP Resize Functions with Prior Initialization, IPP 2017 )&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9179iC4CF5B2E0D49507F/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;\&lt;/P&gt;

&lt;P&gt;you might want to try out '&lt;SPAN style="color: rgb(51, 51, 51); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13.33px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;ippiResizeCubic_16u_C1R' &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;You also can refer the&amp;nbsp;IPP resize&amp;nbsp;example included in your installation. It shows the initialization procedure of resizing functions so you can definitely use them as references.&lt;/P&gt;

&lt;P&gt;In case you are not able to find the code , I'm attaching the example code of resize.cpp.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 08:41:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063971#M24289</guid>
      <dc:creator>Jonghak_K_Intel</dc:creator>
      <dc:date>2016-10-26T08:41:24Z</dc:date>
    </item>
    <item>
      <title>Dear JON,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063972#M24290</link>
      <description>&lt;P&gt;Dear JON,&lt;/P&gt;

&lt;P&gt;Thanks a lot for the reply, and with your example and the reference, I have basically completed the modification of the code.&lt;/P&gt;

&lt;P&gt;There are still 2 questions:&lt;/P&gt;

&lt;P&gt;1. One thing I am curious about is that, the&amp;nbsp;examples are with _8u &amp;nbsp;suffix, and all the called functions use _8u, it&amp;nbsp;is OK;&lt;/P&gt;

&lt;P&gt;But in my case,&amp;nbsp;the core function is ippiResizeCubic_16u_C1R, and it's init ippiResizeCubicInit_16u.&lt;/P&gt;

&lt;P&gt;Are the following functions correct?&lt;/P&gt;

&lt;P&gt;ippiResizeGetSize_16u (to get spec size and iInitSize)&lt;/P&gt;

&lt;P&gt;ippiMalloc_16u_C1 (to get the step bytes)&lt;/P&gt;

&lt;P&gt;ippsMalloc_8u (to allocate the initial buffer);&lt;/P&gt;

&lt;P&gt;2.&amp;nbsp;What value should be of the parameters [Ipp32f valueB] and&amp;nbsp;[Ipp32f valueC] used in ippiResizeCubicInit?&lt;/P&gt;

&lt;P&gt;Thanks and regards,&lt;/P&gt;

&lt;P&gt;Yang Qi Xin&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2016 12:04:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063972#M24290</guid>
      <dc:creator>QiXin_Y_</dc:creator>
      <dc:date>2016-10-30T12:04:43Z</dc:date>
    </item>
    <item>
      <title>Hi QiXin,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063973#M24291</link>
      <description>&lt;P&gt;Hi QiXin,&lt;/P&gt;

&lt;P&gt;Regarding to the 2nd question about [Ipp32f valueB] and [Ipp32f valueC], they are variables to provide different approximation&amp;nbsp;to cubic filtering. The fomular is given as the following (&lt;A href="https://software.intel.com/en-us/node/505191"&gt;https://software.intel.com/en-us/node/505191&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0EF01A88-F874-4ECB-B2B6-3ADC38636CD4-imageId=C412702A-209D-4CCD-A099-989A2E18A085.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/10230i4EB5854AC8B7A35D/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="0EF01A88-F874-4ECB-B2B6-3ADC38636CD4-imageId=C412702A-209D-4CCD-A099-989A2E18A085.jpg" alt="0EF01A88-F874-4ECB-B2B6-3ADC38636CD4-imageId=C412702A-209D-4CCD-A099-989A2E18A085.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;If more detailed information is needed, please refer to the following reference.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;Don P. Mitchell, Arun N. Netravali. &lt;/SPAN&gt;&lt;EM style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-weight: normal; word-spacing: 0px; white-space: normal; box-sizing: border-box; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;Reconstruction Filters in Computer Graphics&lt;/EM&gt;&lt;SPAN style="color: rgb(102, 102, 102); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, Tahoma, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px;"&gt;. Computer Graphics, Volume 22, Number 4, AT&amp;amp;T Bell Laboratories, Murray Hill, New Jersey, August 1988.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#666666"&gt;Trying different B &amp;amp; C&amp;nbsp;in several experiments to verify which pair has the best performance&lt;/FONT&gt;&amp;nbsp;would be&amp;nbsp;a good idea.&lt;/P&gt;

&lt;P&gt;---------------------------------------------------------------------------------------------------&lt;/P&gt;

&lt;P&gt;Reference:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/499132"&gt;https://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/499132&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/node/505191"&gt;https://software.intel.com/en-us/node/505191&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/node/505193#MITCHELL88"&gt;https://software.intel.com/en-us/node/505193#MITCHELL88&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 08:07:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063973#M24291</guid>
      <dc:creator>Jing_Xu</dc:creator>
      <dc:date>2016-10-31T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Regarding the second question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063974#M24292</link>
      <description>&lt;P&gt;Regarding the second question, Jing's answer is right.&lt;/P&gt;

&lt;P&gt;You can try different values for B and C parameters and choose the best result for you.&lt;/P&gt;

&lt;P&gt;Just for an example, in the example code they choose&lt;/P&gt;

&lt;P&gt;&amp;nbsp;m_fBVal&amp;nbsp;&amp;nbsp; = 1; // for B&lt;BR /&gt;
	&amp;nbsp;m_fCVal&amp;nbsp;&amp;nbsp; = 0; // for C&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;For the question #1,&lt;/P&gt;

&lt;P&gt;ippiResizeGetSize_16u (to get spec size and iInitSize) -&amp;gt; Correct&lt;/P&gt;

&lt;P&gt;ippiMalloc_16u_C1 (to get the step bytes) -&amp;gt; Correct&lt;/P&gt;

&lt;P&gt;ippsMalloc_8u (to allocate the initial buffer) -&amp;gt; you can use &lt;SPAN class="kwd"&gt;Ipp16u* &lt;SPAN style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 0);"&gt;ippsMalloc_16u&lt;/SPAN&gt;(int &lt;/SPAN&gt;&lt;SPAN class="var"&gt;len&lt;/SPAN&gt;&lt;SPAN class="delim"&gt;);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="delim"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 01:38:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063974#M24292</guid>
      <dc:creator>Jonghak_K_Intel</dc:creator>
      <dc:date>2016-11-01T01:38:22Z</dc:date>
    </item>
    <item>
      <title>Dear Jing and JON,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063975#M24293</link>
      <description>&lt;P&gt;Dear Jing and JON,&lt;/P&gt;

&lt;P&gt;Many thanks to both of you!&amp;nbsp; Now I understand B and C, and&amp;nbsp;notice the values used in JON's cpp example, I will try with them.&lt;/P&gt;

&lt;P&gt;Now let's focus on the API versions and thus, data types:&lt;/P&gt;

&lt;P&gt;And I followed the instruction on the web page you given in the first reply, "Resizing the Whole Image" section.&lt;/P&gt;

&lt;P&gt;In it's example,&amp;nbsp;there are 2 buffers: pBuffer (call it working buffer), and pInitBuffer(initial buffer), both Ipp8u* type.&lt;/P&gt;

&lt;P&gt;So in my case they should be Ipp16u*, and use ippsMalloc_16u to allocate buffers?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;And also the &amp;nbsp;IppiResizeSpec_32f* pSpec;&lt;/P&gt;

&lt;P&gt;It's size is obtained by ippiResizeGetSize_16u in my case, so it&amp;nbsp;should be&amp;nbsp;allocated with ippsMalloc_16u&amp;nbsp;instead of&amp;nbsp;ippsMalloc_8u?&lt;/P&gt;

&lt;P&gt;Thanks and regards,&lt;/P&gt;

&lt;P&gt;Yang Qi Xin&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 03:29:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063975#M24293</guid>
      <dc:creator>QiXin_Y_</dc:creator>
      <dc:date>2016-11-01T03:29:23Z</dc:date>
    </item>
    <item>
      <title>According to the api</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063976#M24294</link>
      <description>&lt;P&gt;According to the api reference shown below, I think both of pBuffer and pInitBuffer should be in type Ipp8u*, no matter what the mod type is.&lt;SPAN style="font-size: 13.008px;"&gt;(But larger size won't be any problem)&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;IppStatus ippiResizeLanczosInit_&amp;lt;mod&amp;gt;(IppiSize srcSize, IppiSize dstSize, Ipp32u numLobes, IppiResizeSpec_32f* pSpec, Ipp8u* pInitBuf);
IppStatus ippiResizeLanczos_&amp;lt;mod&amp;gt;(const Ipp&amp;lt;datatype&amp;gt;* pSrc, Ipp32s srcStep, Ipp&amp;lt;datatype&amp;gt;* pDst, Ipp32s dstStep, IppiPoint dstOffset, IppiSize dstSize, IppiBorderType border, const Ipp&amp;lt;datatype&amp;gt;* pBorderValue, const IppiResizeSpec_32f* pSpec, Ipp8u* pBuffer);&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Regarding to pSpec, I think you are right.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Since the size is retrieved from ippiResizeGetSize_16u, the value is corresponding to the number of 16u, thus ippsMalloc_16u should be applied in mallocing space.&lt;/P&gt;

&lt;P&gt;Actually, by executing the following code, you will find that the outputs of two types are the same.&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;int specSize_8u = 0;
int initBufSize_8u = 0;
ippiResizeGetSize_8u(srcSize, dstSize, ippLanczos, 0, &amp;amp;specSize_8u, &amp;amp;initBufSize_8u);
int specSize_16u = 0;
int initBufSize_16u = 0;
ippiResizeGetSize_16u(srcSize, dstSize, ippLanczos, 0, &amp;amp;specSize_16u, &amp;amp;initBufSize_16u);
printf("%d, %d\n%d, %d\n", specSize_8u, initBufSize_8u, specSize_16u, initBufSize_16u);
// Result is specSize_8u == specSize_16u; initBufSize_8u == initBufSize_16u&lt;/PRE&gt;

&lt;P&gt;--------------------&lt;/P&gt;

&lt;P&gt;Reference:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/node/504361" target="_blank"&gt;https://software.intel.com/en-us/node/504361&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/node/504373" target="_blank"&gt;https://software.intel.com/en-us/node/504373&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 05:58:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063976#M24294</guid>
      <dc:creator>Jing_Xu</dc:creator>
      <dc:date>2016-11-01T05:58:00Z</dc:date>
    </item>
    <item>
      <title>Dear both, </title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063977#M24295</link>
      <description>&lt;P&gt;Dear both,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;So can we summarize:&lt;/P&gt;

&lt;P&gt;Data:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; Ipp16u* pInitBuffer = NULL ;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; Ipp16u* pWorkingBuffer = NULL ;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; IppiResizeSpec_32f* pSpec = NULL;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; Ipp16u* pTmpImage = NULL;&lt;/P&gt;

&lt;P&gt;buffer allocation:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;IppStatus status = ippiResizeGetSize_16u(..., &amp;amp;iSpecSize, &amp;amp;iInitBufferSize);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;pSpec = (IppiResizeSpec_32f*)ippsMalloc_16u(iSpecSize);&lt;BR /&gt;
	&amp;nbsp;pInitBuffer = ippsMalloc_16u(iInitBufferSize);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;status = ippiResizeCubicInit_16u(..., pSpec, pInitBuffer);&lt;BR /&gt;
	&amp;nbsp;status = ippiResizeGetBufferSize_16u(..., &amp;amp;iWorkingBufferSize);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;pWorkingBuffer = ippsMalloc_16u(iWorkingBufferSize);&lt;BR /&gt;
	&amp;nbsp;pTmpImage = ippiMalloc_16u_C1(..., &amp;amp;iStepBytes);&lt;BR /&gt;
	&amp;nbsp;status = ippiResizeCubic_16u_C1R(...);&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;(all buffers using 16u to allocate.)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks and regards,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Yang Qi Xin&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 06:49:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063977#M24295</guid>
      <dc:creator>QiXin_Y_</dc:creator>
      <dc:date>2016-11-03T06:49:33Z</dc:date>
    </item>
    <item>
      <title>Hi QiXin,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063978#M24296</link>
      <description>&lt;P&gt;Hi QiXin,&lt;/P&gt;

&lt;P&gt;The all sizes returned by the function ResizeGetSize and ResizeGetBufferSize are in bytes. So the function ippsMalloc_8u should be used to allocate the memory for the buffers pSpec, pInitBuffer, pWorkingBuffer.&lt;/P&gt;

&lt;P&gt;The resize functions flavor 16u means that the processing function works with the image of 16u data.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Data:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; Ipp8u* pInitBuffer = NULL ;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; Ipp8u* pWorkingBuffer = NULL ;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; IppiResizeSpec_32f* pSpec = NULL;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; Ipp16u* pTmpImage = NULL;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Buffer allocation:&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&amp;nbsp;IppStatus status = ippiResizeGetSize_16u(..., &amp;amp;iSpecSize, &amp;amp;iInitBufferSize);&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&amp;nbsp;pSpec = (IppiResizeSpec_32f*)ippsMalloc_8u(iSpecSize);&lt;BR /&gt;
	&amp;nbsp;pInitBuffer = ippsMalloc_8u(iInitBufferSize);&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&amp;nbsp;status = ippiResizeCubicInit_16u(..., pSpec, pInitBuffer);&lt;BR /&gt;
	&amp;nbsp;status = ippiResizeGetBufferSize_16u(..., &amp;amp;iWorkingBufferSize);&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&amp;nbsp;pWorkingBuffer = ippsMalloc_8u(iWorkingBufferSize);&lt;BR /&gt;
	&amp;nbsp;pTmpImage = ippiMalloc_16u_C1(..., &amp;amp;iStepBytes);&lt;BR /&gt;
	&amp;nbsp;status = ippiResizeCubic_16u_C1R(...);&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Valentin&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 11:28:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/substitute-for-ippiResizeSqrPixel-ippiResizeGetBufSize/m-p/1063978#M24296</guid>
      <dc:creator>Valentin_K_Intel</dc:creator>
      <dc:date>2016-11-04T11:28:00Z</dc:date>
    </item>
  </channel>
</rss>

