OpenCV  3.0.0
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
cv::UMatData Struct Reference

#include "mat.hpp"

Public Types

enum  {
  COPY_ON_MAP =1,
  HOST_COPY_OBSOLETE =2,
  DEVICE_COPY_OBSOLETE =4,
  TEMP_UMAT =8,
  TEMP_COPIED_UMAT =24,
  USER_ALLOCATED =32,
  DEVICE_MEM_MAPPED =64
}
 

Public Member Functions

 UMatData (const MatAllocator *allocator)
 
 ~UMatData ()
 
bool copyOnMap () const
 
bool deviceCopyObsolete () const
 
bool deviceMemMapped () const
 
bool hostCopyObsolete () const
 
void lock ()
 
void markDeviceCopyObsolete (bool flag)
 
void markDeviceMemMapped (bool flag)
 
void markHostCopyObsolete (bool flag)
 
bool tempCopiedUMat () const
 
bool tempUMat () const
 
void unlock ()
 

Public Attributes

int allocatorFlags_
 
const MatAllocatorcurrAllocator
 
uchardata
 
int flags
 
void * handle
 
ucharorigdata
 
const MatAllocatorprevAllocator
 
int refcount
 
size_t size
 
int urefcount
 
void * userdata
 

Member Enumeration Documentation

anonymous enum
Enumerator
COPY_ON_MAP 
HOST_COPY_OBSOLETE 
DEVICE_COPY_OBSOLETE 
TEMP_UMAT 
TEMP_COPIED_UMAT 
USER_ALLOCATED 
DEVICE_MEM_MAPPED 

Constructor & Destructor Documentation

cv::UMatData::UMatData ( const MatAllocator allocator)
cv::UMatData::~UMatData ( )

Member Function Documentation

bool cv::UMatData::copyOnMap ( ) const
bool cv::UMatData::deviceCopyObsolete ( ) const
bool cv::UMatData::deviceMemMapped ( ) const
bool cv::UMatData::hostCopyObsolete ( ) const
void cv::UMatData::lock ( )
void cv::UMatData::markDeviceCopyObsolete ( bool  flag)
void cv::UMatData::markDeviceMemMapped ( bool  flag)
void cv::UMatData::markHostCopyObsolete ( bool  flag)
bool cv::UMatData::tempCopiedUMat ( ) const
bool cv::UMatData::tempUMat ( ) const
void cv::UMatData::unlock ( )

Member Data Documentation

int cv::UMatData::allocatorFlags_
const MatAllocator* cv::UMatData::currAllocator
uchar* cv::UMatData::data
int cv::UMatData::flags
void* cv::UMatData::handle
uchar* cv::UMatData::origdata
const MatAllocator* cv::UMatData::prevAllocator
int cv::UMatData::refcount
size_t cv::UMatData::size
int cv::UMatData::urefcount
void* cv::UMatData::userdata

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