/external/iproute2/lib/ |
H A D | dnet_ntop.c | 19 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 D | Basis.java | 67 public Basis setScale(float scale);
argument
|
/external/skia/gm/ |
H A D | filltypes.cpp | 32 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 D | SampleFillType.cpp | 41 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 D | SkBitmapProcState_filter.h | 58 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 D | SkBlitRow_D32.cpp | 171 unsigned scale = 256 - SkAlpha255To256(colorA); local 173 *dst = color + SkAlphaMulQ(*src, scale);
|
/external/skia/src/effects/ |
H A D | SkDiscretePathEffect.cpp | 15 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 D | filter.h | 43 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 D | imeld_rd.c | 97 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 D | AndroidWebHistoryBridge.h | 47 float scale() const { return m_scale; } function in class:WebCore::AndroidWebHistoryBridge
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | SurfaceBacking.h | 76 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 D | PNGImageEncoder.cpp | 52 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 D | TiledDrawingArea.h | 67 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 D | auto_correlation.c | 24 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 D | ldfiltbank.cpp | 104 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 D | sbr_misc.cpp | 238 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 D | divdf3.c | 32 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 D | DoubleUtils.java | 86 * 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 D | ConstraintSizeLimit.java | 99 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 D | CollisionShape.java | 49 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 D | CompoundCollisionShape.java | 126 public void setScale(Vector3f scale) { argument 146 setScale(scale);
|
H A D | HeightfieldCollisionShape.java | 51 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 D | ShadowUtil.java | 96 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 D | CollisionShape.java | 48 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 D | CompoundCollisionShape.java | 124 public void setScale(Vector3f scale) { argument
|