Home
last modified time | relevance | path

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

/external/mesa3d/src/glx/
Dpixelstore.c81 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
89 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
97 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
105 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
113 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
121 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
142 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
150 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
158 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
166 a = _mesa_lroundevenf(param); in __indirect_glPixelStoref()
[all …]
/external/mesa3d/src/mesa/main/
Dpixeltransfer.c98 rgba[i][RCOMP] = rMap[(int)_mesa_lroundevenf(r * rscale)]; in _mesa_map_rgba()
99 rgba[i][GCOMP] = gMap[(int)_mesa_lroundevenf(g * gscale)]; in _mesa_map_rgba()
100 rgba[i][BCOMP] = bMap[(int)_mesa_lroundevenf(b * bscale)]; in _mesa_map_rgba()
101 rgba[i][ACOMP] = aMap[(int)_mesa_lroundevenf(a * ascale)]; in _mesa_map_rgba()
240 indexes[i] = _mesa_lroundevenf(ctx->PixelMaps.ItoI.Map[j]); in _mesa_apply_ci_transfer_ops()
Dmacros.h135 us = ( (GLushort) _mesa_lroundevenf( CLAMP((f), 0.0F, 1.0F) * 65535.0F) )
137 us = ( (GLushort) _mesa_lroundevenf( (f) * 65535.0F) )
140 s = ( (GLshort) _mesa_lroundevenf( CLAMP((f), -1.0F, 1.0F) * 32767.0F) )
171 ub = ((GLubyte) _mesa_lroundevenf(CLAMP((f), 0.0F, 1.0F) * 255.0F))
173 ub = ((GLubyte) _mesa_lroundevenf((f) * 255.0F))
Dformat_utils.h89 return _mesa_lroundevenf(x * MAX_UINT(dst_bits)); in _mesa_float_to_unorm()
135 return _mesa_lroundevenf(x * MAX_INT(dst_bits)); in _mesa_float_to_snorm()
/external/mesa3d/src/util/
Dhalf_float.c93 m = _mesa_lroundevenf((1 << 24) * fabsf(fi.f)); in _mesa_float_to_half()
107 m = _mesa_lroundevenf(flt_m / (float) (1 << 13)); in _mesa_float_to_half()
Drounding.h97 _mesa_lroundevenf(float x) in _mesa_lroundevenf() function
/external/mesa3d/src/compiler/glsl/
Dir_constant_expression.cpp264 _mesa_lroundevenf(CLAMP(x, -1.0f, +1.0f) * 127.0f); in pack_snorm_1x8()
283 _mesa_lroundevenf(CLAMP(x, -1.0f, +1.0f) * 32767.0f); in pack_snorm_1x16()