Home
last modified time | relevance | path

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

/external/skqp/src/gpu/effects/
DGrSRGBEffect.cpp95 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/
Dformat_srgb.py53 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/
DApplyGammaTest.cpp34 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()
DSRGBReadWritePixelsTest.cpp29 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/
DApplyGammaTest.cpp34 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()
DSRGBReadWritePixelsTest.cpp31 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/
D20.3.1.rst97 - turnip: no linear_to_srgb for alpha channel for gmem clear value packing