Home
last modified time | relevance | path

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

/external/swiftshader/src/System/
DHalf.hpp76 const float green_c = std::max<float>(0, std::min(g_sharedexp_max, rgb[1])); in RGB9E5() local
79 const float max_c = std::max<float>(std::max<float>(red_c, green_c), blue_c); in RGB9E5()
90 floor((green_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in RGB9E5()
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp1420 GLfloat green_c = deFloatMax(0, deFloatMin(sharedExpMax, green)); 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()
1437 GLfloat green_s = deFloatFloor(green_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); in unpack_UNSIGNED_INT_5_9_9_9_REV()