- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
링크가 복사됨
3 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi Dima,
why did you decide that it fails? Is it return NULL when you trying to allocate image 17x17 pixels?
Regards,
Vladimir
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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
