Lines Matching defs:rshift
272 int rshift = cvRound(log(maxval/256.)/log(2.));
273 int lshift = MAX(0, -rshift);
274 rshift = MAX(0, rshift);
275 int delta = (rshift > 0 ? 1 << (rshift - 1) : 0) + offset;
293 int pix = ((pix_row[x] + delta) >> rshift) << lshift;
300 int pix = ((pix_row[j] + delta) >> rshift) << lshift;
306 int pix = ((pix_row[j] + delta) >> rshift) << lshift;
334 int rshift = cvRound(log(maxval/65536.)/log(2.));
335 int lshift = MAX(0, -rshift);
336 rshift = MAX(0, rshift);
337 int delta = (rshift > 0 ? 1 << (rshift - 1) : 0) + offset;
355 int pix = ((pix_row[x] + delta) >> rshift) << lshift;
362 int pix = ((pix_row[j] + delta) >> rshift) << lshift;
368 int pix = ((pix_row[j] + delta) >> rshift) << lshift;