OpenCV  3.2.0-dev
Open Source Computer Vision
cv::cudev::GlobPtr< T > Struct Template Reference

Structure similar to cv::cudev::GlobPtrSz but containing only a pointer and row step. More...

#include "glob.hpp"

Inheritance diagram for cv::cudev::GlobPtr< T >:
Collaboration diagram for cv::cudev::GlobPtr< T >:

Public Types

typedef int index_type
 
typedef T value_type
 

Public Member Functions

__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
 

Public Attributes

T * data
 
size_t step
 stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!! More...
 

Detailed Description

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.

Member Typedef Documentation

template<typename T>
typedef int cv::cudev::GlobPtr< T >::index_type
template<typename T>
typedef T cv::cudev::GlobPtr< T >::value_type

Member Function Documentation

template<typename T>
__device__ __forceinline__ T& cv::cudev::GlobPtr< T >::operator() ( int  y,
int  x 
)
inline

References cv::cudev::GlobPtr< T >::row().

Here is the call graph for this function:

template<typename T>
__device__ __forceinline__ const T& cv::cudev::GlobPtr< T >::operator() ( int  y,
int  x 
) const
inline

References cv::cudev::GlobPtr< T >::row().

Here is the call graph for this function:

template<typename T>
__device__ __forceinline__ T* cv::cudev::GlobPtr< T >::row ( int  y)
inline

Referenced by cv::cudev::GlobPtr< T >::operator()().

Here is the caller graph for this function:

template<typename T>
__device__ __forceinline__ const T* cv::cudev::GlobPtr< T >::row ( int  y) const
inline

Member Data Documentation

template<typename T>
T* cv::cudev::GlobPtr< T >::data
template<typename T>
size_t cv::cudev::GlobPtr< T >::step

stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!!

Referenced by cv::cudev::globPtr(), and cv::cudev::Texture< T >::Texture().


The documentation for this struct was generated from the following file: