Searched refs:deFloatRound (Results 1 – 8 of 8) sorted by relevance
180 const bool useRoundingMargin = deFloatAbs(scaledInput - deFloatRound(scaledInput)) < 0.0001f; in checkColor()189 if (scaledInput > deFloatRound(scaledInput)) in checkColor()198 …const int renderedClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channel… in checkColor()
1537 maskBitIndices[sampleNdx] = (int)deFloatRound(color.getGreen() / 255.0f * m_numTargetSamples); in verifySampleBuffers()1751 int redBits = (int)deFloatRound(lowColor.getRed() / 255.0f * 31); in postTest()1752 int greenBits = (int)deFloatRound(lowColor.getGreen() / 255.0f * 63); in postTest()1753 int blueBits = (int)deFloatRound(lowColor.getBlue() / 255.0f * 31); in postTest()1758 int redBits = (int)deFloatRound(highColor.getRed() / 255.0f * 31); in postTest()1759 int greenBits = (int)deFloatRound(highColor.getGreen() / 255.0f * 63); in postTest()1760 int blueBits = (int)deFloatRound(highColor.getBlue() / 255.0f * 31); in postTest()
1234 …const tcu::IVec2 rasterPos ((int)deFloatRound((vertices[ndx].x() * 0.5f + 0.5f) * image.getWidth(… in verifyRenderedImage()
87 DE_INLINE float deFloatRound (float a) { return deFloatFloor(a + 0.5f); } in deFloatRound() function
285 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
288 const int handOptimizationGain = (int)deFloatRound(100.0f/ratio) - 100; in iterate()
1102 return deFloatRound(a); // Ordinary case. in rint()