Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkAnalyticEdge.cpp14 static const int kInverseTableSize = 1024; // SK_FDot6One * 16 variable
17 SkASSERT(SkAbs32(x) < kInverseTableSize); in quick_inverse()
18 static const int32_t table[kInverseTableSize * 2] = { in quick_inverse()
203 return table[kInverseTableSize + x]; in quick_inverse()
214 if (abs_b >= (1 << kMinBits) && abs_b < kInverseTableSize && abs_a < kMaxAbsA) { in quick_div()
270 fDY = dx == 0 || slope == 0 ? SK_MaxS32 : absSlope < kInverseTableSize in setLine()
320 : absSlope < kInverseTableSize in updateLine()
/external/skqp/src/core/
DSkAnalyticEdge.cpp14 static const int kInverseTableSize = 1024; // SK_FDot6One * 16 variable
17 SkASSERT(SkAbs32(x) < kInverseTableSize); in quick_inverse()
18 static const int32_t table[kInverseTableSize * 2] = { in quick_inverse()
203 return table[kInverseTableSize + x]; in quick_inverse()
214 if (abs_b >= (1 << kMinBits) && abs_b < kInverseTableSize && abs_a < kMaxAbsA) { in quick_div()
270 fDY = dx == 0 || slope == 0 ? SK_MaxS32 : absSlope < kInverseTableSize in setLine()
320 : absSlope < kInverseTableSize in updateLine()