| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_atom_viewport.c | 58 float *scale = st->state.viewport[i].scale; local 61 _mesa_get_viewport_xform(ctx, i, scale, translate); 66 scale[1] *= -1;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_atom_viewport.c | 52 float *scale = st->state.viewport[i].scale; local 55 _mesa_get_viewport_xform(ctx, i, scale, translate); 60 scale[1] *= -1;
|
| /xsrc/external/mit/freetype/dist/src/tools/ |
| cordic.py | 6 scale = units/math.pi variable 18 angle2 = round(angle*scale) # arctangent in FT_Angle units
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_texture.c | 53 /* Compute sc = +/-scale and tc = +/-scale. 55 * though that can still sometimes happen with this scale factor... 57 * XXX: Yep, there is no safe scale factor that will prevent sampling 63 const float scale = allow_scale ? 0.9999f : 1.0f; local 64 const float sc = (2 * in_st[0] - 1) * scale; 65 const float tc = (2 * in_st[1] - 1) * scale;
|
| u_tile.c | 106 const float scale = 1.0f / 65535.0f; local 115 pRow[3] = *src++ * scale; 135 const double scale = 1.0 / (double) 0xffffffff; local 144 pRow[3] = (float) (*src++ * scale); 162 const double scale = 1.0 / ((1 << 24) - 1); local 171 pRow[3] = (float) (scale * (*src++ & 0xffffff)); 189 const double scale = 1.0 / ((1 << 24) - 1); local 198 pRow[3] = (float) (scale * (*src++ >> 8));
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_texture.c | 53 /* Compute sc = +/-scale and tc = +/-scale. 55 * though that can still sometimes happen with this scale factor... 57 * XXX: Yep, there is no safe scale factor that will prevent sampling 63 const float scale = allow_scale ? 0.9999f : 1.0f; local 64 const float sc = (2 * in_st[0] - 1) * scale; 65 const float tc = (2 * in_st[1] - 1) * scale;
|
| u_format_yuv.h | 65 const float scale = 255.0f; local 67 const int _y = scale * ( (0.257f * _r) + (0.504f * _g) + (0.098f * _b)); 68 const int _u = scale * (-(0.148f * _r) - (0.291f * _g) + (0.439f * _b)); 69 const int _v = scale * ( (0.439f * _r) - (0.368f * _g) - (0.071f * _b)); 87 const float scale = 1.0f / 255.0f; local 89 *r = scale * (y_factor * _y + 1.596f * _v); 90 *g = scale * (y_factor * _y - 0.391f * _u - 0.813f * _v); 91 *b = scale * (y_factor * _y + 2.018f * _u );
|
| /xsrc/external/mit/freetype/dist/src/base/ |
| ftadvanc.c | 31 FT_Fixed scale; local 42 scale = face->size->metrics.y_scale; 44 scale = face->size->metrics.x_scale; 50 advances[nn] = FT_MulDiv( advances[nn], scale, 64 ); 164 /* scale from 26.6 to 16.16, unless NO_SCALE was requested */
|
| /xsrc/external/mit/mesa-demos/dist/src/util/ |
| showbuffer.c | 52 GLfloat scale = 1.0 / (zWhite - zBlack); local 53 GLfloat bias = -zBlack * scale; 57 depthValues[i] = depthValues[i] * scale + bias; 147 * scale, bias - scale and bias to apply to stencil values for display 151 GLfloat scale, GLfloat bias ) 183 glPixelTransferf(GL_RED_SCALE, scale); 185 glPixelTransferf(GL_GREEN_SCALE, scale); 187 glPixelTransferf(GL_BLUE_SCALE, scale);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_lower_viewport_transform.c | 71 nir_ssa_def *scale = nir_load_viewport_scale(&b); local 82 nir_fmul(&b, ndc_point, scale), offset);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/tnl/ |
| t_context.c | 197 float scale[3], translate[3]; local 198 _mesa_get_viewport_xform(ctx, 0, scale, translate); 199 _math_matrix_viewport(&tnl->_WindowMap, scale, translate,
|
| /xsrc/external/mit/MesaLib/dist/src/util/format/ |
| u_format_yuv.h | 65 const float scale = 255.0f; local 67 const int _y = scale * ( (0.257f * _r) + (0.504f * _g) + (0.098f * _b)); 68 const int _u = scale * (-(0.148f * _r) - (0.291f * _g) + (0.439f * _b)); 69 const int _v = scale * ( (0.439f * _r) - (0.368f * _g) - (0.071f * _b)); 87 const float scale = 1.0f / 255.0f; local 89 *r = scale * (y_factor * _y + 1.596f * _v); 90 *g = scale * (y_factor * _y - 0.391f * _u - 0.813f * _v); 91 *b = scale * (y_factor * _y + 2.018f * _u );
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| format_srgb.h | 99 unsigned tab, bias, scale, t; local 114 /* Do the table lookup and unpack bias, scale */ 118 scale = tab & 0xffff; 122 return (uint8_t) ((bias + scale*t) >> 16);
|
| format_rgb9e5.h | 110 union { float f; uint32_t u; } scale; local 113 scale.u = (exponent + 127) << 23; 115 retval[0] = ( rgb & 0x1ff) * scale.f; 116 retval[1] = ((rgb >> 9) & 0x1ff) * scale.f; 117 retval[2] = ((rgb >> 18) & 0x1ff) * scale.f;
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_lower_viewport_transform.c | 68 nir_ssa_def *scale = nir_load_viewport_scale(&b); local 79 nir_fmul(&b, ndc_point, scale), offset);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/ |
| t_context.c | 195 float scale[3], translate[3]; local 196 _mesa_get_viewport_xform(ctx, 0, scale, translate); 197 _math_matrix_viewport(&tnl->_WindowMap, scale, translate,
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| format_srgb.h | 99 unsigned tab, bias, scale, t; local 114 /* Do the table lookup and unpack bias, scale */ 118 scale = tab & 0xffff; 122 return (uint8_t) ((bias + scale*t) >> 16);
|
| /xsrc/external/mit/xf86-video-nv/dist/src/ |
| g80_output.h | 6 enum G80ScaleMode scale; member in struct:G80OutputPrivRec
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| sp_quad_depth_test_tmp.h | 64 const float scale = 65535.0; local 67 init_idepth[0] = (ushort)((z0) * scale); 68 init_idepth[1] = (ushort)((z0 + dzdx) * scale); 69 init_idepth[2] = (ushort)((z0 + dzdy) * scale); 70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale); 72 depth_step = (ushort)(dzdx * scale);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| sp_quad_depth_test_tmp.h | 64 const float scale = 65535.0; local 67 init_idepth[0] = (ushort)((z0) * scale); 68 init_idepth[1] = (ushort)((z0 + dzdx) * scale); 69 init_idepth[2] = (ushort)((z0 + dzdy) * scale); 70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale); 72 depth_step = (ushort)(dzdx * scale);
|
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| renormal.c | 32 GLfloat scale = 0.6 + 0.5 * sin(Phi); local 35 glScalef(scale, scale, scale);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| draw_vs_variant.c | 117 const float *scale = viewport->scale; local 122 data[0] = data[0] * w * scale[0] + trans[0]; 123 data[1] = data[1] * w * scale[1] + trans[1]; 124 data[2] = data[2] * w * scale[2] + trans[2]; 143 const float *scale = viewport->scale; local 147 data[0] = data[0] * scale[0] + trans[0]; 148 data[1] = data[1] * scale[1] + trans[1]; 149 data[2] = data[2] * scale[2] + trans[2] [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_test_main.c | 62 double scale = lp_const_scale(type); local 118 return value/scale; 145 double scale = lp_const_scale(type); local 146 value = round(value*scale);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/memory/ |
| Convert.h | 261 // Float scale to integer scale. 262 UINT scale = (1 << FormatTraits<DstFormat>::GetBPC(comp)) - 1; local 263 src = (float)scale * src; 279 // Float scale to integer scale. 280 UINT scale = (1 << (FormatTraits<DstFormat>::GetBPC(comp) - 1)) - 1; local 281 src = (float)scale * src; 450 const float scale = (1.0f / (float)((1 << FormatTraits<SrcFormat>::GetBPC(comp)) - 1)); local 451 dst = (float)src * scale; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| draw_vs_variant.c | 117 const float *scale = viewport->scale; local 122 data[0] = data[0] * w * scale[0] + trans[0]; 123 data[1] = data[1] * w * scale[1] + trans[1]; 124 data[2] = data[2] * w * scale[2] + trans[2]; 143 const float *scale = viewport->scale; local 147 data[0] = data[0] * scale[0] + trans[0]; 148 data[1] = data[1] * scale[1] + trans[1]; 149 data[2] = data[2] * scale[2] + trans[2] [all...] |