Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkColorLookUpTable.cpp128 float SkColorLookUpTable::interpDimension(const float* src, int inputDimension, in interpDimension() argument
134 if (inputDimension < 0) { in interpDimension()
147 const float x = src[inputDimension] * (fGridPoints[inputDimension] - 1); in interpDimension()
149 index[inputDimension] = sk_float_floor2int(x); in interpDimension()
150 const float diff = x - index[inputDimension]; in interpDimension()
152 const float lo = interpDimension(src, inputDimension - 1, outputDimension, index); in interpDimension()
154 index[inputDimension] = sk_float_ceil2int(x); in interpDimension()
156 const float hi = interpDimension(src, inputDimension - 1, outputDimension, index); in interpDimension()
DSkColorLookUpTable.h61 float interpDimension(const float* src, int inputDimension, int outputDimension,