View Source Evision.CUDA.HostMem (Evision v0.1.9)
Link to this section Summary
cv.cuda
Python prototype (for reference):
Python prototype (for reference):
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Python prototype (for reference):
Python prototype (for reference):
##### Keyword Arguments
Variant 1:
Positional Arguments
- arr:
Evision.Mat
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
Variant 1:
Positional Arguments
- size:
Size
- type:
int
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
Variant 1:
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Maps CPU memory to GPU address space and creates the cuda::GpuMat header without reference counting for it.
Positional Arguments
- cn:
int
Keyword Arguments
- rows:
int
.
Python prototype (for reference):
Positional Arguments
- cn:
int
Keyword Arguments
- rows:
int
.
Python prototype (for reference):
Python prototype (for reference):
Python prototype (for reference):
Positional Arguments
- b:
HostMem
Python prototype (for reference):
Python prototype (for reference):
Functions
Raising version of channels/1
.
Raising version of clone/1
.
Raising version of create/4
.
Raising version of createMatHeader/1
.
Raising version of cuda_HostMem/0
.
Raising version of cuda_HostMem/1
.
Raising version of cuda_HostMem/2
.
Raising version of cuda_HostMem/3
.
Raising version of cuda_HostMem/4
.
Raising version of depth/1
.
Raising version of elemSize1/1
.
Raising version of elemSize/1
.
Raising version of empty/1
.
Raising version of get_step/1
.
Raising version of isContinuous/1
.
Raising version of reshape/2
.
Raising version of reshape/3
.
Raising version of size/1
.
Raising version of step1/1
.
Raising version of swap/2
.
Raising version of type/1
.
Link to this section cv.cuda
Python prototype (for reference):
channels() -> retval
Python prototype (for reference):
clone() -> retval
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Python prototype (for reference):
create(rows, cols, type) -> None
Python prototype (for reference):
createMatHeader() -> retval
##### Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
HostMem([, alloc_type]) -> <cuda_HostMem object>
Variant 1:
Positional Arguments
- arr:
Evision.Mat
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
HostMem(arr[, alloc_type]) -> <cuda_HostMem object>
Variant 2:
##### Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
HostMem([, alloc_type]) -> <cuda_HostMem object>
Variant 1:
Positional Arguments
- size:
Size
- type:
int
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
HostMem(size, type[, alloc_type]) -> <cuda_HostMem object>
Variant 2:
Positional Arguments
- arr:
Evision.Mat
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
HostMem(arr[, alloc_type]) -> <cuda_HostMem object>
Variant 1:
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
HostMem(rows, cols, type[, alloc_type]) -> <cuda_HostMem object>
Variant 2:
Positional Arguments
- size:
Size
- type:
int
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
HostMem(size, type[, alloc_type]) -> <cuda_HostMem object>
Positional Arguments
- rows:
int
- cols:
int
- type:
int
Keyword Arguments
- alloc_type:
HostMem_AllocType
.
Python prototype (for reference):
HostMem(rows, cols, type[, alloc_type]) -> <cuda_HostMem object>
Python prototype (for reference):
depth() -> retval
Python prototype (for reference):
elemSize1() -> retval
Python prototype (for reference):
elemSize() -> retval
Python prototype (for reference):
empty() -> retval
Maps CPU memory to GPU address space and creates the cuda::GpuMat header without reference counting for it.
This can be done only if memory was allocated with the SHARED flag and if it is supported by the hardware. Laptops often share video and CPU memory, so address spaces can be mapped, which eliminates an extra copy.
Python prototype (for reference):
isContinuous() -> retval
Positional Arguments
- cn:
int
Keyword Arguments
- rows:
int
.
Python prototype (for reference):
reshape(cn[, rows]) -> retval
Positional Arguments
- cn:
int
Keyword Arguments
- rows:
int
.
Python prototype (for reference):
reshape(cn[, rows]) -> retval
Python prototype (for reference):
size() -> retval
Python prototype (for reference):
step1() -> retval
Positional Arguments
- b:
HostMem
Python prototype (for reference):
swap(b) -> None
Python prototype (for reference):
type() -> retval
Link to this section Functions
Raising version of channels/1
.
Raising version of clone/1
.
Raising version of create/4
.
Raising version of createMatHeader/1
.
Raising version of cuda_HostMem/0
.
Raising version of cuda_HostMem/1
.
Raising version of cuda_HostMem/2
.
Raising version of cuda_HostMem/3
.
Raising version of cuda_HostMem/4
.
Raising version of depth/1
.
Raising version of elemSize1/1
.
Raising version of elemSize/1
.
Raising version of empty/1
.
Raising version of get_step/1
.
Raising version of isContinuous/1
.
Raising version of reshape/2
.
Raising version of reshape/3
.
Raising version of size/1
.
Raising version of step1/1
.
Raising version of swap/2
.
Raising version of type/1
.