OpenCV  2.4.13.7
Open Source Computer Vision
cv::gpu::PtrElemStep_< T > Struct Template Reference

#include <cuda_devptrs.hpp>

Inheritance diagram for cv::gpu::PtrElemStep_< T >:
cv::gpu::PtrStep< T > cv::gpu::DevPtr< T >

Public Member Functions

 PtrElemStep_ (const DevMem2D_< T > &mem)
 
T * ptr (int y=0)
 
const T * ptr (int y=0) const
 
T & operator() (int y, int x)
 
const T & operator() (int y, int x) const
 
- Public Member Functions inherited from cv::gpu::PtrStep< T >
 PtrStep ()
 
 PtrStep (T *data_, size_t step_)
 
T * ptr (int y=0)
 
const T * ptr (int y=0) const
 
T & operator() (int y, int x)
 
const T & operator() (int y, int x) const
 
- Public Member Functions inherited from cv::gpu::DevPtr< T >
 DevPtr ()
 
 DevPtr (T *data_)
 
size_t elemSize () const
 
 operator T* ()
 
 operator const T * () const
 

Additional Inherited Members

- Public Types inherited from cv::gpu::DevPtr< T >
enum  { elem_size = sizeof(elem_type) }
 
typedef T elem_type
 
typedef int index_type
 
- Public Attributes inherited from cv::gpu::PtrStep< T >
size_t step
 stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!! More...
 
- Public Attributes inherited from cv::gpu::DevPtr< T >
T * data
 

Constructor & Destructor Documentation

§ PtrElemStep_()

template<typename T >
cv::gpu::PtrElemStep_< T >::PtrElemStep_ ( const DevMem2D_< T > &  mem)
inline

Member Function Documentation

§ operator()() [1/2]

template<typename T >
T& cv::gpu::PtrElemStep_< T >::operator() ( int  y,
int  x 
)
inline

§ operator()() [2/2]

template<typename T >
const T& cv::gpu::PtrElemStep_< T >::operator() ( int  y,
int  x 
) const
inline

§ ptr() [1/2]

template<typename T >
T* cv::gpu::PtrElemStep_< T >::ptr ( int  y = 0)
inline

§ ptr() [2/2]

template<typename T >
const T* cv::gpu::PtrElemStep_< T >::ptr ( int  y = 0) const
inline

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