- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
There are some problems with the function ippiMalloc_8u_C1, that I am trying to use.
The function does allocate memory blocks with size of 1000x1000 pixels, but it seem to fail, when I'm trying to allocate really small blocks of memory, for example, 17x17 pixels.
What can be the possible explanation to this?
Thanks,
Dima.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dima,
why did you decide that it fails? Is it return NULL when you trying to allocate image 17x17 pixels?
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the function returns NULL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
could you please provide piece of your code? I just test this case (17x17) and function returns a valid pointer. Did you noticed that the third parameter should be pointer to integer variable where function will store step between adjacent lines of allocated image?
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