Custom Allocator support in OpenCV 3.1

asked Aug 25 '16

Hi,

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

Preview: (hide)

Comments

1

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 (Aug 25 '16)edit