Home
last modified time | relevance | path

Searched refs:red_c (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/System/
DHalf.hpp75 const float red_c = std::max<float>(0, std::min(g_sharedexp_max, rgb[0])); in RGB9E5() local
79 const float max_c = std::max<float>(std::max<float>(red_c, green_c), blue_c); in RGB9E5()
88 floor((red_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in RGB9E5()
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp1419 GLfloat red_c = deFloatMax(0, deFloatMin(sharedExpMax, red)); in unpack_UNSIGNED_INT_5_9_9_9_REV() local
1423 GLfloat max_c = deFloatMax(deFloatMax(red_c, green_c), blue_c); in unpack_UNSIGNED_INT_5_9_9_9_REV()
1436 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()