|
|
|
@ -29,7 +29,7 @@ This lightweight class encapsulates pitched memory on a GPU and is passed to nvc |
|
|
|
|
|
|
|
|
|
__CV_GPU_HOST_DEVICE__ size_t elemSize() const; |
|
|
|
|
|
|
|
|
|
/* returns pointer to the beggining of the given image row */ |
|
|
|
|
/* returns pointer to the beginning of the given image row */ |
|
|
|
|
__CV_GPU_HOST_DEVICE__ T* ptr(int y = 0); |
|
|
|
|
__CV_GPU_HOST_DEVICE__ const T* ptr(int y = 0) const; |
|
|
|
|
}; |
|
|
|
@ -37,6 +37,7 @@ This lightweight class encapsulates pitched memory on a GPU and is passed to nvc |
|
|
|
|
typedef DevMem2D_<unsigned char> DevMem2D; |
|
|
|
|
typedef DevMem2D_<float> DevMem2Df; |
|
|
|
|
typedef DevMem2D_<int> DevMem2Di; |
|
|
|
|
.. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. index:: gpu::PtrStep\_ |
|
|
|
|