- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
Ссылка скопирована
3 Ответы
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.
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.
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Thank you very much for your help.
Siegfried
Siegfried
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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

Ответить
Параметры темы
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати