/external/aac/libFDK/include/mips/ |
H A D | scale.h | 98 * \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 D | ui-commands-proxy.h | 33 /* 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 D | ui-commands-qemu.c | 23 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 D | ui-commands-api.h | 20 /* 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 D | ui-commands.h | 23 /* Sets window scale. */ 33 double scale; member in struct:UICmdSetWindowsScale
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | SimpleBigDecimal.java | 10 * 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 D | scale.h | 95 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 D | scale.h | 102 #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/chromium_org/media/base/ |
H A D | vector_math_testing.h | 15 MEDIA_EXPORT void FMAC_C(const float src[], float scale, int len, float dest[]); 16 MEDIA_EXPORT void FMUL_C(const float src[], float scale, int len, float dest[]); 19 MEDIA_EXPORT void FMAC_SSE(const float src[], float scale, int len, 21 MEDIA_EXPORT void FMUL_SSE(const float src[], float scale, int len, 26 MEDIA_EXPORT void FMAC_NEON(const float src[], float scale, int len, 28 MEDIA_EXPORT void FMUL_NEON(const float src[], float scale, int len,
|
H A D | vector_math.cc | 34 typedef void (*MathProc)(const float src[], float scale, int len, float dest[]); 57 void FMAC(const float src[], float scale, int len, float dest[]) { argument 61 return FMAC_FUNC(src, scale, len, dest); 64 void FMAC_C(const float src[], float scale, int len, float dest[]) { argument 66 dest[i] += src[i] * scale; 69 void FMUL(const float src[], float scale, int len, float dest[]) { argument 73 return FMUL_FUNC(src, scale, len, dest); 76 void FMUL_C(const float src[], float scale, int len, float dest[]) { argument 78 dest[i] = src[i] * scale; 82 void FMAC_NEON(const float src[], float scale, in argument 96 FMUL_NEON(const float src[], float scale, int len, float dest[]) argument [all...] |
H A D | vector_math.h | 21 // Multiply each element of |src| (up to |len|) by |scale| and add to |dest|. 23 MEDIA_EXPORT void FMAC(const float src[], float scale, int len, float dest[]); 25 // Multiply each element of |src| by |scale| and store in |dest|. |src| and 27 MEDIA_EXPORT void FMUL(const float src[], float scale, int len, float dest[]);
|
/external/chromium_org/third_party/opus/src/silk/ |
H A D | stereo_find_predictor.c | 44 opus_int scale, scale1, scale2; local 50 scale = silk_max_int( scale1, scale2 ); 51 scale = scale + ( scale & 1 ); /* make even */ 52 nrgy = silk_RSHIFT32( nrgy, scale - scale2 ); 53 nrgx = silk_RSHIFT32( nrgx, scale - scale1 ); 55 corr = silk_inner_prod_aligned_scale( x, y, scale, length ); 65 scale = silk_RSHIFT( scale, [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapProcState_filter.h | 31 int scale = 256 - 16*y - 16*x + xy; local 32 uint32_t lo = (a00 & mask) * scale; 33 uint32_t hi = ((a00 >> 8) & mask) * scale; 35 scale = 16*x - xy; 36 lo += (a01 & mask) * scale; 37 hi += ((a01 >> 8) & mask) * scale; 39 scale = 16*y - xy; 40 lo += (a10 & mask) * scale; 41 hi += ((a10 >> 8) & mask) * scale; 61 int scale local 91 int scale = 256 - 16*t; local 113 int scale = 256 - 16*t; local [all...] |
/external/skia/src/core/ |
H A D | SkBitmapProcState_filter.h | 31 int scale = 256 - 16*y - 16*x + xy; local 32 uint32_t lo = (a00 & mask) * scale; 33 uint32_t hi = ((a00 >> 8) & mask) * scale; 35 scale = 16*x - xy; 36 lo += (a01 & mask) * scale; 37 hi += ((a01 >> 8) & mask) * scale; 39 scale = 16*y - xy; 40 lo += (a10 & mask) * scale; 41 hi += ((a10 >> 8) & mask) * scale; 61 int scale local 91 int scale = 256 - 16*t; local 113 int scale = 256 - 16*t; local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | utmstest.c | 100 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/icu4c/test/cintltst/ |
H A D | utmstest.c | 100 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/skia/gm/ |
H A D | hittestpath.cpp | 47 int scale = 300; local 49 path.lineTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale); 50 path.quadTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale, 51 rand.nextUScalar1() * scale, rand.nextUScalar1() * scale); 52 path.cubicTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale, 53 rand.nextUScalar1() * scale, ran [all...] |
H A D | filltypes.cpp | 37 SkScalar scale, const SkPaint& paint) { 47 canvas->scale(scale, scale); 53 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument 55 scale, paint); 57 scale, paint); 59 scale, paint); 61 scale, paint); 70 const SkScalar scale local 36 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | Transform.java | 40 * 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 D | block_arm.cpp | 115 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/chromium_org/media/base/simd/ |
H A D | vector_math_sse.cc | 12 void FMUL_SSE(const float src[], float scale, int len, float dest[]) { argument 15 __m128 m_scale = _mm_set_ps1(scale); 21 dest[i] = src[i] * scale; 24 void FMAC_SSE(const float src[], float scale, int len, float dest[]) { argument 27 __m128 m_scale = _mm_set_ps1(scale); 35 dest[i] += src[i] * scale;
|
/external/chromium_org/ui/gfx/ |
H A D | size_f.h | 23 void Scale(float scale) { argument 24 Scale(scale, scale); 44 inline SizeF ScaleSize(const SizeF& p, float scale) { argument 45 return ScaleSize(p, scale, scale);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGZoomEvent.cpp | 47 void SVGZoomEvent::setPreviousScale(float scale) argument 49 m_previousScale = scale; 62 void SVGZoomEvent::setNewScale(float scale) argument 64 m_newScale = scale;
|
/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...] |
/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...] |