- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for your help.
Siegfried
Siegfried
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page