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

ippiMalloc_8u_C1 returning wrong dstStep?

$
0
0

Im using ->

ippCore 2019.0.0 Gold (r59881)

On a mac

IppiSize dstSize = { 480, 270 };

Ipp8u* pDst = ippiMalloc_8u_C1(dstSize.width, dstSize.height, &dstStep);

ippiMalloc_8u_C1 returns dstStep=512 resulting in a 32 pixel black border on the right side of the picture.

However 480 is integer dividable by 32 (if that is a requirement to be 32 bytes aligned in the line by line stepping) and forcing dstStep to 480 works for all following processes I use and the black border is gone.

I use the example code ->

https://software.intel.com/en-us/ipp-dev-reference-resizeantialiasing-sample

Am I doing something wrong or is it a bug?

Thanks for helping.

 

/Anders 


Viewing all articles
Browse latest Browse all 1489

Trending Articles



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