OpenCV 4.10.0-dev
Open Source Computer Vision
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>

Collaboration diagram for cv::cudev::GlobPtrSz< T >:

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!!!
 

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
 

Detailed Description

template<typename 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: