Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dformat_rgb9e5.h37 #define RGB9E5_EXP_BIAS 15 macro
40 #define MAX_RGB9E5_EXP (RGB9E5_MAX_VALID_BIASED_EXP - RGB9E5_EXP_BIAS)
77 exp_shared = MAX2((maxrgb.u >> 23), -RGB9E5_EXP_BIAS - 1 + 127) + in float3_to_rgb9e5()
78 1 + RGB9E5_EXP_BIAS - 127; in float3_to_rgb9e5()
79 revdenom_biasedexp = 127 - (exp_shared - RGB9E5_EXP_BIAS - in float3_to_rgb9e5()
112 exponent = (rgb >> 27) - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS; in rgb9e5_to_float3()