/external/skia/src/gpu/effects/ |
D | GrSRGBEffect.cpp | 99 static inline float linear_to_srgb(float linear) { in linear_to_srgb() function 107 color = GrColor4f(linear_to_srgb(color.fRGBA[0]), linear_to_srgb(color.fRGBA[1]), in constantOutputForConstantInput() 108 linear_to_srgb(color.fRGBA[2]), color.fRGBA[3]); in constantOutputForConstantInput()
|
/external/skqp/src/gpu/effects/ |
D | GrSRGBEffect.cpp | 99 static inline float linear_to_srgb(float linear) { in linear_to_srgb() function 107 color = GrColor4f(linear_to_srgb(color.fRGBA[0]), linear_to_srgb(color.fRGBA[1]), in constantOutputForConstantInput() 108 linear_to_srgb(color.fRGBA[2]), color.fRGBA[3]); in constantOutputForConstantInput()
|
/external/skia/tests/ |
D | SRGBTest.cpp | 16 static uint8_t linear_to_srgb(float l) { in linear_to_srgb() function 23 int actual = linear_to_srgb(sk_linear_from_srgb[i]); in DEF_TEST() 32 uint8_t srgb = linear_to_srgb(f); in DEF_TEST()
|
D | ApplyGammaTest.cpp | 35 static float linear_to_srgb(float linear) { in linear_to_srgb() function 74 lower = linear_to_srgb(lower / 255.f); in check_gamma() 75 upper = linear_to_srgb(upper / 255.f); in check_gamma()
|
D | SRGBReadWritePixelsTest.cpp | 30 float linear_to_srgb(float linear) { in linear_to_srgb() function 104 return check_conversion<linear_to_srgb>(linear, srgb, error); in check_linear_to_srgb_conversion() 108 return check_double_conversion<linear_to_srgb, srgb_to_linear>(input, output, error); in check_linear_to_srgb_to_linear_conversion() 112 return check_double_conversion<srgb_to_linear, linear_to_srgb>(input, output, error); in check_srgb_to_linear_to_srgb_conversion()
|
D | SRGBMipMapTest.cpp | 33 float linear_to_srgb(float linear) { in linear_to_srgb() function 116 linear_to_srgb(srgb_to_linear(srgb60 / 255.0f) / 2.0f) * 255.0f); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | SRGBTest.cpp | 16 static uint8_t linear_to_srgb(float l) { in linear_to_srgb() function 23 int actual = linear_to_srgb(sk_linear_from_srgb[i]); in DEF_TEST() 32 uint8_t srgb = linear_to_srgb(f); in DEF_TEST()
|
D | SRGBReadWritePixelsTest.cpp | 30 float linear_to_srgb(float linear) { in linear_to_srgb() function 104 return check_conversion<linear_to_srgb>(linear, srgb, error); in check_linear_to_srgb_conversion() 108 return check_double_conversion<linear_to_srgb, srgb_to_linear>(input, output, error); in check_linear_to_srgb_to_linear_conversion() 112 return check_double_conversion<srgb_to_linear, linear_to_srgb>(input, output, error); in check_srgb_to_linear_to_srgb_conversion()
|
D | ApplyGammaTest.cpp | 20 static float linear_to_srgb(float linear) { in linear_to_srgb() function 59 lower = linear_to_srgb(lower / 255.f); in check_gamma() 60 upper = linear_to_srgb(upper / 255.f); in check_gamma()
|
D | SRGBMipMapTest.cpp | 33 float linear_to_srgb(float linear) { in linear_to_srgb() function 116 linear_to_srgb(srgb_to_linear(srgb60 / 255.0f) / 2.0f) * 255.0f); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/mesa3d/src/util/ |
D | format_srgb.py | 53 def linear_to_srgb(x): function 84 print '%3u,' % (int(linear_to_srgb(i / 255.0) * 255.0 + 0.5),), 117 val = linear_to_srgb(ffloat) * 255.0 + 0.5
|
/external/syslinux/com32/lib/sys/vesa/ |
D | alphatbl.pl | 17 sub linear_to_srgb($) subroutine 51 printf "\t%3d,\n", linear_to_srgb(($i+0.5)/4079.937744);
|