Searched refs:maxrgb (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/util/ |
D | format_rgb9e5.h | 63 union { float f; uint32_t u; } rc, bc, gc, maxrgb, revdenom; in float3_to_rgb9e5() local 68 maxrgb.u = MAX3(rc.u, gc.u, bc.u); in float3_to_rgb9e5() 75 maxrgb.u += maxrgb.u & (1 << (23-9)); in float3_to_rgb9e5() 76 exp_shared = MAX2((maxrgb.u >> 23), -RGB9E5_EXP_BIAS - 1 + 127) + in float3_to_rgb9e5()
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_texture_shared_exponent.txt | 488 float maxrgb; 498 maxrgb = MaxOf3(rc, gc, bc); 499 exp_shared = Max(-RGB9E5_EXP_BIAS-1, FloorLog2(maxrgb)) + 1 + RGB9E5_EXP_BIAS; 505 maxm = (int) floor(maxrgb / denom + 0.5);
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_texture_shared_exponent.txt | 488 float maxrgb; 498 maxrgb = MaxOf3(rc, gc, bc); 499 exp_shared = Max(-RGB9E5_EXP_BIAS-1, FloorLog2(maxrgb)) + 1 + RGB9E5_EXP_BIAS; 505 maxm = (int) floor(maxrgb / denom + 0.5);
|