/external/quake/quake/src/WinQuake/ |
H A D | r_draw.cpp | 88 float scale, lzi0, u0, v0;
local 112 scale = xscale * lzi0;
113 u0 = (xcenter + scale*transformed[0]);
119 scale = yscale * lzi0;
120 v0 = (ycenter - scale*transformed[1]);
140 scale = xscale * r_lzi1;
141 r_u1 = (xcenter + scale*transformed[0]);
147 scale = yscale * r_lzi1;
148 r_v1 = (ycenter - scale*transformed[1]);
702 float dist, lastdist, lzi, scale, local [all...] |
/external/skia/samplecode/ |
H A D | SampleRegion.cpp | 62 static void scale_rect(SkIRect* dst, const SkIRect& src, float scale) { argument 63 dst->fLeft = (int)::roundf(src.fLeft * scale); 64 dst->fTop = (int)::roundf(src.fTop * scale); 65 dst->fRight = (int)::roundf(src.fRight * scale); 66 dst->fBottom = (int)::roundf(src.fBottom * scale); 69 static void scale_rgn(SkRegion* dst, const SkRegion& src, float scale) { argument 75 scale_rect(&r, iter.rect(), scale);
|
H A D | SampleFuzz.cpp | 195 canvas->scale(-1,-1); 318 case 0: canvas->scale(-1000000000,1); 319 canvas->scale(-1000000000,1); 321 case 1: canvas->scale(-.000000001f,1); scval = 2; break; 322 case 2: canvas->scale(-.000000001f,1); scval = 0; break;
|
/external/skia/src/core/ |
H A D | SkBitmapShaderTemplate.h | 56 unsigned scale = SkAlpha255To256(this->getPaintAlpha()); local 87 if (256 == scale) 107 *dstC++ = SkAlphaMulQ(c, scale); 146 if (scale == 256) 159 *dstC++ = SkAlphaMulQ(c, scale); 164 if (scale == 256) 181 *dstC++ = SkAlphaMulQ(c, scale);
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | Matrix3f.java | 861 * a given float scale factor. 863 * @param scale 864 * the value to scale by. 867 public Matrix3f multLocal(float scale) { argument 868 m00 *= scale; 869 m01 *= scale; 870 m02 *= scale; 871 m10 *= scale; 872 m11 *= scale; 873 m12 *= scale; 1332 scale(Vector3f scale) argument [all...] |
/external/freetype/src/pshinter/ |
H A D | pshglob.c | 39 /* scale the widths/heights table */ 49 FT_Fixed scale = dim->scale_mult; local 54 width->cur = FT_MulFix( width->org, scale ); 65 w = FT_MulFix( width->org, scale ); 367 FT_Fixed scale, 376 /* not. We simply need to compare the vertical scale */ 388 /* scale*EM_Size < 1000*bluescale + 49/24 */ 393 /* scale < bluescale + 49/24000 */ 397 /* "scale < bluescale" */ 400 /* value, and that `scale' convert 366 psh_blues_scale_zones( PSH_Blues blues, FT_Fixed scale, FT_Pos delta ) argument [all...] |
/external/srec/srec/cfront/ |
H A D | sp_fft.c | 63 unsigned scale = (unsigned int)(1 << (8 * sizeof(trigonomydata) - 1)); local 64 return (trigonomydata)(a * scale); 644 int scale = 0; local 656 ** we can scale data by a factor 658 ** scale = 8*sizeof(fftdata) - data_bits() - log2Length 662 ** fixed data = windowedData * 2**HAMMING_DATA_BITS * 2**scale 667 scale = 8 * sizeof(fftdata) - 2 - pthis->m_logLength; 668 scale -= data_bits(n, data); 672 if (scale < 0) 674 data[i] = rshift(data[i], -scale); 678 data[i] <<= scale; local [all...] |
/external/v8/benchmarks/ |
H A D | deltablue.js | 451 * (v1 * scale) + offset". Either v1 or v2 may be changed to maintain 452 * this relationship but the scale factor and offset are considered 455 function ScaleConstraint(src, scale, offset, dest, strength) { 457 this.scale = scale; 469 this.scale.addConstraint(this); 475 if (this.scale != null) this.scale.removeConstraint(this); 481 this.scale.mark = this.offset.mark = mark; 489 this.v2.value = this.v1.value * this.scale [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/ |
H A D | v8-deltablue.js | 445 * (v1 * scale) + offset". Either v1 or v2 may be changed to maintain 446 * this relationship but the scale factor and offset are considered 449 function ScaleConstraint(src, scale, offset, dest, strength) { 451 this.scale = scale; 463 this.scale.addConstraint(this); 469 if (this.scale != null) this.scale.removeConstraint(this); 475 this.scale.mark = this.offset.mark = mark; 483 this.v2.value = this.v1.value * this.scale [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/ |
H A D | v8-deltablue.js | 445 * (v1 * scale) + offset". Either v1 or v2 may be changed to maintain 446 * this relationship but the scale factor and offset are considered 449 function ScaleConstraint(src, scale, offset, dest, strength) { 451 this.scale = scale; 463 this.scale.addConstraint(this); 469 if (this.scale != null) this.scale.removeConstraint(this); 475 this.scale.mark = this.offset.mark = mark; 483 this.v2.value = this.v1.value * this.scale [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/ |
H A D | v8-deltablue.js | 445 * (v1 * scale) + offset". Either v1 or v2 may be changed to maintain 446 * this relationship but the scale factor and offset are considered 449 function ScaleConstraint(src, scale, offset, dest, strength) { 451 this.scale = scale; 463 this.scale.addConstraint(this); 469 if (this.scale != null) this.scale.removeConstraint(this); 475 this.scale.mark = this.offset.mark = mark; 483 this.v2.value = this.v1.value * this.scale [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testoverlay2.c | 272 fprintf(stderr, " -scale <scale factor> (initial scale of the overlay)\n"); 295 int scale=5; local 357 if (strcmp(argv[1], "-scale") == 0) 361 scale = atoi(argv[2]); 362 if (scale==0) 364 fprintf(stderr, "The -scale option requires an argument [from 1 to 50], default is 5.\n"); 367 if ((scale<0) || (scale>5 [all...] |
/external/opencv/cv/src/ |
H A D | cvsurf.cpp | 51 (subpixel-accurate keypoint localization and scale estimation are still TBD) 107 int scale, *scaleCache = (int*)cvStackAlloc(totalLayers*sizeof(scaleCache[0])); local 128 sizeCache[k] = size = 7 << octave; // gaussian scale 1.0; 130 sizeCache[k] = size = (sc*6 + 9) << octave; // gaussian scale size*1.2/9.; 131 scaleCache[k] = scale = MAX(size, SIZE0); 133 hessian_rows = (sum->rows)*SIZE0/scale; 134 hessian_cols = (sum->cols)*SIZE0/scale; 155 xofs[j] = j*scale/SIZE0; 160 const int* sum_ptr = sum->data.i + sum->cols*(i*scale/SIZE0); 189 scale 450 float scale = MIN(1.f,MIN((float)RS_PATCH_SZ/patch_rect0.width, local [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
H A D | ResourceTimingView.js | 118 var scale = chartWidth / total; 137 bar.style.left = scale * rows[i].start + "px"; 138 bar.style.right = scale * (total - rows[i].end) + "px"; 146 title.style.right = (scale * (total - rows[i].end) + 3) + "px"; 148 title.style.left = (scale * rows[i].start + 3) + "px";
|
/external/webkit/Source/WebCore/platform/audio/fftw/ |
H A D | FFTFrameFFTW.cpp | 133 // FIXME: if we change the scaling on the Mac then this scale 135 float scale = 0.5f; local 138 realP1[0] *= scale * realP2[0]; 139 imagP1[0] *= scale * imagP2[0]; 149 realP1[i] = scale * realResult; 150 imagP1[i] = scale * imagResult; 158 // Scale the frequency domain data to match vecLib's scale factor 160 // eliminate this scale factor then this code will need to change. 193 // scale factor then this code will need to change. Also, if this
|
/external/webkit/Source/WebCore/svg/graphics/ |
H A D | SVGImage.cpp | 191 FloatSize scale(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height()); 195 FloatSize topLeftOffset(srcRect.location().x() * scale.width(), srcRect.location().y() * scale.height()); 199 context->scale(scale);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
H A D | TiledDrawingArea.cpp | 137 void TiledDrawingArea::updateTile(int tileID, const IntRect& dirtyRect, float scale) argument 142 paintIntoUpdateChunk(&updateChunk, scale); 145 WebProcess::shared().connection()->deprecatedSend(DrawingAreaProxyLegacyMessage::TileUpdated, m_webPage->pageID(), CoreIPC::In(tileID, updateChunk, scale, pendingUpdateCount)); 156 updateTile(update.tileID, update.dirtyRect, update.scale); 197 if (!arguments->decode(CoreIPC::Out(update.tileID, update.dirtyRect, update.scale)))
|
/external/webrtc/src/common_audio/signal_processing/ |
H A D | complex_fft.c | 289 int i, j, l, k, istep, n, m, scale, shift; local 301 scale = 0; 317 scale++; 323 scale++; 424 return scale;
|
/external/freetype/src/autofit/ |
H A D | aflatin.c | 519 /* Adjust scaling value, then scale and shift widths */ 527 FT_Fixed scale; local 535 scale = scaler->x_scale; 540 scale = scaler->y_scale; 546 if ( axis->org_scale == scale && axis->org_delta == delta ) 549 axis->org_scale = scale; 553 * correct X and Y scale to optimize the alignment of the top of small 582 scale -= scale / 50; /* scale * 1054 FT_Fixed scale; local 1361 FT_Fixed scale = latin->scale; local 2272 FT_Fixed scale; local [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/ |
H A D | ObjectHelper.java | 302 //create the global matrix (without the scale)
311 Vector3f scale = this.getScale(parentInv).multLocal(size.get(0).floatValue(), size.get(1).floatValue(), size.get(2).floatValue());
322 y=scale.y;
323 scale.y = scale.z;
324 scale.z = y;
329 t.setScale(scale);
368 Vector3f scale = this.getScale(result);
378 y=scale.y;
379 scale [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
H A D | WireSphere.java | 135 float scale = FastMath.sin(b * FastMath.PI);
140 pb.put(x * scale).put(zHeight).put(y * scale);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/ |
H A D | ImprovedNoise.java | 124 return ImprovedNoise.noise(this.scale * x, this.scale * y, this.scale * z);
|
/external/qemu/audio/ |
H A D | coreaudio.c | 509 const float scale = 1.f / UINT_MAX; local 511 const float scale = UINT_MAX; local 540 *out++ = src[frame].l * scale; /* left channel */ 541 *out++ = src[frame].r * scale; /* right channel */ 543 *out++ = src[frame].l / scale; /* left channel */ 544 *out++ = src[frame].r / scale; /* right channel */ 647 const float scale = 1.f / UINT_MAX; local 649 const float scale = UINT_MAX; local 681 dst[frame].l = *in++ * scale; /* left channel */ 682 dst[frame].r = *in++ * scale; /* righ [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | SimpleFontDataCGWin.cpp | 133 CGFloat scale = pointSize / fontMetrics().unitsPerEm(); local 134 FloatRect boundingBox = CGRectApplyAffineTransform(box, CGAffineTransformMakeScale(scale, -scale));
|
/external/webkit/Source/WebCore/platform/win/ |
H A D | DragImageCGWin.cpp | 79 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) argument 90 IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height() * scale.height()));
|