Searched refs:red_c (Results 1 – 6 of 6) sorted by relevance
/external/angle/src/common/ |
D | mathutil.cpp | 49 const float red_c = std::max<float>(0, std::min(g_sharedexp_max, red)); in convertRGBFloatsTo999E5() local 53 const float max_c = std::max<float>(std::max<float>(red_c, green_c), blue_c); in convertRGBFloatsTo999E5() 63 output.R = static_cast<unsigned int>(floor((red_c / pow2_exp) + 0.5f)); in convertRGBFloatsTo999E5()
|
/external/swiftshader/src/System/ |
D | Half.hpp | 91 const float red_c = std::min(!(r > 0) ? 0 : r, g_sharedexp_max); in RGB9E5() local 99 const float red_r = bit_cast<float>(bit_cast<int>(red_c) + half); in RGB9E5() 113 R = static_cast<unsigned int>(round(red_c * scale)); in RGB9E5()
|
/external/swiftshader/tests/MathUnitTests/ |
D | unittests.cpp | 556 const float red_c = clamp0hi(r, g_sharedexp_max); in RGB9E5_reference() local 560 const float max_c = fmax(fmax(red_c, green_c), blue_c); in RGB9E5_reference() 565 …unsigned int R = static_cast<unsigned int>(floor((red_c / exp2(exp_s - g_sharedexp_bias - g_shared… in RGB9E5_reference()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcInternalformatTests.cpp | 696 GLfloat red_c = deFloatMax(0, deFloatMin(sharedExpMax, red)); in convertUint_5_9_9_9_rev() local 700 GLfloat max_c = deFloatMax(deFloatMax(red_c, green_c), blue_c); in convertUint_5_9_9_9_rev() 713 GLfloat red_s = deFloatFloor(red_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); in convertUint_5_9_9_9_rev()
|
D | glcPackedPixelsTests.cpp | 1420 GLfloat red_c = deFloatMax(0, deFloatMin(sharedExpMax, red)); in unpack_UNSIGNED_INT_5_9_9_9_REV() local 1424 GLfloat max_c = deFloatMax(deFloatMax(red_c, green_c), blue_c); in unpack_UNSIGNED_INT_5_9_9_9_REV() 1437 GLfloat red_s = deFloatFloor(red_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); in unpack_UNSIGNED_INT_5_9_9_9_REV()
|
/external/swiftshader/src/Device/ |
D | Blitter.cpp | 765 Float red_c = Min(IfThenElse(!(c.x > 0), Float(0), Float(c.x)), sharedexp_max); in write() local 773 Float red_r = As<Float>(As<Int>(red_c) + half); in write() 787 UInt R9 = RoundInt(red_c * scale); in write()
|