Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

ippiResizeCubic_8u_C3R crashes...

$
0
0

I tried using the sample code from the IPP website for resizing an image.  In my case, I created an empty 4800x4800 pixel image and tried to make a new copy of the exact same size.  I know, crazy, but it demonstrates the error.  Here is my sample code that I used to call the function:

// CODE TO TEST INTEL IPP RESIZE CODE Ipp32s srcStep; Ipp8u* pSrc = ippiMalloc_8u_C3(4800, 4800, &srcStep); IppiSize srcTileSize = { 100, 4800 }; Ipp32s dstStep; Ipp8u* pDst = ippiMalloc_8u_C3(4800, 4800, &dstStep); IppiSize dstTileSize = { 100, 4800 }; Ipp32s xNumTiles = 1; Ipp32s yNumTiles = 48;   return(separateTileResizeExample_C3R(pSrc, srcTileSize, srcStep, pDst, dstTileSize, dstStep, xNumTiles, yNumTiles));

 

The function call that I'm referring to is the one on Intel's developer site:

http://software.intel.com/sites/products/documentation/doclib/ipp_sa/80/...

and the exact line of code causing the crash is:

status = ippiResizeLanczos_8u_C3R(pSrcT, srcStep, pDstT, dstStep, dstOffsetZero, dstTileSize, borderT, 0, pSpec, pBuffer);

Viewing all articles
Browse latest Browse all 1489


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>