Searched refs:linear_to_srgb (Results 1 – 4 of 4) sorted by relevance
52 def linear_to_srgb(x): function82 print '%3u,' % (int(linear_to_srgb(i / 255.0) * 255.0 + 0.5),),
62 linear_to_srgb(GLfloat cl) in linear_to_srgb() function78 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()