#include <cuda_devptrs.hpp>
Inherits cv::gpu::PtrStep< T >.
Public Types | |
enum | { elem_size = sizeof(elem_type) } |
typedef T | elem_type |
typedef int | index_type |
Public Member Functions | |
PtrElemStep_ (const DevMem2D_< T > &mem) | |
__CV_GPU_HOST_DEVICE__ T * | ptr (int y=0) |
__CV_GPU_HOST_DEVICE__ const T * | ptr (int y=0) const |
__CV_GPU_HOST_DEVICE__ T & | operator() (int y, int x) |
__CV_GPU_HOST_DEVICE__ const T & | operator() (int y, int x) const |
__CV_GPU_HOST_DEVICE__ size_t | elemSize () const |
__CV_GPU_HOST_DEVICE__ | operator T * () |
__CV_GPU_HOST_DEVICE__ | 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... | |
T * | data |
|
inherited |
|
inherited |
cv::gpu::PtrElemStep_< T >::PtrElemStep_ | ( | const DevMem2D_< T > & | mem | ) |
__CV_GPU_HOST_DEVICE__ T* cv::gpu::PtrElemStep_< T >::ptr | ( | int | y = 0 | ) |
__CV_GPU_HOST_DEVICE__ const T* cv::gpu::PtrElemStep_< T >::ptr | ( | int | y = 0 | ) | const |
__CV_GPU_HOST_DEVICE__ T& cv::gpu::PtrElemStep_< T >::operator() | ( | int | y, |
int | x | ||
) |
__CV_GPU_HOST_DEVICE__ const T& cv::gpu::PtrElemStep_< T >::operator() | ( | int | y, |
int | x | ||
) | const |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!!
|
inherited |