Custom Allocator support in OpenCV 3.1

asked 2016-08-25 05:08:11 -0500


is there a way to supply a custom allocator to OpenCV 3.1? If there is, is it guaranteed that OpenCV uses it for ALL allocations. No more malloc and/or new?

Regards! Gabriel

edit retag flag offensive close merge delete



they're already using custom allocators also, you'll find quite a few new / delete pairs.

some 3rd party code (flann, ffmpeg, etc) again use their own allocators, so no, not for ALL allocations.

berak gravatar imageberak ( 2016-08-25 05:24:53 -0500 )edit