Searched refs:linear_to_srgb (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_srgb.py | 52 def linear_to_srgb(x): function 82 print '%3u,' % (int(linear_to_srgb(i / 255.0) * 255.0 + 0.5),),
|
/external/skia/tests/ |
D | SRGBReadWritePixelsTest.cpp | 27 float linear_to_srgb(float linear) { in linear_to_srgb() function 101 return check_conversion<linear_to_srgb>(linear, srgb, error); in check_linear_to_srgb_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 | 35 static inline Sk4f linear_to_srgb(const Sk4f& l4) { in linear_to_srgb() function 54 return to_4b(linear_to_srgb(x4) * Sk4f(255) + Sk4f(0.5f)); in Sk4f_toS32()
|
D | SkXfermode4f.cpp | 38 return linear_to_srgb(l4) * Sk4f(255) + Sk4f(0.5f); in linear_unit_to_srgb_255f()
|
/external/mesa3d/src/mesa/main/ |
D | format_pack.c | 62 linear_to_srgb(GLfloat cl) in linear_to_srgb() function 78 GLubyte res = FLOAT_TO_UBYTE(linear_to_srgb(cl)); in linear_float_to_srgb_ubyte() 86 GLubyte res = FLOAT_TO_UBYTE(linear_to_srgb(cl / 255.0f)); in linear_ubyte_to_srgb_ubyte()
|