OpenCV  3.4.19
Open Source Computer Vision
Public Member Functions | List of all members
NCVMemStackAllocator Class Reference

#include <opencv2/cudalegacy/NCV.hpp>

Inheritance diagram for NCVMemStackAllocator:
INCVMemAllocator

Public Member Functions

 NCVMemStackAllocator (Ncv32u alignment)
 
 NCVMemStackAllocator (NCVMemoryType memT, size_t capacity, Ncv32u alignment, void *reusePtr=NULL)
 
virtual ~NCVMemStackAllocator ()
 
virtual Ncv32u alignment () const
 
virtual NCVStatus alloc (NCVMemSegment &seg, size_t size)
 
virtual NCVStatus dealloc (NCVMemSegment &seg)
 
virtual NcvBool isCounting () const
 
virtual NcvBool isInitialized () const
 
virtual size_t maxSize () const
 
virtual NCVMemoryType memType () const
 
- Public Member Functions inherited from INCVMemAllocator
virtual ~INCVMemAllocator ()=0
 

Detailed Description

NCVMemStackAllocator

Constructor & Destructor Documentation

◆ NCVMemStackAllocator() [1/2]

NCVMemStackAllocator::NCVMemStackAllocator ( Ncv32u  alignment)
explicit

◆ NCVMemStackAllocator() [2/2]

NCVMemStackAllocator::NCVMemStackAllocator ( NCVMemoryType  memT,
size_t  capacity,
Ncv32u  alignment,
void *  reusePtr = NULL 
)

◆ ~NCVMemStackAllocator()

virtual NCVMemStackAllocator::~NCVMemStackAllocator ( )
virtual

Member Function Documentation

◆ alignment()

virtual Ncv32u NCVMemStackAllocator::alignment ( ) const
virtual

Implements INCVMemAllocator.

◆ alloc()

virtual NCVStatus NCVMemStackAllocator::alloc ( NCVMemSegment seg,
size_t  size 
)
virtual

Implements INCVMemAllocator.

◆ dealloc()

virtual NCVStatus NCVMemStackAllocator::dealloc ( NCVMemSegment seg)
virtual

Implements INCVMemAllocator.

◆ isCounting()

virtual NcvBool NCVMemStackAllocator::isCounting ( ) const
virtual

Implements INCVMemAllocator.

◆ isInitialized()

virtual NcvBool NCVMemStackAllocator::isInitialized ( ) const
virtual

Implements INCVMemAllocator.

◆ maxSize()

virtual size_t NCVMemStackAllocator::maxSize ( ) const
virtual

Implements INCVMemAllocator.

◆ memType()

virtual NCVMemoryType NCVMemStackAllocator::memType ( ) const
virtual

Implements INCVMemAllocator.


The documentation for this class was generated from the following file: