Searched refs:scaledInput (Results 1 – 2 of 2) sorted by relevance
179 const float scaledInput = inputClr[chanNdx] * (float)channelMax; in checkColor() local180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()183 channelChoices.push_back(de::min(channelMax, (int)deFloatCeil(scaledInput))); in checkColor()184 channelChoices.push_back(de::max(0, (int)deFloatCeil(scaledInput) - 1)); in checkColor()189 if (scaledInput > deFloatRound(scaledInput)) in checkColor()190 channelChoices.push_back((int)deFloatCeil(scaledInput) - 2); in checkColor()192 channelChoices.push_back((int)deFloatCeil(scaledInput) + 1); in checkColor()220 << "Note: " << inputClr[chanNdx] << " * (" << channelMax + 1 << "-1) = " << scaledInput in checkColor()