Searched refs:inTableSize (Results 1 – 2 of 2) sorted by relevance
64 int outTableSize, const float* inTable, int inTableSize) { in invert_table_gamma() argument67 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()
99 int inTableSize) { in build_table_linear_from_gamma() argument100 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() argument139 invert_table_gamma(nullptr, outTable, kDstGammaTableSize, inTable, inTableSize); in build_table_linear_to_gamma()