Searched refs:upShift (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/core/ |
D | SkEdge.cpp | 329 static inline int SkFDot6UpShift(SkFDot6 x, int upShift) { in SkFDot6UpShift() argument 330 SkASSERT((SkLeftShift(x, upShift) >> upShift) == x); in SkFDot6UpShift() 331 return SkLeftShift(x, upShift); in SkFDot6UpShift() 415 int upShift = 6; // largest safe value in setCubicWithoutUpdate() local 416 int downShift = shift + upShift - 10; in setCubicWithoutUpdate() 419 upShift = 10 - shift; in setCubicWithoutUpdate() 427 SkFixed B = SkFDot6UpShift(3 * (x1 - x0), upShift); in setCubicWithoutUpdate() 428 SkFixed C = SkFDot6UpShift(3 * (x0 - x1 - x1 + x2), upShift); in setCubicWithoutUpdate() 429 SkFixed D = SkFDot6UpShift(x3 + 3 * (x1 - x2) - x0, upShift); in setCubicWithoutUpdate() 436 B = SkFDot6UpShift(3 * (y1 - y0), upShift); in setCubicWithoutUpdate() [all …]
|
/external/skia/src/core/ |
D | SkEdge.cpp | 329 static inline int SkFDot6UpShift(SkFDot6 x, int upShift) { in SkFDot6UpShift() argument 330 SkASSERT((SkLeftShift(x, upShift) >> upShift) == x); in SkFDot6UpShift() 331 return SkLeftShift(x, upShift); in SkFDot6UpShift() 415 int upShift = 6; // largest safe value in setCubicWithoutUpdate() local 416 int downShift = shift + upShift - 10; in setCubicWithoutUpdate() 419 upShift = 10 - shift; in setCubicWithoutUpdate() 427 SkFixed B = SkFDot6UpShift(3 * (x1 - x0), upShift); in setCubicWithoutUpdate() 428 SkFixed C = SkFDot6UpShift(3 * (x0 - x1 - x1 + x2), upShift); in setCubicWithoutUpdate() 429 SkFixed D = SkFDot6UpShift(x3 + 3 * (x1 - x2) - x0, upShift); in setCubicWithoutUpdate() 436 B = SkFDot6UpShift(3 * (y1 - y0), upShift); in setCubicWithoutUpdate() [all …]
|