Lines Matching refs:upShift
316 static inline int SkFDot6UpShift(SkFDot6 x, int upShift) {
317 SkASSERT((x << upShift >> upShift) == x);
318 return x << upShift;
404 compute coefficients with a 3*, so the safest upshift is really 6
406 int upShift = 6; // largest safe value
407 int downShift = shift + upShift - 10;
410 upShift = 10 - shift;
418 SkFixed B = SkFDot6UpShift(3 * (x1 - x0), upShift);
419 SkFixed C = SkFDot6UpShift(3 * (x0 - x1 - x1 + x2), upShift);
420 SkFixed D = SkFDot6UpShift(x3 + 3 * (x1 - x2) - x0, upShift);
427 B = SkFDot6UpShift(3 * (y1 - y0), upShift);
428 C = SkFDot6UpShift(3 * (y0 - y1 - y1 + y2), upShift);
429 D = SkFDot6UpShift(y3 + 3 * (y1 - y2) - y0, upShift);