Home
last modified time | relevance | path

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

/external/angle/src/common/
Dmathutil.cpp60 const float pow2_exp = pow(2.0f, static_cast<float>(exp_s) - g_sharedexp_biased_mantissabits); in convertRGBFloatsTo999E5() local
63 output.R = static_cast<unsigned int>(floor((red_c / pow2_exp) + 0.5f)); in convertRGBFloatsTo999E5()
64 output.G = static_cast<unsigned int>(floor((green_c / pow2_exp) + 0.5f)); in convertRGBFloatsTo999E5()
65 output.B = static_cast<unsigned int>(floor((blue_c / pow2_exp) + 0.5f)); in convertRGBFloatsTo999E5()
75 const float pow2_exp = in convert999E5toRGBFloats() local
78 *red = inputData->R * pow2_exp; in convert999E5toRGBFloats()
79 *green = inputData->G * pow2_exp; in convert999E5toRGBFloats()
80 *blue = inputData->B * pow2_exp; in convert999E5toRGBFloats()