Searched defs:srgb_to_linear (Results 1 - 10 of 10) sorted by relevance

/external/syslinux/com32/lib/sys/vesa/
H A Dalphatbl.pl6 sub srgb_to_linear($) subroutine
40 printf "\t%5d,\n", int(srgb_to_linear($i)*65535+0.5);
/external/mesa3d/src/util/
H A Dformat_srgb.py46 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/
H A DGrSRGBEffect.cpp37 "srgb_to_linear",
96 static inline float srgb_to_linear(float srgb) { function
111 color = GrColor4f(srgb_to_linear(color.fRGBA[0]), srgb_to_linear(color.fRGBA[1]),
112 srgb_to_linear(color.fRGBA[2]), color.fRGBA[3]);
/external/skia/tests/
H A DApplyGammaTest.cpp44 static float srgb_to_linear(float srgb) { function
77 lower = srgb_to_linear(lower / 255.f);
78 upper = srgb_to_linear(upper / 255.f);
H A DSRGBMipMapTest.cpp24 float srgb_to_linear(float srgb) { function in namespace:__anon20985
98 // (srgb_to_linear(A) + srgb_to_linear(B)) / 2
116 linear_to_srgb(srgb_to_linear(srgb60 / 255.0f) / 2.0f) * 255.0f);
H A DSRGBReadWritePixelsTest.cpp21 float srgb_to_linear(float srgb) { function in namespace:__anon20986
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);
/external/skqp/src/gpu/effects/
H A DGrSRGBEffect.cpp37 "srgb_to_linear",
96 static inline float srgb_to_linear(float srgb) { function
111 color = GrColor4f(srgb_to_linear(color.fRGBA[0]), srgb_to_linear(color.fRGBA[1]),
112 srgb_to_linear(color.fRGBA[2]), color.fRGBA[3]);
/external/skqp/tests/
H A DApplyGammaTest.cpp29 static float srgb_to_linear(float srgb) { function
62 lower = srgb_to_linear(lower / 255.f);
63 upper = srgb_to_linear(upper / 255.f);
H A DSRGBMipMapTest.cpp24 float srgb_to_linear(float srgb) { function in namespace:__anon21655
98 // (srgb_to_linear(A) + srgb_to_linear(B)) / 2
116 linear_to_srgb(srgb_to_linear(srgb60 / 255.0f) / 2.0f) * 255.0f);
H A DSRGBReadWritePixelsTest.cpp21 float srgb_to_linear(float srgb) { function in namespace:__anon21656
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);

Completed in 1262 milliseconds