Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_format_srgb.py52 def linear_to_srgb(x): function
82 print '%3u,' % (int(linear_to_srgb(i / 255.0) * 255.0 + 0.5),),
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_format_srgb.py52 def linear_to_srgb(x): function
82 print '%3u,' % (int(linear_to_srgb(i / 255.0) * 255.0 + 0.5),),
/external/mesa3d/src/mesa/main/
Dformat_pack.c62 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()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dformat_pack.c62 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()