Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Image minimum size

hochdorfer
Beginner
547 Views
Hello,
is there an minimum size for Ipp8u images. I want to create a Ipp8u image with an Pixel size of 60x29. When i use IppiMalloc to allocate memory, i get an imagestep of 64. Is there an posibility to create images with an size smaller than 64x64?
Siegfried
0 Kudos
3 Replies
pascal_bamford
Beginner
547 Views
Siegfried,

The minimum size of an 8u image allocated with ippiMalloc is 32x1. The rows are 32 byte aligned for performance (read the "Performance Tricks and Tips" in the Technical articles section of the IPP homepage). pStepBytes will always be a multiple of 32 and therefore your requested image width will be rounded up to the nearest multiple.

Pascal.
0 Kudos
hochdorfer
Beginner
547 Views
Thank you very much for your help.

Siegfried
0 Kudos
Vladimir_Dudnik
Employee
547 Views
Hi,
I need add correction, the minimal size of image which can be allocated with ippMalloc function is 1x1. But in memory such image will take 32x1 byte (as it was said -for performance reasons)
Regards,
Vladimir
0 Kudos
Reply