Home
last modified time | relevance | path

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

/external/skia/src/effects/gradients/
DSkRadialGradient.cpp13 #define kSQRT_TABLE_BITS 11 macro
14 #define kSQRT_TABLE_SIZE (1 << kSQRT_TABLE_BITS)
99 unsigned fi = (xx * xx + fy) >> (14 + 16 - kSQRT_TABLE_BITS); in shadeSpan16_radial_clamp()
100 fi = SkFastMin32(fi, 0xFFFF >> (16 - kSQRT_TABLE_BITS)); in shadeSpan16_radial_clamp()
110 fi = (xx * xx + fi * fi) >> (14 + 16 - kSQRT_TABLE_BITS); in shadeSpan16_radial_clamp()
111 fi = SkFastMin32(fi, 0xFFFF >> (16 - kSQRT_TABLE_BITS)); in shadeSpan16_radial_clamp()