Searched refs:red_c (Results 1 – 1 of 1) sorted by relevance
40 const float red_c = std::max<float>(0, std::min(g_sharedexp_max, red)); in convertRGBFloatsTo999E5() local44 const float max_c = std::max<float>(std::max<float>(red_c, green_c), blue_c); in convertRGBFloatsTo999E5()50 …output.R = floor((red_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f… in convertRGBFloatsTo999E5()