OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
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 >:
cv::cudev::GlobPtrSz< 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
template<typename T>
__device__ __forceinline__ const T& cv::cudev::GlobPtr< T >::operator() ( int  y,
int  x 
) const
inline
template<typename T>
__device__ __forceinline__ T* cv::cudev::GlobPtr< T >::row ( int  y)
inline
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!!!


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