Problems with ippiMalloc funciton

Problems with ippiMalloc funciton


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?


4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Dima,

why did you decide that it fails? Is it return NULL when you trying to allocate image 17x17 pixels?


Yes, the function returns NULL.


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?


Leave a Comment

Please sign in to add a comment. Not a member? Join today