Home
last modified time | relevance | path

Searched refs:upShift (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/core/
DSkEdge.cpp314 static inline int SkFDot6UpShift(SkFDot6 x, int upShift) { in SkFDot6UpShift() argument
315 SkASSERT((SkLeftShift(x, upShift) >> upShift) == x); in SkFDot6UpShift()
316 return SkLeftShift(x, upShift); in SkFDot6UpShift()
398 int upShift = 6; // largest safe value in setCubic() local
399 int downShift = shift + upShift - 10; in setCubic()
402 upShift = 10 - shift; in setCubic()
410 SkFixed B = SkFDot6UpShift(3 * (x1 - x0), upShift); in setCubic()
411 SkFixed C = SkFDot6UpShift(3 * (x0 - x1 - x1 + x2), upShift); in setCubic()
412 SkFixed D = SkFDot6UpShift(x3 + 3 * (x1 - x2) - x0, upShift); in setCubic()
419 B = SkFDot6UpShift(3 * (y1 - y0), upShift); in setCubic()
[all …]