Lines Matching refs:upShift
329 static inline int SkFDot6UpShift(SkFDot6 x, int upShift) {
330 SkASSERT((SkLeftShift(x, upShift) >> upShift) == x);
331 return SkLeftShift(x, upShift);
415 int upShift = 6; // largest safe value
416 int downShift = shift + upShift - 10;
419 upShift = 10 - shift;
427 SkFixed B = SkFDot6UpShift(3 * (x1 - x0), upShift);
428 SkFixed C = SkFDot6UpShift(3 * (x0 - x1 - x1 + x2), upShift);
429 SkFixed D = SkFDot6UpShift(x3 + 3 * (x1 - x2) - x0, upShift);
436 B = SkFDot6UpShift(3 * (y1 - y0), upShift);
437 C = SkFDot6UpShift(3 * (y0 - y1 - y1 + y2), upShift);
438 D = SkFDot6UpShift(y3 + 3 * (y1 - y2) - y0, upShift);