Loading...
Searching...
No Matches
cv::cudev::GlobPtrSz< T > Struct Template Reference
Lightweight class encapsulating pitched memory on a GPU and passed to nvcc-compiled code (CUDA kernels). More...
#include <opencv2/cudev/ptr2d/glob.hpp>
Inheritance diagram for cv::cudev::GlobPtrSz< T >:

Public Attributes | |
int | cols |
int | rows |
![]() | |
T * | data |
size_t | step |
stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!! | |
Additional Inherited Members | |
![]() | |
typedef int | index_type |
typedef T | value_type |
![]() | |
__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 |
Detailed Description
template<typename T>
struct cv::cudev::GlobPtrSz< T >
struct cv::cudev::GlobPtrSz< T >
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.
Member Data Documentation
◆ cols
template<typename T >
int cv::cudev::GlobPtrSz< T >::cols |
◆ rows
template<typename T >
int cv::cudev::GlobPtrSz< T >::rows |
The documentation for this struct was generated from the following file:
- opencv2/cudev/ptr2d/glob.hpp