Home
last modified time | relevance | path

Searched refs:srgb_to_linear (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/gpu/effects/
DGrSRGBEffect.cpp92 static inline float srgb_to_linear(float srgb) { in srgb_to_linear() function
107 color = { srgb_to_linear(color.fR), srgb_to_linear(color.fG), srgb_to_linear(color.fB), in constantOutputForConstantInput()
/external/skia/src/gpu/effects/
DGrSRGBEffect.cpp93 static inline float srgb_to_linear(float srgb) { in srgb_to_linear() function
108 color = { srgb_to_linear(color.fR), srgb_to_linear(color.fG), srgb_to_linear(color.fB), in constantOutputForConstantInput()
/external/mesa3d/src/util/
Dformat_srgb.py45 def srgb_to_linear(x): function
65 print '%.7e,' % (srgb_to_linear(i / 255.0),),
74 print '%3u,' % (int(srgb_to_linear(i / 255.0) * 255.0 + 0.5),),
/external/skqp/tests/
DApplyGammaTest.cpp43 static float srgb_to_linear(float srgb) { in srgb_to_linear() function
76 lower = srgb_to_linear(lower / 255.f); in check_gamma()
77 upper = srgb_to_linear(upper / 255.f); in check_gamma()
DSRGBReadWritePixelsTest.cpp20 float srgb_to_linear(float srgb) { in srgb_to_linear() function
99 return check_conversion<srgb_to_linear>(srgb, linear, error); in check_srgb_to_linear_conversion()
107 return check_double_conversion<linear_to_srgb, srgb_to_linear>(input, output, error); in check_linear_to_srgb_to_linear_conversion()
111 return check_double_conversion<srgb_to_linear, linear_to_srgb>(input, output, error); in check_srgb_to_linear_to_srgb_conversion()
/external/skia/tests/
DApplyGammaTest.cpp43 static float srgb_to_linear(float srgb) { in srgb_to_linear() function
76 lower = srgb_to_linear(lower / 255.f); in check_gamma()
77 upper = srgb_to_linear(upper / 255.f); in check_gamma()
DSRGBReadWritePixelsTest.cpp20 float srgb_to_linear(float srgb) { in srgb_to_linear() function
99 return check_conversion<srgb_to_linear>(srgb, linear, error); in check_srgb_to_linear_conversion()
107 return check_double_conversion<linear_to_srgb, srgb_to_linear>(input, output, error); in check_linear_to_srgb_to_linear_conversion()
111 return check_double_conversion<srgb_to_linear, linear_to_srgb>(input, output, error); in check_srgb_to_linear_to_srgb_conversion()