Lines Matching defs:value
28 static inline SkFixed SkFDot6ToFixedDiv2(SkFDot6 value) {
29 // we want to return SkFDot6ToFixed(value >> 1), but we don't want to throw
30 // away data in value, so just perform a modify up-shift
31 return SkLeftShift(value, 16 - 6 - 1);
145 /* We store 1<<shift in a (signed) byte, so its maximum value is 1<<6 == 64.
177 // each subdivision (shift value) cuts this dist (error) by 1/4
254 * A and B at 1/2 of their actual value, and just apply a 2x scale during
261 SkFixed A = SkFDot6ToFixedDiv2(x0 - x1 - x1 + x2); // 1/2 the real value
262 SkFixed B = SkFDot6ToFixed(x1 - x0); // 1/2 the real value
268 A = SkFDot6ToFixedDiv2(y0 - y1 - y1 + y2); // 1/2 the real value
269 B = SkFDot6ToFixed(y1 - y0); // 1/2 the real value
415 int upShift = 6; // largest safe value