OpenCV
4.2.0
Open Source Computer Vision
|
Lightweight class encapsulating pitched memory on a GPU and passed to nvcc-compiled code (CUDA kernels). More...
#include <opencv2/cudev/ptr2d/glob.hpp>
Public Attributes | |
int | cols |
int | rows |
Public Attributes inherited from cv::cudev::GlobPtr< T > | |
T * | data |
size_t | step |
stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!! More... | |
Additional Inherited Members | |
Public Types inherited from cv::cudev::GlobPtr< T > | |
typedef int | index_type |
typedef T | value_type |
Public Member Functions inherited from cv::cudev::GlobPtr< T > | |
__device__ __forceinline__ T & | operator() (int y, int x) |
__device__ __forceinline__ const T & | operator() (int y, int x) const |
__device__ __forceinline__ T * | row (int y) |
__device__ __forceinline__ const T * | row (int y) const |
Lightweight class encapsulating pitched memory on a GPU and passed to nvcc-compiled code (CUDA kernels).
Typically, it is used internally by OpenCV and by users who write device code. You can call its members from both host and device code.
int cv::cudev::GlobPtrSz< T >::cols |
int cv::cudev::GlobPtrSz< T >::rows |