Searched refs:linear_to_srgb (Results 1 – 7 of 7) sorted by relevance
/external/skqp/src/gpu/effects/ |
D | GrSRGBEffect.cpp | 95 static inline float linear_to_srgb(float linear) { in linear_to_srgb() function 103 color = { linear_to_srgb(color.fR), linear_to_srgb(color.fG), linear_to_srgb(color.fB), in constantOutputForConstantInput()
|
/external/mesa3d/src/util/ |
D | format_srgb.py | 53 def linear_to_srgb(x): function 79 … print(' '.join(['%3u,' % int(linear_to_srgb(i / 255.0) * 255.0 + 0.5) for i in range(j, j + 16)])) 111 val = linear_to_srgb(ffloat) * 255.0 + 0.5
|
/external/skqp/tests/ |
D | ApplyGammaTest.cpp | 34 static float linear_to_srgb(float linear) { in linear_to_srgb() function 73 lower = linear_to_srgb(lower / 255.f); in check_gamma() 74 upper = linear_to_srgb(upper / 255.f); in check_gamma()
|
D | SRGBReadWritePixelsTest.cpp | 29 float linear_to_srgb(float linear) { in linear_to_srgb() function 103 return check_conversion<linear_to_srgb>(linear, srgb, error); in check_linear_to_srgb_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 | 34 static float linear_to_srgb(float linear) { in linear_to_srgb() function 73 lower = linear_to_srgb(lower / 255.f); in check_gamma() 74 upper = linear_to_srgb(upper / 255.f); in check_gamma()
|
D | SRGBReadWritePixelsTest.cpp | 31 float linear_to_srgb(float linear) { in linear_to_srgb() function 105 return check_conversion<linear_to_srgb>(linear, srgb, error); in check_linear_to_srgb_conversion() 109 return check_double_conversion<linear_to_srgb, srgb_to_linear>(input, output, error); in check_linear_to_srgb_to_linear_conversion() 113 return check_double_conversion<srgb_to_linear, linear_to_srgb>(input, output, error); in check_srgb_to_linear_to_srgb_conversion()
|
/external/mesa3d/docs/relnotes/ |
D | 20.3.1.rst | 97 - turnip: no linear_to_srgb for alpha channel for gmem clear value packing
|