OpenCV  2.4.13.4
Open Source Computer Vision
cv::gpu::PtrStep< T > Struct Template Reference

#include <cuda_devptrs.hpp>

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

Public Member Functions

 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
 

Public Attributes

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
 

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
 

Constructor & Destructor Documentation

§ PtrStep() [1/2]

template<typename T>
cv::gpu::PtrStep< T >::PtrStep ( )
inline

§ PtrStep() [2/2]

template<typename T>
cv::gpu::PtrStep< T >::PtrStep ( T *  data_,
size_t  step_ 
)
inline

Member Function Documentation

§ operator()() [1/2]

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

§ operator()() [2/2]

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

§ ptr() [1/2]

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

§ ptr() [2/2]

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

Member Data Documentation

§ step

template<typename T>
size_t cv::gpu::PtrStep< 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: