Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Объявления
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Image minimum size

hochdorfer
Начинающий
923Просмотр.
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 баллов
3 Ответы
pascal_bamford
Начинающий
923Просмотр.
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.
hochdorfer
Начинающий
923Просмотр.
Thank you very much for your help.

Siegfried
Vladimir_Dudnik
Сотрудник
923Просмотр.
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
Ответить