Home
last modified time | relevance | path

Searched refs:scaledInput (Results 1 – 3 of 3) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fDitheringTests.cpp179 const float scaledInput = inputClr[chanNdx] * (float)channelMax; in checkColor() local
180 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()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp179 const float scaledInput = inputClr[chanNdx] * (float)channelMax; in checkColor() local
180 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()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DDynamicsCompressorKernel.cpp386 float scaledInput = compressorInput; in process() local
387 float absInput = scaledInput > 0 ? scaledInput : -scaledInput; in process()