Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 25 of 99) sorted by relevance

1234

/reactos/sdk/lib/3rdparty/libmpg123/
H A Dlayer2.c205 *scale++ = getbits_fast(fr, 6); in II_step_one()
211 *scale++ = sc; in II_step_one()
216 *scale++ = sc; in II_step_one()
217 *scale++ = sc; in II_step_one()
222 *scale++ = sc; in II_step_one()
265 scale+=3; in II_step_two()
284 cm=fr->muls[k][scale[x1+3]]; in II_step_two()
291 cm=fr->muls[k][scale[x1]]; in II_step_two()
300 m1 = scale[x1]; m2 = scale[x1+3]; in II_step_two()
307 scale+=6; in II_step_two()
[all …]
/reactos/modules/rostests/winetests/gdiplus/
H A Dcustomlinecap.c176 REAL scale; in test_scale() local
199 scale = (REAL)0xdeadbeef; in test_scale()
202 expectf(1.0, scale); in test_scale()
207 scale = (REAL)0xdeadbeef; in test_scale()
210 expectf(2.5, scale); in test_scale()
214 scale = (REAL)0xdeadbeef; in test_scale()
217 expectf(42.0, scale); in test_scale()
221 scale = (REAL)0xdeadbeef; in test_scale()
224 expectf(3000.0, scale); in test_scale()
231 expectf(0.0, scale); in test_scale()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/psaux/
H A Dpsblues.c98 blues->scale = font->innerTransform.d; in cf2_blues_init()
164 blues->scale ) ) - in cf2_blues_init()
166 blues->emBoxBottomEdge.scale = blues->scale; in cf2_blues_init()
176 blues->scale ) ) + in cf2_blues_init()
178 blues->emBoxTopEdge.scale = blues->scale; in cf2_blues_init()
279 csUnitsPerPixel = FT_DivFix( cf2_intToFixed( 1 ), blues->scale ); in cf2_blues_init()
403 if ( blues->scale < blues->blueScale ) in cf2_blues_init()
413 blues->scale, in cf2_blues_init()
435 blues->scale ) - in cf2_blues_init()
441 blues->scale ) + in cf2_blues_init()
H A Dpshints.c95 CF2_Fixed scale, in cf2_hint_init() argument
191 hint->scale = scale; in cf2_hint_init()
281 CF2_Fixed scale ) in cf2_hintmap_init() argument
287 hintmap->scale = scale; in cf2_hintmap_init()
320 hint->scale, in cf2_hintmap_dump()
547 hintmap->edge[i - 1].scale = in cf2_hintmap_adjustHints()
557 hintmap->edge[j - 1].scale = in cf2_hintmap_adjustHints()
904 hintmap->scale, in cf2_hintmap_build()
911 hintmap->scale, in cf2_hintmap_build()
980 edge.scale = hintmap->scale; in cf2_hintmap_build()
[all …]
H A Dpsblues.h125 CF2_Fixed scale; member
151 CF2_Fixed scale; member
H A Dpshints.h139 CF2_Fixed scale; member
165 CF2_Fixed scale );
/reactos/sdk/lib/crt/math/libm_sse2/
H A Dremainderf.c65 double dx, dy, scale, w, t; in fmodf() local
186 scale = 1.0; in fmodf()
194 scale); in fmodf()
195 w = scale * dy; in fmodf()
198 scale); in fmodf()
215 w *= scale; in fmodf()
H A Dremainder.c80 double dx, dy, scale, w, t, v, c, cc; in fmod() local
222 scale = 1.0; in fmod()
231 scale); in fmod()
275 w *= scale; in fmod()
/reactos/dll/win32/oleaut32/
H A Dvariant.h85 #define SIGNSCALE(sign,scale) (((scale) << 8) | sign) argument
87 #define SIGNSCALE(sign,scale) (((sign) << 8) | scale) argument
92 #define DEC_SCALE(d) ((d)->u.s.scale)
H A Dvartype.c2955 while (scale--) in VarR4FromDec()
3275 while (scale--) in VarR8FromDec()
3375 scale = pow(10.0, nDig); in VarR8Round()
3377 dblIn *= scale; in VarR8Round()
3394 *pDblOut = dblIn / scale; in VarR8Round()
4498 di.scale -= i; in VARIANT_DecScale()
4743 result->scale = a->scale + b->scale; in VARIANT_DI_mul()
4750 result->scale = 0; in VARIANT_DI_mul()
4886 if (a->scale > 0) { in VARIANT_DI_tostringW()
5650 di_result.scale--; in VarDecMul()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/pshinter/
H A Dpshglob.c49 FT_Fixed scale = dim->scale_mult; in psh_globals_scale_widths() local
54 width->cur = FT_MulFix( width->org, scale ); in psh_globals_scale_widths()
65 w = FT_MulFix( width->org, scale ); in psh_globals_scale_widths()
367 FT_Fixed scale, in psh_blues_scale_zones() argument
405 if ( scale >= 0x20C49BAL ) in psh_blues_scale_zones()
423 while ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 ) in psh_blues_scale_zones()
454 zone->cur_top = FT_MulFix( zone->org_top, scale ) + delta; in psh_blues_scale_zones()
455 zone->cur_bottom = FT_MulFix( zone->org_bottom, scale ) + delta; in psh_blues_scale_zones()
456 zone->cur_ref = FT_MulFix( zone->org_ref, scale ) + delta; in psh_blues_scale_zones()
457 zone->cur_delta = FT_MulFix( zone->org_delta, scale ); in psh_blues_scale_zones()
[all …]
H A Dpshalgo.c398 FT_Fixed scale, in ps_simple_scale() argument
443 FT_Fixed scale = dim->scale_mult; in psh_hint_align() local
671 FT_Fixed scale = dim->scale_mult;
857 FT_Fixed scale = dim->scale_mult; in psh_hint_table_align_hints() local
902 zone->scale / 65536.0, in psh_print_zone()
1578 FT_Fixed scale = dim->scale_mult; in psh_glyph_find_strong_points() local
1723 FT_Fixed scale = dim->scale_mult; in psh_glyph_interpolate_strong_points() local
1778 FT_Fixed scale = dim->scale_mult; in psh_glyph_interpolate_normal_points() local
1869 scale ); in psh_glyph_interpolate_normal_points()
1885 scale ); in psh_glyph_interpolate_normal_points()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/autofit/
H A Daflatin2.c528 FT_Fixed scale; in af_latin2_metrics_scale_dim() local
536 scale = scaler->x_scale; in af_latin2_metrics_scale_dim()
541 scale = scaler->y_scale; in af_latin2_metrics_scale_dim()
550 axis->org_scale = scale; in af_latin2_metrics_scale_dim()
598 scale = FT_MulDiv( scale, fitted, scaled ); in af_latin2_metrics_scale_dim()
608 axis->scale = scale; in af_latin2_metrics_scale_dim()
613 metrics->root.scaler.x_scale = scale; in af_latin2_metrics_scale_dim()
618 metrics->root.scaler.y_scale = scale; in af_latin2_metrics_scale_dim()
1097 FT_Fixed scale; in af_latin2_hints_compute_edges() local
1417 FT_Fixed scale = latin->scale; in af_latin2_hints_compute_blue_edges() local
[all …]
H A Daflatin.c1141 FT_Fixed scale; in af_latin_metrics_scale_dim() local
1149 scale = scaler->x_scale; in af_latin_metrics_scale_dim()
1154 scale = scaler->y_scale; in af_latin_metrics_scale_dim()
1163 axis->org_scale = scale; in af_latin_metrics_scale_dim()
1213 scale -= scale / 50; /* scale *= 0.98 */ in af_latin_metrics_scale_dim()
1247 scale / 65536.0, in af_latin_metrics_scale_dim()
1251 scale = new_scale; in af_latin_metrics_scale_dim()
1270 axis->scale = scale; in af_latin_metrics_scale_dim()
2090 FT_Fixed scale; in af_latin_hints_compute_edges() local
2452 FT_Fixed scale = latin->scale; in af_latin_hints_compute_blue_edges() local
[all …]
H A Dafcjk.c669 FT_Fixed scale; in af_cjk_metrics_scale_dim() local
677 scale = scaler->x_scale; in af_cjk_metrics_scale_dim()
682 scale = scaler->y_scale; in af_cjk_metrics_scale_dim()
691 axis->org_scale = scale; in af_cjk_metrics_scale_dim()
694 axis->scale = scale; in af_cjk_metrics_scale_dim()
725 delta2 = FT_MulFix( delta2, scale ); in af_cjk_metrics_scale_dim()
1014 FT_Fixed scale; in af_cjk_hints_compute_edges() local
1296 FT_Fixed scale = cjk->scale; in af_cjk_hints_compute_blue_edges() local
1359 dist = FT_MulFix( dist, scale ); in af_cjk_hints_compute_blue_edges()
2326 FT_Fixed scale; in af_cjk_hints_apply() local
[all …]
/reactos/sdk/lib/3rdparty/libsamplerate/
H A Dsrc_sinc.c451 output [0] = scale * (left [0] + right [0]) ; in calc_output_stereo()
452 output [1] = scale * (left [1] + right [1]) ; in calc_output_stereo()
603 output [0] = scale * (left [0] + right [0]) ; in calc_output_quad()
604 output [1] = scale * (left [1] + right [1]) ; in calc_output_quad()
605 output [2] = scale * (left [2] + right [2]) ; in calc_output_quad()
606 output [3] = scale * (left [3] + right [3]) ; in calc_output_quad()
761 output [0] = scale * (left [0] + right [0]) ; in calc_output_hex()
762 output [1] = scale * (left [1] + right [1]) ; in calc_output_hex()
763 output [2] = scale * (left [2] + right [2]) ; in calc_output_hex()
764 output [3] = scale * (left [3] + right [3]) ; in calc_output_hex()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/base/
H A Dftadvanc.c32 FT_Fixed scale; in _ft_face_scale_advances() local
43 scale = face->size->metrics.y_scale; in _ft_face_scale_advances()
45 scale = face->size->metrics.x_scale; in _ft_face_scale_advances()
51 advances[nn] = FT_MulDiv( advances[nn], scale, 64 ); in _ft_face_scale_advances()
/reactos/modules/rostests/tests/txtscale/
H A Dtxtscale.cpp78 double scale = 0.0; variable
131 scale = static_cast<double>( in MainWndProc()
181 scale * pPEnds[iPoint].x + 0.5 in MainWndProc()
184 scale * pPEnds[iPoint].y + 0.5 in MainWndProc()
/reactos/dll/win32/gdiplus/
H A Dmatrix.c292 REAL scale[6]; in GdipScaleMatrix() local
299 scale[0] = scaleX; in GdipScaleMatrix()
300 scale[1] = 0.0; in GdipScaleMatrix()
301 scale[2] = 0.0; in GdipScaleMatrix()
302 scale[3] = scaleY; in GdipScaleMatrix()
303 scale[4] = 0.0; in GdipScaleMatrix()
304 scale[5] = 0.0; in GdipScaleMatrix()
307 matrix_multiply(matrix->matrix, scale, matrix->matrix); in GdipScaleMatrix()
309 matrix_multiply(scale, matrix->matrix, matrix->matrix); in GdipScaleMatrix()
H A Dbrush.c1446 REAL scale) in GdipSetLineSigmaBlend() argument
1468 scale_erf = scale / (-2.0 * min_erf); in GdipSetLineSigmaBlend()
1483 factors[num_points] = scale; in GdipSetLineSigmaBlend()
1549 REAL focus, REAL scale) in GdipSetPathGradientLinearBlend() argument
1567 factors[num_points] = scale; in GdipSetPathGradientLinearBlend()
1738 REAL focus, REAL scale) in GdipSetPathGradientSigmaBlend() argument
1751 …if(!grad || focus < 0.0 || focus > 1.0 || scale < 0.0 || scale > 1.0 || grad->brush.bt != BrushTyp… in GdipSetPathGradientSigmaBlend()
1760 scale_erf = scale / (-2.0 * min_erf); in GdipSetPathGradientSigmaBlend()
1775 factors[num_points] = scale; in GdipSetPathGradientSigmaBlend()
2011 REAL scale) in GdipSetLineLinearBlend() argument
[all …]
/reactos/dll/directx/wine/ddraw/
H A Dviewport.c32 struct wined3d_vec3 *scale, struct wined3d_vec3 *offset) in update_clip_space() argument
36 scale->x, 0.0f, 0.0f, 0.0f, in update_clip_space()
37 0.0f, scale->y, 0.0f, 0.0f, in update_clip_space()
38 0.0f, 0.0f, scale->z, 0.0f, in update_clip_space()
57 struct wined3d_vec3 scale, offset; in viewport_activate() local
81 scale.x = 2.0f / This->viewports.vp2.dvClipWidth; in viewport_activate()
82 scale.y = 2.0f / This->viewports.vp2.dvClipHeight; in viewport_activate()
83 scale.z = 1.0f / (This->viewports.vp2.dvMaxZ - This->viewports.vp2.dvMinZ); in viewport_activate()
97 scale.x = 2.0f * This->viewports.vp1.dvScaleX / This->viewports.vp1.dwWidth; in viewport_activate()
99 scale.z = 1.0f; in viewport_activate()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/tools/
H A Dcordic.py6 scale = units/math.pi variable
18 angle2 = round(angle*scale) # arctangent in FT_Angle units
/reactos/dll/opengl/mesa/
H A Dxform.c213 GLdouble len, scale; in gl_xform_normals_3fv() local
215 scale = (len>1E-30) ? (1.0 / len) : 1.0; in gl_xform_normals_3fv()
216 v[i][0] = tx * scale; in gl_xform_normals_3fv()
217 v[i][1] = ty * scale; in gl_xform_normals_3fv()
218 v[i][2] = tz * scale; in gl_xform_normals_3fv()
/reactos/modules/rostests/winetests/d3dx9_36/
H A Dmath.c212 FLOAT scale; in D3DXColorTest() local
218 scale = 0.3f; in D3DXColorTest()
1498 scale = 0.3f; in D3DXQuaternionTest()
1892 scale = -6.5f; in D3DXVector2Test()
2081 scale = -6.5f; in D3DXVector3Test()
2303 scale = -6.5f; in D3DXVector4Test()
2507 FLOAT angle, scale; in test_Matrix_AffineTransformation2D() local
2517 scale = 20.0f; in test_Matrix_AffineTransformation2D()
2546 scale = 20.0f; in test_Matrix_AffineTransformation2D()
2575 scale = 20.0f; in test_Matrix_AffineTransformation2D()
[all …]
/reactos/modules/rostests/winetests/windowscodecs/
H A Dpalette.c535 UINT i, j, scale; in init_bitmap() local
544 scale = 256 / *width; in init_bitmap()
545 if (!scale) scale = 1; in init_bitmap()
551 src[i * *stride + j*3 + 0] = scale * i; in init_bitmap()
552 src[i * *stride + j*3 + 1] = scale * (255 - (i+j)/2); in init_bitmap()
553 src[i * *stride + j*3 + 2] = scale * j; in init_bitmap()

1234