Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Dformat_srgb.py51 def linear_to_srgb(x): function
77 … print(' '.join(['%3u,' % int(linear_to_srgb(i / 255.0) * 255.0 + 0.5) for i in range(j, j + 16)]))
109 val = linear_to_srgb(ffloat) * 255.0 + 0.5
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_toplevel.cpp1422 static float linear_to_srgb( in linear_to_srgb() function
1472 pixel.set_lane<0>(linear_to_srgb(pixel.lane<0>())); in image_preprocess_premultiply()
1473 pixel.set_lane<1>(linear_to_srgb(pixel.lane<1>())); in image_preprocess_premultiply()
1474 pixel.set_lane<2>(linear_to_srgb(pixel.lane<2>())); in image_preprocess_premultiply()