Searched defs:scale (Results 26 - 50 of 429) sorted by relevance

1234567891011>>

/external/iproute2/lib/
H A Ddnet_ntop.c19 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started) argument
21 u_int16_t tmp = *addr / scale;
26 if (((tmp) > 0) || *started || (scale == 1)) {
30 *addr -= (tmp * scale);
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
H A DBasis.java67 public Basis setScale(float scale); argument
/external/skia/gm/
H A Dfilltypes.cpp32 SkScalar scale, const SkPaint& paint) {
42 canvas->scale(scale, scale);
48 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument
50 scale, paint);
52 scale, paint);
54 scale, paint);
56 scale, paint);
63 const SkScalar scale local
31 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument
[all...]
/external/skia/samplecode/
H A DSampleFillType.cpp41 SkScalar scale, const SkPaint& paint) {
51 canvas->scale(scale, scale);
57 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument
59 scale, paint);
61 scale, paint);
63 scale, paint);
65 scale, paint);
72 const SkScalar scale local
40 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument
[all...]
/external/skia/src/core/
H A DSkBitmapProcState_filter.h58 SkPMColor *dst, uint16_t scale) {
80 "vdup.16 d3, %[scale] \n\t" // duplicate scale into d3
82 "vmul.i16 d4, d4, d3 \n\t" // multiply result by scale
86 : [x] "r" (x), [y] "r" (y), [a00] "r" (a00), [a01] "r" (a01), [a10] "r" (a10), [a11] "r" (a11), [dst] "r" (dst), [scale] "r" (scale)
103 int scale = 256 - 16*y - 16*x + xy; local
104 uint32_t lo = (a00 & mask) * scale;
105 uint32_t hi = ((a00 >> 8) & mask) * scale;
107 scale
55 Filter_32_alpha_neon(unsigned x, unsigned y, SkPMColor a00, SkPMColor a01, SkPMColor a10, SkPMColor a11, SkPMColor *dst, uint16_t scale) argument
133 int scale = 256 - 16*y - 16*x + xy; local
[all...]
H A DSkBlitRow_D32.cpp171 unsigned scale = 256 - SkAlpha255To256(colorA); local
173 *dst = color + SkAlphaMulQ(*src, scale);
/external/skia/src/effects/
H A DSkDiscretePathEffect.cpp15 static void Perterb(SkPoint* p, const SkVector& tangent, SkScalar scale) { argument
18 normal.setLength(scale);
35 SkScalar scale = fPerterb;
54 Perterb(&p, v, SkScalarMul(rand.nextSScalar1(), scale));
59 Perterb(&p, v, SkScalarMul(rand.nextSScalar1(), scale));
/external/srec/audio/AudioIn/UNIX/include/
H A Dfilter.h43 unsigned int scale; // fixed-point filter scale factor member in struct:fir_struct
55 extern FIR_struct* FIR_construct(unsigned int nTaps, const typeCoeff *pCoeffs, int scale, int factor_up, int factor_down);
/external/srec/srec/clib/
H A Dimeld_rd.c97 double scale, onerow[MAX_DIMEN]; local
113 pfread(&scale, sizeof(double), 1, dfpt);
115 if (reqscale != 0) scale = reqscale;
117 PLogMessage("L: LDA Suggested scale is %.1f\n", scale);
136 xfp = scale * (onerow[ii] - UTB_MEAN) + UTB_MEAN;
151 prep->imelda[ii][jj] = (covdata)(scale * onerow[jj]);
177 prep->inverse[ii][jj] = (covdata)(onerow[jj] / scale);
/external/webkit/Source/WebCore/history/android/
H A DAndroidWebHistoryBridge.h47 float scale() const { return m_scale; } function in class:WebCore::AndroidWebHistoryBridge
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DSurfaceBacking.h76 int nbTextures(IntRect& area, float scale) argument
81 return m_frontTileGrid->nbTextures(area, scale);
87 // Delay before we schedule a new tile at the new scale factor
/external/webkit/Source/WebCore/platform/image-encoders/skia/
H A DPNGImageEncoder.cpp52 static const SkUnPreMultiply::Scale* scale = SkUnPreMultiply::GetScaleTable(); local
58 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedR32(*input));
59 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedG32(*input));
60 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedB32(*input));
/external/webkit/Source/WebKit2/WebProcess/WebPage/
H A DTiledDrawingArea.h67 void updateTile(int tileID, const WebCore::IntRect& dirtyRect, float scale);
70 void paintIntoUpdateChunk(UpdateChunk*, float scale);
82 float scale; member in struct:WebKit::TiledDrawingArea::TileUpdate
/external/webrtc/src/common_audio/signal_processing/
H A Dauto_correlation.c24 int* scale)
45 // In order to avoid overflow when computing the sum we should scale the samples so that
138 *scale = scaling;
20 WebRtcSpl_AutoCorrelation(G_CONST WebRtc_Word16* in_vector, int in_vector_length, int order, WebRtc_Word32* result, int* scale) argument
/external/aac/libAACdec/src/
H A Dldfiltbank.cpp104 int i, scale; local
106 /* scale for FIXP_DBL -> INT_PCM conversion. */
107 scale = (DFRACT_BITS - SAMPLE_BITS) - LDFB_HEADROOM;
121 FDK_ASSERT( (-WTS1-1 + scale) >= 0);
122 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp, -WTS1-1 + scale, SAMPLE_BITS);
124 FDK_ASSERT( (WTS1+1 - scale) >= 0);
125 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp, WTS1+1 - scale, SAMPLE_BITS);
145 FDK_ASSERT( (-WTS0-1 + scale) >= 0);
146 output[(i-N/4)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp0, -WTS0-1 + scale, SAMPLE_BITS);
147 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp1, -WTS1-1 + scale, SAMPLE_BIT
176 int scale = mdctData_e + MDCT_OUT_HEADROOM - LDFB_HEADROOM; /* The LDFB_HEADROOM is compensated inside multE2_DinvF_fdk() below */ local
[all...]
/external/aac/libSBRenc/src/
H A Dsbr_misc.cpp238 return: num*scale/denom
241 FIXP_DBL FDKsbrEnc_LSI_divide_scale_fract(FIXP_DBL num, FIXP_DBL denom, FIXP_DBL scale) argument
249 INT shiftScale = CountLeadingBits(scale);
252 scale = scale << shiftScale;
254 tmp = fMultDiv2(num,scale);
/external/compiler-rt/lib/
H A Ddivdf3.c32 int scale = 0; local
65 // normal number. Renormalize one or both of a and b, and set scale to
67 if (aAbs < implicitBit) scale += normalize(&aSignificand);
68 if (bAbs < implicitBit) scale -= normalize(&bSignificand);
76 int quotientExponent = aExponent - bExponent + scale;
/external/guava/guava/src/com/google/common/math/
H A DDoubleUtils.java86 * Returns {@code d * 2^scale}.
88 static strictfp double scalb(double d, int scale) { argument
95 return d * StrictMath.pow(2.0, scale);
97 int newExponent = exponent + scale;
105 return d * StrictMath.pow(2.0, scale);
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
H A DConstraintSizeLimit.java99 private void sizeLimit(Vector3f scale, float influence) { argument
101 if (scale.x < limits[0][0]) {
102 scale.x -= (scale.x - limits[0][0]) * influence;
106 if (scale.x > limits[0][1]) {
107 scale.x -= (scale.x - limits[0][1]) * influence;
111 if (scale.y < limits[1][0]) {
112 scale.y -= (scale
[all...]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
H A DCollisionShape.java49 protected Vector3f scale = new Vector3f(1, 1, 1); field in class:CollisionShape
86 public void setScale(Vector3f scale) { argument
87 this.scale.set(scale);
88 setLocalScaling(objectId, scale);
92 return scale;
106 private native void setLocalScaling(long obectId, Vector3f scale); argument
112 capsule.write(scale, "scale", new Vector3f(1, 1, 1));
118 this.scale
[all...]
H A DCompoundCollisionShape.java126 public void setScale(Vector3f scale) { argument
146 setScale(scale);
H A DHeightfieldCollisionShape.java51 public HeightfieldCollisionShape(float[] heightmap, Vector3f scale) { argument
52 createCollisionHeightfield(heightmap, scale);
56 this.scale = worldScale;
57 this.heightScale = 1;//don't change away from 1, we use worldScale instead to scale
108 setScale(scale);
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
H A DShadowUtil.java96 float scale,
150 if (scale != 1.0f) {
161 cDir.multLocal(scale - 1.0f);
93 updateFrustumPoints(Camera viewCam, float nearOverride, float farOverride, float scale, Vector3f[] points) argument
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
H A DCollisionShape.java48 protected Vector3f scale = new Vector3f(1, 1, 1); field in class:CollisionShape
82 public void setScale(Vector3f scale) { argument
83 this.scale.set(scale);
84 cShape.setLocalScaling(Converter.convert(scale));
97 return scale;
102 capsule.write(scale, "scale", new Vector3f(1, 1, 1));
108 this.scale = (Vector3f) capsule.readSavable("scale", ne
[all...]
H A DCompoundCollisionShape.java124 public void setScale(Vector3f scale) { argument

Completed in 533 milliseconds

1234567891011>>