Searched defs:scale (Results 51 - 75 of 429) sorted by relevance

1234567891011>>

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
H A DHeightfieldCollisionShape.java50 public HeightfieldCollisionShape(float[] heightmap, Vector3f scale) { argument
51 createCollisionHeightfield(heightmap, scale);
55 this.scale = worldScale;
56 this.heightScale = 1;//don't change away from 1, we use worldScale instead to scale
95 shape.setLocalScaling(new javax.vecmath.Vector3f(scale.x, scale.y, scale.z));
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DHeightMap.java117 * <code>setHeightScale</code> sets the scale of the height values.
121 * @param scale
122 * the scale to multiply height values by.
124 void setHeightScale(float scale); argument
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
H A DNoise.java50 protected float scale = 1.0f; field in class:Noise
85 public Basis setScale(float scale) { argument
86 this.scale = scale;
92 return this.scale;
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/
H A DSDL_ps3yuv.c67 unsigned int scale; member in struct:private_yuvhwdata
230 /* Do we have to scale? */
232 hwdata->scale = 1;
233 deprintf(1, "[PS3] We need to scale\n");
235 hwdata->scale = 0;
256 if (hwdata->scale) {
307 if (hwdata->scale)
/external/quake/quake/src/QW/client/
H A Dr_aclip.c49 float scale; local
57 scale = (ALIAS_Z_CLIP_PLANE - pav0->fv[2]) /
60 avout.fv[0] = pav0->fv[0] + (pav1->fv[0] - pav0->fv[0]) * scale;
61 avout.fv[1] = pav0->fv[1] + (pav1->fv[1] - pav0->fv[1]) * scale;
64 out->v[2] = pfv0->v[2] + (pfv1->v[2] - pfv0->v[2]) * scale;
65 out->v[3] = pfv0->v[3] + (pfv1->v[3] - pfv0->v[3]) * scale;
66 out->v[4] = pfv0->v[4] + (pfv1->v[4] - pfv0->v[4]) * scale;
70 scale = (ALIAS_Z_CLIP_PLANE - pav1->fv[2]) /
73 avout.fv[0] = pav1->fv[0] + (pav0->fv[0] - pav1->fv[0]) * scale;
74 avout.fv[1] = pav1->fv[1] + (pav0->fv[1] - pav1->fv[1]) * scale;
99 float scale; local
122 float scale; local
144 float scale; local
167 float scale; local
[all...]
/external/quake/quake/src/WinQuake/
H A Dr_aclip.cpp49 float scale; local
57 scale = (ALIAS_Z_CLIP_PLANE - pav0->fv[2]) /
60 avout.fv[0] = pav0->fv[0] + (pav1->fv[0] - pav0->fv[0]) * scale;
61 avout.fv[1] = pav0->fv[1] + (pav1->fv[1] - pav0->fv[1]) * scale;
64 out->v[2] = pfv0->v[2] + (pfv1->v[2] - pfv0->v[2]) * scale;
65 out->v[3] = pfv0->v[3] + (pfv1->v[3] - pfv0->v[3]) * scale;
66 out->v[4] = pfv0->v[4] + (pfv1->v[4] - pfv0->v[4]) * scale;
70 scale = (ALIAS_Z_CLIP_PLANE - pav1->fv[2]) /
73 avout.fv[0] = pav1->fv[0] + (pav0->fv[0] - pav1->fv[0]) * scale;
74 avout.fv[1] = pav1->fv[1] + (pav0->fv[1] - pav1->fv[1]) * scale;
99 float scale; local
122 float scale; local
144 float scale; local
167 float scale; local
[all...]
/external/skia/gm/
H A Dbitmapfilters.cpp63 const int scale = 32; local
67 canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8,
71 canvas->scale(SkIntToScalar(scale), SkIntToScalar(scale));
77 return x * scale / 3;
H A Dfilltypespersp.cpp32 SkScalar scale, const SkPaint& paint) {
42 canvas->scale(scale, scale);
48 void showFour(SkCanvas* canvas, SkScalar scale, bool aa) { argument
64 scale, paint);
66 scale, paint);
68 scale, paint);
70 scale, paint);
106 const SkScalar scale local
31 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument
[all...]
/external/skia/include/effects/
H A DSkTestImageFilters.h135 SkDownSampleImageFilter(SkScalar scale) : fScale(scale) {} argument
/external/skia/samplecode/
H A DSampleFilter.cpp83 const int scale = 32; local
87 canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8,
91 canvas->scale(SkIntToScalar(scale), SkIntToScalar(scale));
97 return x * scale / 3;
H A DSampleFilter2.cpp75 const SkScalar scale = SkFloatToScalar(0.897917f); local
76 canvas->scale(SK_Scalar1, scale);
H A DSampleMeasure.cpp24 // exercise scale/linear/devkern
58 SkScalar scale = gSettings[i].fScale; local
61 SkScalar w = p.measureText(text, len, &bounds, scale);
/external/skia/src/animator/
H A DSkDrawMatrix.h53 void scale(SkScalar scaleX, SkScalar scaleY, SkPoint& center) { function in class:SkDrawMatrix
/external/skia/src/effects/
H A DSkKernel33MaskFilter.cpp47 unsigned scale = fPercent256; local
66 if (scale < 256) {
67 value = SkAlphaBlend(value, srcRows[1][1], scale);
H A DSkTransparentShader.cpp43 unsigned scale = SkAlpha255To256(fAlpha); local
47 if (scale == 256) {
55 span[i] = SkAlphaMulQ(src[i], scale);
61 if (scale == 256) {
74 SkAlphaMul(r, scale),
75 SkAlphaMul(g, scale),
76 SkAlphaMul(b, scale));
83 if (scale == 256) {
88 unsigned scale16 = scale >> 4;
101 if (scale
[all...]
/external/srec/audio/AudioIn/UNIX/src/
H A Dfilter.c74 * scale - fixed point scale factor
79 FIR_struct* FIR_construct(unsigned int nTaps, const typeCoeff *pCoeffs, int scale, int factor_up, int factor_down) argument
105 pFIR->scale = scale;
106 pFIR->round = (1 << (scale-1));
288 *pOutput = (typeSample) (accum >> pFIR->scale);
/external/webkit/Source/WebCore/platform/audio/mac/
H A DFFTFrameMac.cpp109 float scale = 0.5f; local
112 realP1[0] *= scale * realP2[0];
113 imagP1[0] *= scale * imagP2[0];
129 // We've previously scaled the packed part, now scale the rest.....
130 vDSP_vsmul(sc1.realp, 1, &scale, sc1.realp, 1, halfSize - 1);
131 vDSP_vsmul(sc1.imagp, 1, &scale, sc1.imagp, 1, halfSize - 1);
146 float scale = 0.5f / m_FFTSize; local
147 vDSP_vsmul(data, 1, &scale, data, 1, m_FFTSize);
/external/webkit/Source/WebCore/platform/graphics/
H A DIntRect.cpp120 void IntRect::scale(float s) function in class:WebCore::IntRect
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DBaseRenderer.h50 // current scale factor
51 float scale; member in struct:WebCore::TileRenderInfo
H A DTilesProfiler.cpp72 void TilesProfiler::nextFrame(int left, int top, int right, int bottom, float scale) argument
93 scale, true, (int)(timeDelta * 1000)));
96 void TilesProfiler::nextTile(Tile* tile, float scale, bool inView) argument
115 scale, isReady, (int)tile->drawCount()));
116 ALOGV("adding tile %d %d %d %d, scale %f", left, top, right, bottom, scale);
119 void TilesProfiler::nextInval(const SkIRect& rect, float scale) argument
126 rect.right(), rect.bottom(), scale, false, INVAL_CODE));
127 ALOGV("adding inval region %d %d %d %d, scale %f", rect.x(), rect.y(),
128 rect.right(), rect.bottom(), scale);
[all...]
H A DTilesProfiler.h40 TileProfileRecord(int left, int top, int right, int bottom, float scale, int isReady, int level) { argument
45 this->scale = scale;
52 float scale; member in struct:WebCore::TileProfileRecord
62 void nextFrame(int left, int top, int right, int bottom, float scale);
63 void nextTile(Tile* tile, float scale, bool inView);
64 void nextInval(const SkIRect& rect, float scale);
/external/webkit/Source/WebCore/platform/graphics/win/
H A DSimpleFontDataCGWin.cpp133 CGFloat scale = pointSize / fontMetrics().unitsPerEm(); local
134 FloatRect boundingBox = CGRectApplyAffineTransform(box, CGAffineTransformMakeScale(scale, -scale));
/external/webkit/Source/WebCore/platform/win/
H A DDragImageCGWin.cpp79 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) argument
90 IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height() * scale.height()));
H A DDragImageCairoWin.cpp104 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) argument
112 IntSize dstSize(static_cast<int>(srcSize.width() * scale.width()), static_cast<int>(srcSize.height() * scale.height()));
133 cairo_scale(cr, scale.width(), -scale.height());
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGResourceFilter.h56 FloatSize scale; member in struct:WebCore::FilterData

Completed in 323 milliseconds

1234567891011>>