HomeSort by relevance Sort by last modified time
    Searched refs:scale (Results 1 - 25 of 2269) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
scaling_tab.cpp 50 const int32 scale[63] = {0, 262145, 131073, 87382, 65537, 52430, 43692, 37450, 32769, 29128, variable
scaling.h 24 extern const int32 scale[63];
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
ScaleXPointMap.java 5 protected final ECFieldElement scale; field in class:ScaleXPointMap
7 public ScaleXPointMap(ECFieldElement scale)
9 this.scale = scale;
14 return p.scaleX(scale);
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)
36 return new SimpleBigDecimal(value.shiftLeft(scale), scale);
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
my_corr.c 34 int scale; local
36 /* Calculate correlation between the two sequences. Scale the
40 scale=WebRtcSpl_GetSizeInBits(max);
42 scale = 2 * scale - 26;
43 if (scale<0) {
44 scale=0;
50 WebRtcSpl_CrossCorrelation(corr, seq2, seq1, dim2, loops, scale, 1);
gain_dequant.c 33 int16_t scale; local
36 /* obtain correct scale factor */
38 scale=WEBRTC_SPL_ABS_W16(maxIn);
39 scale = WEBRTC_SPL_MAX(1638, scale); /* if lower than 0.1, set it to 0.1 */
44 return (int16_t)((scale * gain[index] + 8192) >> 14);
  /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
ScaleXPointMap.java 9 protected final ECFieldElement scale; field in class:ScaleXPointMap
11 public ScaleXPointMap(ECFieldElement scale)
13 this.scale = scale;
18 return p.scaleX(scale);
SimpleBigDecimal.java 11 * point is called the <code>scale</code> of the <code>SimpleBigDecimal</code>.
12 * Unlike in {@link java.math.BigDecimal BigDecimal}, the scale is not adjusted
14 * taking part in the same arithmetic operation must have equal scale. The
16 * <code>SimpleBigDecimal</code> with double scale.
24 private final int scale; field in class:SimpleBigDecimal
31 * @param scale The scale of the <code>SimpleBigDecimal</code> to be
35 public static SimpleBigDecimal getInstance(BigInteger value, int scale)
37 return new SimpleBigDecimal(value.shiftLeft(scale), scale);
    [all...]
  /external/compiler-rt/test/asan/TestCases/
debug_mapping.cc 1 // Checks that the debugging API returns correct shadow scale and offset.
10 // CHECK: SHADOW_SCALE: [[SCALE:[0-9]+]]
14 size_t scale, offset; local
15 __asan_get_shadow_mapping(&scale, &offset);
17 fprintf(stderr, "scale: %d\n", (int)scale);
20 // CHECK: scale: [[SCALE]]
  /external/aac/libFDK/include/mips/
