Searched refs:srgb_to_linear (Results 1 – 7 of 7) sorted by relevance
/external/skqp/src/gpu/effects/ |
D | GrSRGBEffect.cpp | 92 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/ |
D | GrSRGBEffect.cpp | 93 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/ |
D | format_srgb.py | 45 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/ |
D | ApplyGammaTest.cpp | 43 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()
|
D | SRGBReadWritePixelsTest.cpp | 20 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/ |
D | ApplyGammaTest.cpp | 43 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()
|
D | SRGBReadWritePixelsTest.cpp | 20 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()
|