#include <gpu.hpp>
|
| CudaMem () |
|
| CudaMem (const CudaMem &m) |
|
| CudaMem (int rows, int cols, int type, int _alloc_type=ALLOC_PAGE_LOCKED) |
|
| CudaMem (Size size, int type, int alloc_type=ALLOC_PAGE_LOCKED) |
|
| CudaMem (const Mat &m, int alloc_type=ALLOC_PAGE_LOCKED) |
| creates from cv::Mat with coping data More...
|
|
| ~CudaMem () |
|
CudaMem & | operator= (const CudaMem &m) |
|
CudaMem | clone () const |
| returns deep copy of the matrix, i.e. the data is copied More...
|
|
void | create (int rows, int cols, int type, int alloc_type=ALLOC_PAGE_LOCKED) |
| allocates new matrix data unless the matrix already has specified size and type. More...
|
|
void | create (Size size, int type, int alloc_type=ALLOC_PAGE_LOCKED) |
|
void | release () |
| decrements reference counter and released memory if needed. More...
|
|
Mat | createMatHeader () const |
| returns matrix header with disabled reference counting for CudaMem data. More...
|
|
| operator Mat () const |
|
GpuMat | createGpuMatHeader () const |
| maps host memory into device address space and returns GpuMat header for it. Throws exception if not supported by hardware. More...
|
|
| operator GpuMat () const |
|
bool | isContinuous () const |
|
size_t | elemSize () const |
|
size_t | elemSize1 () const |
|
int | type () const |
|
int | depth () const |
|
int | channels () const |
|
size_t | step1 () const |
|
Size | size () const |
|
bool | empty () const |
|
§ anonymous enum
Enumerator |
---|
ALLOC_PAGE_LOCKED | |
ALLOC_ZEROCOPY | |
ALLOC_WRITE_COMBINED | |
§ CudaMem() [1/5]
cv::gpu::CudaMem::CudaMem |
( |
| ) |
|
§ CudaMem() [2/5]
cv::gpu::CudaMem::CudaMem |
( |
const CudaMem & |
m | ) |
|
§ CudaMem() [3/5]
§ CudaMem() [4/5]
§ CudaMem() [5/5]
creates from cv::Mat with coping data
§ ~CudaMem()
cv::gpu::CudaMem::~CudaMem |
( |
| ) |
|
§ canMapHostMemory()
static bool cv::gpu::CudaMem::canMapHostMemory |
( |
| ) |
|
|
static |
§ channels()
int cv::gpu::CudaMem::channels |
( |
| ) |
const |
§ clone()
CudaMem cv::gpu::CudaMem::clone |
( |
| ) |
const |
returns deep copy of the matrix, i.e. the data is copied
§ create() [1/2]
allocates new matrix data unless the matrix already has specified size and type.
§ create() [2/2]
§ createGpuMatHeader()
GpuMat cv::gpu::CudaMem::createGpuMatHeader |
( |
| ) |
const |
maps host memory into device address space and returns GpuMat header for it. Throws exception if not supported by hardware.
§ createMatHeader()
Mat cv::gpu::CudaMem::createMatHeader |
( |
| ) |
const |
returns matrix header with disabled reference counting for CudaMem data.
§ depth()
int cv::gpu::CudaMem::depth |
( |
| ) |
const |
§ elemSize()
size_t cv::gpu::CudaMem::elemSize |
( |
| ) |
const |
§ elemSize1()
size_t cv::gpu::CudaMem::elemSize1 |
( |
| ) |
const |
§ empty()
bool cv::gpu::CudaMem::empty |
( |
| ) |
const |
§ isContinuous()
bool cv::gpu::CudaMem::isContinuous |
( |
| ) |
const |
§ operator GpuMat()
cv::gpu::CudaMem::operator GpuMat |
( |
| ) |
const |
§ operator Mat()
cv::gpu::CudaMem::operator Mat |
( |
| ) |
const |
§ operator=()
§ release()
void cv::gpu::CudaMem::release |
( |
| ) |
|
decrements reference counter and released memory if needed.
§ size()
Size cv::gpu::CudaMem::size |
( |
| ) |
const |
§ step1()
size_t cv::gpu::CudaMem::step1 |
( |
| ) |
const |
§ type()
int cv::gpu::CudaMem::type |
( |
| ) |
const |
§ alloc_type
int cv::gpu::CudaMem::alloc_type |
§ cols
int cv::gpu::CudaMem::cols |
§ data
uchar* cv::gpu::CudaMem::data |
§ dataend
uchar* cv::gpu::CudaMem::dataend |
§ datastart
uchar* cv::gpu::CudaMem::datastart |
§ flags
int cv::gpu::CudaMem::flags |
§ refcount
int* cv::gpu::CudaMem::refcount |
§ rows
int cv::gpu::CudaMem::rows |
§ step
size_t cv::gpu::CudaMem::step |
The documentation for this class was generated from the following file: