/external/syslinux/com32/lib/sys/vesa/ |
alphatbl.pl | 6 sub srgb_to_linear($) subroutine 40 printf "\t%5d,\n", int(srgb_to_linear($i)*65535+0.5);
|
/external/mesa3d/src/util/ |
format_srgb.py | 46 def srgb_to_linear(x): function 66 print '%.7e,' % (srgb_to_linear(i / 255.0),), 75 print '%3u,' % (int(srgb_to_linear(i / 255.0) * 255.0 + 0.5),),
|
/external/skia/src/gpu/effects/ |
GrSRGBEffect.cpp | 37 "srgb_to_linear", 93 static inline float srgb_to_linear(float srgb) { function 108 color = GrColor4f(srgb_to_linear(color.fRGBA[0]), srgb_to_linear(color.fRGBA[1]), 109 srgb_to_linear(color.fRGBA[2]), color.fRGBA[3]);
|
/external/skia/tests/ |
ApplyGammaTest.cpp | 29 static float srgb_to_linear(float srgb) { function 62 lower = srgb_to_linear(lower / 255.f); 63 upper = srgb_to_linear(upper / 255.f);
|
SRGBReadWritePixelsTest.cpp | 21 float srgb_to_linear(float srgb) { function in namespace:__anon31225 100 return check_conversion<srgb_to_linear>(srgb, linear, error); 108 return check_double_conversion<linear_to_srgb, srgb_to_linear>(input, output, error); 112 return check_double_conversion<srgb_to_linear, linear_to_srgb>(input, output, error);
|
SRGBMipMapTest.cpp | 22 float srgb_to_linear(float srgb) { function in namespace:__anon31224 96 // (srgb_to_linear(A) + srgb_to_linear(B)) / 2 114 linear_to_srgb(srgb_to_linear(srgb60 / 255.0f) / 2.0f) * 255.0f);
|