Struct NVCVCustomMemAllocatorRec

Struct Documentation

struct NVCVCustomMemAllocatorRec

Public Members

NVCVMemAllocFunc fnAlloc

Pointer to function that performs memory allocation.

  • Function must return memory buffer with type specified by memType.

  • Cannot be NULL.

NVCVMemFreeFunc fnFree

Pointer to function that performs memory deallocation.

  • Function must deallocate memory allocated by fnMemAlloc.

  • Cannot be NULL.