Home | History | Annotate | Download | only in ptr2d

Lines Matching refs:step

57 /** @brief Structure similar to cv::cudev::GlobPtrSz but containing only a pointer and row step.
69 //! stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!!!
70 size_t step;
72 __device__ __forceinline__ T* row(int y) { return ( T*)( ( uchar*)data + y * step); }
73 __device__ __forceinline__ const T* row(int y) const { return (const T*)( (const uchar*)data + y * step); }
91 __host__ __device__ GlobPtr<T> globPtr(T* data, size_t step)
95 p.step = step;
100 __host__ __device__ GlobPtrSz<T> globPtr(T* data, size_t step, int rows, int cols)
104 p.step = step;
115 p.step = mat.step;