Searched refs:srgb_to_linear (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_srgb.py | 45 def srgb_to_linear(x): function 64 print '%.7e,' % (srgb_to_linear(i / 255.0),), 73 print '%3u,' % (int(srgb_to_linear(i / 255.0) * 255.0 + 0.5),),
|
/external/skia/tests/ |
D | SRGBReadWritePixelsTest.cpp | 18 float srgb_to_linear(float srgb) { in srgb_to_linear() function 97 return check_conversion<srgb_to_linear>(srgb, linear, error); in check_srgb_to_linear_conversion() 105 return check_double_conversion<linear_to_srgb, srgb_to_linear>(input, output, error); in check_linear_to_srgb_to_linear_conversion() 109 return check_double_conversion<srgb_to_linear, linear_to_srgb>(input, output, error); in check_srgb_to_linear_to_srgb_conversion()
|
/external/skia/src/core/ |
D | SkPM4fPriv.h | 31 static inline Sk4f srgb_to_linear(const Sk4f& s4) { in srgb_to_linear() function 46 return srgb_to_linear(to_4f(src) * Sk4f(1.0f/255)); in Sk4f_fromS32()
|
D | SkSpanProcs.cpp | 35 srgb_to_linear(SkNx_cast<float>(Sk4b::Load(&addr[i])) * Sk4f(1.0f/255)).store(span[i].fVec); in load_s32()
|