Searched refs:blue_c (Results 1 – 7 of 7) sorted by relevance
/external/angle/src/common/ |
D | mathutil.cpp | 51 const float blue_c = std::max<float>(0, std::min(g_sharedexp_max, blue)); in convertRGBFloatsTo999E5() local 53 const float max_c = std::max<float>(std::max<float>(red_c, green_c), blue_c); in convertRGBFloatsTo999E5() 65 output.B = static_cast<unsigned int>(floor((blue_c / pow2_exp) + 0.5f)); in convertRGBFloatsTo999E5()
|
/external/swiftshader/tests/MathUnitTests/ |
D | unittests.cpp | 69 const float blue_c = clamp0hi(b, g_sharedexp_max); in RGB9E5_reference() local 71 const float max_c = fmax(fmax(red_c, green_c), blue_c); in RGB9E5_reference() 78 …unsigned int B = static_cast<unsigned int>(floor((blue_c / exp2(exp_s - g_sharedexp_bias - g_share… in RGB9E5_reference()
|
/external/swiftshader/src/System/ |
D | Half.hpp | 87 const float blue_c = std::min(!(b > 0) ? 0 : b, g_sharedexp_max); in RGB9E5() local 95 const float blue_r = bit_cast<float>(bit_cast<int>(blue_c) + half); in RGB9E5() 109 B = static_cast<unsigned int>(round(blue_c * scale)); in RGB9E5()
|
/external/pdfium/core/fxge/dib/ |
D | cfx_imagetransformer.cpp | 133 uint8_t blue_c = func(0); in WriteColorResult() local 140 *dest32 = FXARGB_TODIB(ArgbEncode(func(3), red_y, green_m, blue_c)); in WriteColorResult() 142 dest[0] = blue_c; in WriteColorResult() 146 *dest32 = FXCMYK_TODIB(CmykEncode(blue_c, green_m, red_y, func(3))); in WriteColorResult() 152 *dest32 = FXCMYK_TODIB(CmykEncode(blue_c, green_m, red_y, func(3))); in WriteColorResult() 154 *dest32 = FXARGB_TODIB(ArgbEncode(kOpaqueAlpha, red_y, green_m, blue_c)); in WriteColorResult()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcInternalformatTests.cpp | 698 GLfloat blue_c = deFloatMax(0, deFloatMin(sharedExpMax, blue)); in convertUint_5_9_9_9_rev() local 700 GLfloat max_c = deFloatMax(deFloatMax(red_c, green_c), blue_c); in convertUint_5_9_9_9_rev() 715 GLfloat blue_s = deFloatFloor(blue_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); in convertUint_5_9_9_9_rev()
|
D | glcPackedPixelsTests.cpp | 1421 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()
|
/external/swiftshader/src/Device/ |
D | Blitter.cpp | 695 Float blue_c = Min(IfThenElse(!(c.z > 0), Float(0), Float(c.z)), sharedexp_max); in write() local 703 Float blue_r = As<Float>(As<Int>(blue_c) + half); in write() 717 UInt B9 = UInt(RoundInt(blue_c * scale)); in write()
|