scale_mips.h 110 * \brief Scale input value by 2^{scale} and saturate output to 2^{dBits-1}
116 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \
117 (__builtin_mips_shll_s_w((src) >> (scale), (DFRACT_BITS - (dBits))) >> \
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
TimeScaleAPITest.java 50 for (int scale = 0; scale < UniversalTimeScale.MAX_SCALE; scale += 1) {
52 UniversalTimeScale.bigDecimalFrom(bigZero, scale);
54 errln("bigDecimalFrom(bigZero, " + scale + ") threw IllegalArgumentException.");
76 for (int scale = 0; scale < UniversalTimeScale.MAX_SCALE; scale += 1) {
78 UniversalTimeScale.bigDecimalFrom(0.0, scale);
80 errln("bigDecimalFrom(0.0, " + scale + ") threw IllegalArgumentException.")
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
TimeScaleAPITest.java 47 for (int scale = 0; scale < UniversalTimeScale.MAX_SCALE; scale += 1) {
49 UniversalTimeScale.bigDecimalFrom(bigZero, scale);
51 errln("bigDecimalFrom(bigZero, " + scale + ") threw IllegalArgumentException.");
73 for (int scale = 0; scale < UniversalTimeScale.MAX_SCALE; scale += 1) {
75 UniversalTimeScale.bigDecimalFrom(0.0, scale);
77 errln("bigDecimalFrom(0.0, " + scale + ") threw IllegalArgumentException.")
    [all...]
  /external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
ImageViewState.java 8 * Wraps the scale, center and orientation of a displayed image for easy restoration on screen rotate.
13 private final float scale; field in class:ImageViewState
21 public ImageViewState(float scale, PointF center, int orientation) {
22 this.scale = scale;
29 return scale;
  /external/aac/libFDK/include/arm/
scale_arm.h 110 inline static INT shiftRightSat(INT src, int scale) {
115 : "r"(src >> scale), "M"(SAMPLE_BITS));
120 #define SATURATE_INT_PCM_RIGHT_SHIFT(src, scale) shiftRightSat(src, scale)
122 inline static INT shiftLeftSat(INT src, int scale) {
127 : "r"(src << scale), "M"(SAMPLE_BITS));
132 #define SATURATE_INT_PCM_LEFT_SHIFT(src, scale) shiftLeftSat(src, scale)
151 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \
152 ((((LONG)(src) ^ ((LONG)(src) >> (DFRACT_BITS - 1))) >> (scale)) > \
    [all...]
  /external/clang/lib/Headers/
avx512pfintrin.h 34 #define _mm512_mask_prefetch_i32gather_pd(index, mask, addr, scale, hint) __extension__ ({\
36 (long long const *)(addr), (int)(scale), \
39 #define _mm512_prefetch_i32gather_pd(index, addr, scale, hint) __extension__ ({\
41 (long long const *)(addr), (int)(scale), \
44 #define _mm512_mask_prefetch_i32gather_ps(index, mask, addr, scale, hint) ({\
47 (int)(scale), (int)(hint)); })
49 #define _mm512_prefetch_i32gather_ps(index, addr, scale, hint) ({\
52 (int)(scale), (int)(hint)); })
54 #define _mm512_mask_prefetch_i64gather_pd(index, mask, addr, scale, hint) __extension__ ({\
56 (long long const *)(addr), (int)(scale), \
    [all...]
  /external/skia/src/core/
SkScaleToSides.h 21 // Scale must be less than or equal to the ratio limit / (*a + *b).
23 static void AdjustRadii(double limit, double scale, SkScalar* a, SkScalar* b) {
24 SkASSERTF(scale < 1.0 && scale > 0.0, "scale: %g", scale);
26 *a = (float)((double)*a * scale);
27 *b = (float)((double)*b * scale);
63 SkASSERTF(*a >= 0.0f && *b >= 0.0f, "a: %g, b: %g, limit: %g, scale: %g", *a, *b, limit,
64 scale);
    [all...]
  /external/skqp/src/core/
SkScaleToSides.h 21 // Scale must be less than or equal to the ratio limit / (*a + *b).
23 static void AdjustRadii(double limit, double scale, SkScalar* a, SkScalar* b) {
24 SkASSERTF(scale < 1.0 && scale > 0.0, "scale: %g", scale);
26 *a = (float)((double)*a * scale);
27 *b = (float)((double)*b * scale);
63 SkASSERTF(*a >= 0.0f && *b >= 0.0f, "a: %g, b: %g, limit: %g, scale: %g", *a, *b, limit,
64 scale);
    [all...]
  /external/libopus/silk/
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, 1 )
    [all...]
  /external/python/cpython2/Demo/turtle/
tdemo_bytedesign.py 33 def design(self, homePos, scale):
36 self.forward(64.65 * scale)
38 self.wheel(self.position(), scale)
40 self.backward(64.65 * scale)
45 self.forward(24.5 * scale)
48 self.centerpiece(46 * scale, 143.4, scale)
51 def wheel(self, initpos, scale):
54 self.pentpiece(initpos, scale)
58 self.tripiece(initpos, scale)
    [all...]
  /external/python/cpython3/Lib/turtledemo/
bytedesign.py 32 def design(self, homePos, scale):
35 self.forward(64.65 * scale)
37 self.wheel(self.position(), scale)
39 self.backward(64.65 * scale)
44 self.forward(24.5 * scale)
47 self.centerpiece(46 * scale, 143.4, scale)
50 def wheel(self, initpos, scale):
53 self.pentpiece(initpos, scale)
57 self.tripiece(initpos, scale)
    [all...]
  /external/icu/icu4c/source/test/cintltst/
utmstest.c 101 static void roundTripTest(int64_t value, UDateTimeScale scale)
104 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status);
107 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt);
111 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale)
114 int64_t result = utmscale_toInt64(toLimit, scale, &status);
117 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n",
118 scale, toLimit, result, fromLimit)
155 int32_t scale; local
168 int32_t scale; local
182 int32_t scale; local
197 int32_t scale; local
258 int32_t scale; local
333 int32_t scale; local
    [all...]
  /external/skia/gm/
scaledstrokes.cpp 47 SkScalar scale = 4.0f - j; variable
48 paint.setStrokeWidth(4.0f / scale);
51 canvas->scale(scale, scale);
52 draw_path(size / 2.0f / scale, canvas, paint);
57 canvas->scale(scale, scale);
58 canvas->drawCircle(0.0f, 0.0f, size / 2.0f / scale, paint)
    [all...]
hittestpath.cpp 36 int scale = 300; local
43 path.lineTo(randoms[0] * scale, randoms[1] * scale);
44 path.quadTo(randoms[2] * scale, randoms[3] * scale,
45 randoms[4] * scale, randoms[5] * scale);
46 path.cubicTo(randoms[6] * scale, randoms[7] * scale,
47 randoms[8] * scale, randoms[9] * scale
    [all...]
  /external/skqp/gm/
scaledstrokes.cpp 47 SkScalar scale = 4.0f - j; variable
48 paint.setStrokeWidth(4.0f / scale);
51 canvas->scale(scale, scale);
52 draw_path(size / 2.0f / scale, canvas, paint);
57 canvas->scale(scale, scale);
58 canvas->drawCircle(0.0f, 0.0f, size / 2.0f / scale, paint)
    [all...]
hittestpath.cpp 36 int scale = 300; local
43 path.lineTo(randoms[0] * scale, randoms[1] * scale);
44 path.quadTo(randoms[2] * scale, randoms[3] * scale,
45 randoms[4] * scale, randoms[5] * scale);
46 path.cubicTo(randoms[6] * scale, randoms[7] * scale,
47 randoms[8] * scale, randoms[9] * scale
    [all...]

Completed in 1454 milliseconds

1 2 3 4 5 6 7 8 91011>>