Structure similar to cv::cudev::GlobPtrSz but containing only a pointer and row step.
More...
#include <opencv2/cudev/ptr2d/glob.hpp>
|
__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 |
|
|
T * | data |
|
size_t | step |
| stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!!
|
|
template<typename T>
struct cv::cudev::GlobPtr< T >
Structure similar to cv::cudev::GlobPtrSz but containing only a pointer and row step.
Width and height fields are excluded due to performance reasons. The structure is intended for internal use or for users who write device code.
template<typename T>
__device__ __forceinline__ const T& cv::cudev::GlobPtr< T >::operator() |
( |
int |
y, |
|
|
int |
x |
|
) |
| const |
|
inline |
stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!!
The documentation for this struct was generated from the following file: