Lines Matching refs:stride
53 row_ptr_cache(T* buf, unsigned width, unsigned height, int stride) :
60 attach(buf, width, height, stride);
64 void attach(T* buf, unsigned width, unsigned height, int stride)
69 m_stride = stride;
77 if(stride < 0)
79 row_ptr = m_buf - int(height - 1) * stride;
87 row_ptr += stride;
96 int stride() const { return m_stride; }
136 unsigned stride = stride_abs();
141 for(x = 0; x < stride; x++)