Home
last modified time | relevance | path

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

/external/swiftshader/src/System/
DHalf.hpp77 const float blue_c = std::max<float>(0, std::min(g_sharedexp_max, rgb[2])); in RGB9E5() local
79 const float max_c = std::max<float>(std::max<float>(red_c, green_c), blue_c); in RGB9E5()
92 floor((blue_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in RGB9E5()
/external/pdfium/core/fxge/dib/
Dcfx_imagetransformer.cpp131 uint8_t blue_c = func(0); in WriteColorResult() local
139 *dest32 = FXARGB_TODIB(FXARGB_MAKE(alpha_k, red_y, green_m, blue_c)); in WriteColorResult()
141 dest[0] = blue_c; in WriteColorResult()
145 *dest32 = FXCMYK_TODIB(CmykEncode(blue_c, green_m, red_y, alpha_k)); in WriteColorResult()
151 *dest32 = FXCMYK_TODIB(CmykEncode(blue_c, green_m, red_y, alpha_k)); in WriteColorResult()
154 *dest32 = FXARGB_TODIB(FXARGB_MAKE(kOpaqueAlpha, red_y, green_m, blue_c)); in WriteColorResult()
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp1421 GLfloat blue_c = deFloatMax(0, deFloatMin(sharedExpMax, blue)); 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()
1438 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()