Home
last modified time | relevance | path

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

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_format_rgb9e5.h34 #define RGB9E5_EXP_BIAS 15 macro
37 #define MAX_RGB9E5_EXP (RGB9E5_MAX_VALID_BIASED_EXP - RGB9E5_EXP_BIAS)
41 #define EPSILON_RGB9E5 ((1.0/RGB9E5_MANTISSA_VALUES) / (1<<RGB9E5_EXP_BIAS))
115 exp_shared = MAX2(-RGB9E5_EXP_BIAS-1, rgb9e5_FloorLog2(maxrgb)) + 1 + RGB9E5_EXP_BIAS; in float3_to_rgb9e5()
119 denom = pow(2, exp_shared - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS); in float3_to_rgb9e5()
156 exponent = v.field.biasedexponent - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS; in rgb9e5_to_float3()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_rgb9e5.h34 #define RGB9E5_EXP_BIAS 15 macro
37 #define MAX_RGB9E5_EXP (RGB9E5_MAX_VALID_BIASED_EXP - RGB9E5_EXP_BIAS)
41 #define EPSILON_RGB9E5 ((1.0/RGB9E5_MANTISSA_VALUES) / (1<<RGB9E5_EXP_BIAS))
115 exp_shared = MAX2(-RGB9E5_EXP_BIAS-1, rgb9e5_FloorLog2(maxrgb)) + 1 + RGB9E5_EXP_BIAS; in float3_to_rgb9e5()
119 denom = pow(2, exp_shared - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS); in float3_to_rgb9e5()
156 exponent = v.field.biasedexponent - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS; in rgb9e5_to_float3()