OpenCV  4.10.0
开源计算机视觉
正在加载...
正在搜索...
没有匹配项
公共类型 | 公共成员函数 | 公共属性 | 所有成员列表
cv::UMatData 结构体参考

#include <opencv2/core/mat.hpp>

cv::UMatData 的协作图

公共类型

枚举  MemoryFlag {
  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 ,
  ASYNC_CLEANUP =128
}
 

公共成员函数

 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 ()
 

公共属性

std::shared_ptr< void > allocatorContext
 
int allocatorFlags_
 
const MatAllocatorcurrAllocator
 
uchardata
 
UMatData::MemoryFlag flags
 
void * handle
 
int mapcount
 
ucharorigdata
 
UMatDataoriginalUMatData
 
const MatAllocatorprevAllocator
 
int refcount
 
size_t size
 
int urefcount
 
void * userdata
 

成员枚举文档

◆ MemoryFlag

枚举器
COPY_ON_MAP 
HOST_COPY_OBSOLETE 
DEVICE_COPY_OBSOLETE 
TEMP_UMAT 
TEMP_COPIED_UMAT 
USER_ALLOCATED 
DEVICE_MEM_MAPPED 
ASYNC_CLEANUP 

构造函数和析构函数文档

◆ UMatData()

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

◆ ~UMatData()

cv::UMatData::~UMatData ( )

成员函数文档

◆ copyOnMap()

bool cv::UMatData::copyOnMap ( ) const

◆ deviceCopyObsolete()

bool cv::UMatData::deviceCopyObsolete ( ) const

◆ deviceMemMapped()

bool cv::UMatData::deviceMemMapped ( ) const

◆ hostCopyObsolete()

bool cv::UMatData::hostCopyObsolete ( ) const

◆ lock()

void cv::UMatData::lock ( )

◆ markDeviceCopyObsolete()

void cv::UMatData::markDeviceCopyObsolete ( bool  flag)

◆ markDeviceMemMapped()

void cv::UMatData::markDeviceMemMapped ( bool  flag)

◆ markHostCopyObsolete()

void cv::UMatData::markHostCopyObsolete ( bool  flag)

◆ tempCopiedUMat()

bool cv::UMatData::tempCopiedUMat ( ) const

◆ tempUMat()

bool cv::UMatData::tempUMat ( ) const

◆ unlock()

void cv::UMatData::unlock ( )

成员数据文档

◆ allocatorContext

std::shared_ptr<void> cv::UMatData::allocatorContext

◆ allocatorFlags_

int cv::UMatData::allocatorFlags_

◆ currAllocator

const MatAllocator* cv::UMatData::currAllocator

◆ data

uchar* cv::UMatData::data

◆ flags

UMatData::MemoryFlag cv::UMatData::flags

◆ handle

void* cv::UMatData::handle

◆ mapcount

int cv::UMatData::mapcount

◆ origdata

uchar* cv::UMatData::origdata

◆ originalUMatData

UMatData* cv::UMatData::originalUMatData

◆ prevAllocator

const MatAllocator* cv::UMatData::prevAllocator

◆ refcount

int cv::UMatData::refcount

◆ size

size_t cv::UMatData::size

◆ urefcount

int cv::UMatData::urefcount

◆ userdata

void* cv::UMatData::userdata

此结构体的文档由以下文件生成