Searched refs:scale (Results 1 - 25 of 715) sorted by relevance

1234567891011>>

/external/aac/libFDK/include/mips/
H A Dscale.h98 * \brief Scale input value by 2^{scale} and saturate output to 2^{dBits-1}
104 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \
105 (__builtin_mips_shll_s_w((src)>>scale,(DFRACT_BITS-(dBits)))>>(DFRACT_BITS-(dBits)))
/external/qemu/android/protocol/
H A Dui-commands-proxy.h33 /* Changes the scale of the emulator window at runtime.
35 * scale, is_dpi - New window scale parameters
39 extern int uicmd_set_window_scale(double scale, int is_dpi);
H A Dui-commands-qemu.c23 extern void android_emulator_set_window_scale(double scale, int is_dpi);
26 uicmd_set_window_scale(double scale, int is_dpi) argument
28 android_emulator_set_window_scale(scale, is_dpi);
H A Dui-commands-api.h20 /* Changes the scale of the emulator window at runtime.
22 * scale, is_dpi - New window scale parameters
26 extern int uicmd_set_window_scale(double scale, int is_dpi);
H A Dui-commands.h23 /* Sets window scale. */
33 double scale; member in struct:UICmdSetWindowsScale
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DSimpleBigDecimal.java10 * point is called the <code>scale</code> of the <code>SimpleBigDecimal</code>.
11 * Unlike in {@link java.math.BigDecimal BigDecimal}, the scale is not adjusted
13 * taking part in the same arithmetic operation must have equal scale. The
15 * <code>SimpleBigDecimal</code> with double scale.
23 private final int scale; field in class:SimpleBigDecimal
30 * @param scale The scale of the <code>SimpleBigDecimal</code> to be
34 public static SimpleBigDecimal getInstance(BigInteger value, int scale) argument
36 return new SimpleBigDecimal(value.shiftLeft(scale), scale);
46 SimpleBigDecimal(BigInteger bigInt, int scale) argument
[all...]
/external/aac/libFDK/include/arm/
H A Dscale.h95 inline static INT shiftRightSat(INT src, int scale) argument
102 : "r"(src>>scale), "M"(SAMPLE_BITS)
108 #define SATURATE_INT_PCM_RIGHT_SHIFT(src, scale) shiftRightSat(src, scale)
110 inline static INT shiftLeftSat(INT src, int scale) argument
117 : "r"(src<<scale), "M"(SAMPLE_BITS)
123 #define SATURATE_INT_PCM_LEFT_SHIFT(src, scale) shiftLeftSat(src, scale)
143 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \
144 ( (((LONG)(src) ^ ((LONG)(src) >> (DFRACT_BITS-1)))>>(scale)) > (LON
[all...]
/external/aac/libFDK/include/
H A Dscale.h102 #include "arm/scale.h"
105 #include "mips/scale.h"
110 #include "../src/scale.cpp"
196 * \brief Scale input value by 2^{scale} and saturate output to 2^{dBits-1}
204 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \
205 ( (((LONG)(src)>>(scale)) > (LONG)(((1U)<<((dBits)-1))-1)) ? (LONG)(((1U)<<((dBits)-1))-1) \
206 : (((LONG)(src)>>(scale)) < ~((LONG)(((1U)<<((dBits)-1))-1))) ? ~((LONG)(((1U)<<((dBits)-1))-1)) \
207 : ((LONG)(src) >> (scale)) )
211 #define SATURATE_LEFT_SHIFT(src, scale, dBits) \
212 ( ((LONG)(src) > ((LONG)(((1U)<<((dBits)-1))-1)>>(scale)))
[all...]
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
H A DTiledDrawingAreaQt.cpp42 void TiledDrawingArea::paintIntoUpdateChunk(UpdateChunk* updateChunk, float scale) argument
50 graphicsContext.scale(FloatSize(scale, scale));
51 IntRect contentRect = enclosingIntRect(FloatRect(tileRect.x() / scale,
52 tileRect.y() / scale,
53 tileRect.width() / scale,
54 tileRect.height() / scale));
/external/webkit/Source/WebCore/svg/
H A DSVGZoomEvent.cpp44 void SVGZoomEvent::setPreviousScale(float scale) argument
46 m_previousScale = scale;
59 void SVGZoomEvent::setNewScale(float scale) argument
61 m_newScale = scale;
/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...]
/external/icu4c/test/cintltst/
H A Dutmstest.c100 static void roundTripTest(int64_t value, UDateTimeScale scale) argument
103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status);
106 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt);
110 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale) argument
113 int64_t result = utmscale_toInt64(toLimit, scale, &status);
116 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n",
117 scale, toLimi
121 epochOffsetTest(int64_t epochOffset, int64_t units, UDateTimeScale scale) argument
154 int32_t scale; local
167 int32_t scale; local
181 int32_t scale; local
196 int32_t scale; local
256 int32_t scale; local
330 int32_t scale; local
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DTransform.java40 * Represents a translation, rotation and scale in one object.
53 private Vector3f scale = new Vector3f(1,1,1); field in class:Transform
60 public Transform(Vector3f translation, Quaternion rot, Vector3f scale){ argument
62 this.scale.set(scale);
106 * Sets this scale to the given value.
107 * @param scale The new scale for this matrix.
110 public Transform setScale(Vector3f scale) { argument
111 this.scale
120 setScale(float scale) argument
171 getScale(Vector3f scale) argument
[all...]
/external/aac/libAACdec/src/arm/
H A Dblock_arm.cpp115 int scale = SpecScale_window-pSfbScale[window*16+band]; local
116 if (scale)
125 tmp0 >>= scale; local
126 tmp1 >>= scale; local
127 tmp2 >>= scale; local
128 tmp3 >>= scale; local
/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/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...]
/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/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...]
/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/replicaisland/src/com/replica/replicaisland/
H A DTimeSystem.java66 float scale = 1.0f;
75 scale = Lerp.ease(1.0f, mTargetScale, EASE_DURATION, scaleTime);
79 scale = Lerp.ease(mTargetScale, 1.0f, EASE_DURATION, easeOutTime);
81 scale = mTargetScale;
84 scale = mTargetScale;
89 mGameTime += (timeDelta * scale);
90 mGameFrameDelta = (timeDelta * scale);
/external/srec/srec/clib/
H A Dlog_add.c41 #define DO_USE_LOGTAB__TABLE ( logtab->scale == 61 \
51 ASSERT(logtab->scale != 0);
54 logtab->add_log_limit = (prdata)(ADD_LOG_LIMIT * mul_scale * logtab->scale);
61 PRINT_SOME_CODE( "#define DO_USE_LOGTAB__TABLE (logtab->scale == %d \\\n", logtab->scale);
66 table[ii] = (prdata)(logtab->scale * mul_scale * log(1
67 + exp(-(float)ii / ((float)logtab->scale * mul_scale)))
74 PLogMessage("L: log table scale is %f\n", (float)logtab->scale);
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
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/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/webkit/Source/WebCore/platform/qt/
H A DDragImageQt.cpp47 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) argument
52 int scaledWidth = image->width() * scale.width();
53 int scaledHeight = image->height() * scale.height();
/external/qemu/android/skin/
H A Dscaler.c17 double scale; member in struct:SkinScaler
28 _scaler0.scale = 1.0;
35 /* change the scale of a given scaler. returns 0 on success, or -1 in case of
36 * problem (unsupported scale) */
38 skin_scaler_set( SkinScaler* scaler, double scale, double xdisp, double ydisp ) argument
41 if (scale < 0.1)
42 scale = 0.1;
43 else if (scale > 6.0)
44 scale = 6.0;
46 scaler->scale
71 double scale; member in struct:__anon10289
92 double scale = scaler->scale; local
[all...]

Completed in 445 milliseconds

1234567891011>>