Lines Matching full:lptr
343 const uchar *lptr, *lptr_sub, *rptr;
369 lptr = lptr0 + MIN(MAX(x, -lofs), width-lofs-1) - dy0*sstep;
372 for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep )
374 int lval = lptr[0];
410 lptr = lptr0 + MIN(MAX(x1, -lofs), width-1-lofs) - dy0*sstep;
414 hsad += ndisp, lptr += sstep, lptr_sub += sstep, rptr += sstep )
416 int lval = lptr[0];
601 const uchar *lptr, *lptr_sub, *rptr;
626 lptr = lptr0 + std::min(std::max(x, -lofs), width-lofs-1) - dy0*sstep;
628 for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep )
630 int lval = lptr[0];
676 lptr = lptr0 + MIN(MAX(x1, -lofs), width-1-lofs) - dy0*sstep;
680 hsad += ndisp, lptr += sstep, lptr_sub += sstep, rptr += sstep )
682 int lval = lptr[0];