Home
last modified time | relevance | path

Searched refs:blue_c (Results 1 – 6 of 6) sorted by relevance

/external/angle/src/common/
Dmathutil.cpp51 const float blue_c = std::max<float>(0, std::min(g_sharedexp_max, blue)); in convertRGBFloatsTo999E5() local
53 const float max_c = std::max<float>(std::max<float>(red_c, green_c), blue_c); in convertRGBFloatsTo999E5()
65 output.B = static_cast<unsigned int>(floor((blue_c / pow2_exp) + 0.5f)); in convertRGBFloatsTo999E5()
/external/swiftshader/src/System/
DHalf.hpp93 const float blue_c = std::min(!(b > 0) ? 0 : b, g_sharedexp_max); in RGB9E5() local
101 const float blue_r = bit_cast<float>(bit_cast<int>(blue_c) + half); in RGB9E5()
115 B = static_cast<unsigned int>(round(blue_c * scale)); in RGB9E5()
/external/swiftshader/tests/MathUnitTests/
Dunittests.cpp558 const float blue_c = clamp0hi(b, g_sharedexp_max); in RGB9E5_reference() local
560 const float max_c = fmax(fmax(red_c, green_c), blue_c); in RGB9E5_reference()
567 …unsigned int B = static_cast<unsigned int>(floor((blue_c / exp2(exp_s - g_sharedexp_bias - g_share… in RGB9E5_reference()
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp698 GLfloat blue_c = deFloatMax(0, deFloatMin(sharedExpMax, blue)); 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()
715 GLfloat blue_s = deFloatFloor(blue_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); in convertUint_5_9_9_9_rev()
DglcPackedPixelsTests.cpp1422 GLfloat blue_c = deFloatMax(0, deFloatMin(sharedExpMax, blue)); 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()
1439 GLfloat blue_s = deFloatFloor(blue_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/
DBlitter.cpp767 Float blue_c = Min(IfThenElse(!(c.z > 0), Float(0), Float(c.z)), sharedexp_max); in write() local
775 Float blue_r = As<Float>(As<Int>(blue_c) + half); in write()
789 UInt B9 = UInt(RoundInt(blue_c * scale)); in write()