Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkColorSpaceXformPriv.h64 int outTableSize, const float* inTable, int inTableSize) { in invert_table_gamma() argument
67 SkASSERT(inTableSize >= 2); in invert_table_gamma()
71 while (inIndex < inTableSize - 1 && inTable[inIndex] < input) { in invert_table_gamma()
77 const float index = normalizedIndex / (inTableSize - 1); in invert_table_gamma()
DSkColorSpaceXform.cpp99 int inTableSize) { in build_table_linear_from_gamma() argument
100 if (256 == inTableSize) { in build_table_linear_from_gamma()
106 *outTable++ = interp_lut(x, inTable, inTableSize); in build_table_linear_from_gamma()
138 int inTableSize) { in build_table_linear_to_gamma() argument
139 invert_table_gamma(nullptr, outTable, kDstGammaTableSize, inTable, inTableSize); in build_table_linear_to_gamma()