You right, we have no example of a pure DefaultMemoryAllocator or user applied memory control policy.
But the MPEG2 demuxer may be used as an example of such an approach.
Please look at umc_demuxer.h and umc_demuxer.cpp.
The demuxer class member m_pMemoryAllocator is a MemoryAllocator (not directly used because this is an abstract base class) used to provide user defined memory for the frame constructor.
This member will be created as a DefaultMemoryAllocator object and then used by the frame constructor.
Can the i_malloc package located in the advanced_usage/tools/linkage also be used to modify the memory allocation if I force the i_malloc i_calloc i_realloc and i_free to point to my implementations of alloc. Would this change the whole the IPP libraries including the NEW implementations?
If so how would I force IPP to use my alloc?