/external/libvpx/libvpx/vpx_dsp/x86/ |
quantize_sse2.c | 37 __m128i round, quant, dequant, shift; local 45 round = _mm_load_si128((const __m128i *)round_ptr); 73 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 74 round = _mm_unpackhi_epi64(round, round); 75 qcoeff1 = _mm_adds_epi16(qcoeff1, round); 150 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 151 qcoeff1 = _mm_adds_epi16(qcoeff1, round);
|
/external/regex-re2/util/ |
benchmark.cc | 83 static int round(int n) { function 113 n = round(n);
|
/external/skia/src/jumper/ |
SkJumper_stages.cpp | 63 SI U32 round (F v, F scale) { return (uint32_t)lrintf(v*scale); } function 91 SI U32 round (F v, F scale) { return vcvtnq_u32_f32(v*scale); } 120 SI U32 round(F v, F scale) { return vcvt_u32_f32(mad(v,scale,0.5f)); } 159 SI U32 round (F v, F scale) { return _mm256_cvtps_epi32(v*scale); } 202 SI U32 round(F v, F scale) { return _mm_cvtps_epi32(v*scale); } 716 U8 packed = pack(pack(round(a, 255.0_f))); 729 U16 px = pack( round(r, 31.0_f) << 11 730 | round(g, 63.0_f) << 5 731 | round(b, 31.0_f) ); 748 U32 px = round(r, 255.0_f [all...] |
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
RendererCommonTest.java | 95 private static double[] round(float[] array) { method in class:RendererCommonTest 99 doubleArray[i] = Math.round(100 * array[i]) / 100.0; 120 0, 0, 0, 1}, round(layoutMatrix)); 133 1, 0, 0, 1}, round(layoutMatrix)); 148 0.25, 0, 0, 1}, round(layoutMatrix)); 161 MoreAsserts.assertEquals(round(matrix), round(rotatedMatrix)); method 174 1, 0, 0, 1}, round(samplingMatrix)); 187 1, 1, 0, 1}, round(samplingMatrix));
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
transform.c | 44 factQ19 = 16921; // 0.5/sqrt(240) in Q19 is round(.5/sqrt(240)*(2^19)) = 16921 73 int32_t round = 1 << (-sh - 1); local 75 inre1Q9[k] = (int16_t)((tmpreQ16[k] + round) >> -sh); // Q(16+sh) 76 inre2Q9[k] = (int16_t)((tmpimQ16[k] + round) >> -sh); // Q(16+sh) 170 int32_t round = 1 << (-sh - 1); local 172 inreQ7[k] = (int16_t)((outre1Q16[k] + round) >> -sh); // Q(16+sh) 173 inimQ7[k] = (int16_t)((outre2Q16[k] + round) >> -sh); // Q(16+sh) 202 factQ11 = 31727; // sqrt(240) in Q11 is round(15.49193338482967*2048) = 31727
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
mlmath.h | 22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro 58 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
mlmath.h | 22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro 58 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
|
/frameworks/base/graphics/java/android/graphics/ |
RectF.java | 442 public void round(Rect dst) { method in class:RectF 443 dst.set(FastMath.round(left), FastMath.round(top), 444 FastMath.round(right), FastMath.round(bottom));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 153 public BigInteger round() method in class:SimpleBigDecimal
|
/external/compiler-rt/lib/builtins/ |
divtf3.c | 186 // code to round them correctly. 190 const bool round = (residual << 1) >= bSignificand; local 195 // Round 196 absResult += round;
|
/external/icu/icu4c/source/i18n/ |
precision.cpp | 49 FixedPrecision::round( function in class:FixedPrecision 69 value.round(fSignificant.getMax()); 167 round(value, 0, status); 183 // If we have round increment, use digit list. 223 // If we have round increment, use digit list. 368 ScientificPrecision::round(DigitList &value, UErrorCode &status) const { function in class:ScientificPrecision 374 return fMantissa.round(value, exponent, status); 407 int64_t exponent = toScientific(round(value, status));
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowRatingBar.java | 57 setProgress(Math.round(rating * getProgressPerStar()));
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
dct.cpp | 42 Int round; local 53 round = 1 << (FDCT_SHIFT - 1); 118 k1 = mla724(k12, k5, round); 119 k0 = mla724(k12, k2, round); 136 k1 = mla392(k0, k14, round); 213 k1 = mla724(k12, k5, round); 214 k0 = mla724(k12, k2, round); 231 k1 = mla392(k0, k14, round); 271 Int round; local 282 round = 1 << (FDCT_SHIFT - 1) 477 Int round; local 656 Int round; local 867 Int round; local 1054 Int round; local [all...] |
fastquant.cpp | 159 Int round = 1 << 15; local 224 coeff = aan_scale(q_value, coeff, round, QPdiv2); 278 Int round = 1 << 15; local 326 q_value = round + (coeff << 12); 383 q_value = smlabb(q_value, coeff, round); 553 Int round = 1 << 15; local 583 q_value = smlabb(q_value, coeff, round); 682 Int round = 1 << 15; local 708 q_value = round + (coeff << 12); 754 /* q_value = coeff*q_value + round */ [all...] |
/system/bt/stack/smp/ |
smp_cmac.cc | 37 uint16_t round; member in struct:__anon106589 133 while (i <= cmac_cb.round) { 134 smp_xor_128(&cmac_cb.text[(cmac_cb.round - i) * BT_OCTET16_LEN], 138 &cmac_cb.text[(cmac_cb.round - i) * BT_OCTET16_LEN], 186 SMP_TRACE_WARNING("flag = %d round = %d", flag, cmac_cb.round); 294 cmac_cb.round = n;
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
PathAnimations.java | 54 return new Point(Math.round(v.getX()), Math.round(v.getY())); 252 mPoint.set(Math.round(value.x), Math.round(value.y));
|
/external/iproute2/ip/ |
ipneigh.c | 429 int round = 0; local 437 while (round < MAX_ROUNDS) { 449 if (round == 0) 452 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":""); 457 round++; 461 printf("\n*** Round %d, deleting %d entries ***\n", round, filter.flushed);
|
tcp_metrics.c | 430 int round = 0; local 449 if (round == 0) { 452 printf("*** Flush is complete after %d round%s ***\n", 453 round, round > 1 ? "s" : ""); 457 round++; 461 printf("\n*** Round %d, deleting %d entries ***\n", 462 round, f.flushed);
|
/external/libvncserver/common/ |
d3des.c | 337 register int round; local 359 for( round = 0; round < 8; round++ ) {
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_frame_scale_ssse3.c | 67 const __m128i round = _mm_adds_epi16(terms, const64_x16); local 68 const __m128i shift = _mm_srai_epi16(round, 7);
|
/frameworks/base/core/java/android/widget/ |
RatingBar.java | 114 // than 0.5 so boundaries round up). 201 setProgress(Math.round(rating * getProgressPerStar()));
|
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutDirectionsTest.java | 135 b.setWidth(Math.round(width));
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
AppCompatTextViewAutoSizeTest.java | 76 final int expectedMinTextSizeInPx = Math.round( 81 final int expectedMaxTextSizeInPx = Math.round( 87 assertEquals(Math.round(TypedValue.applyDimension(unit, granularity, dm)), [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
StrictMath.java | 431 * Otherwise, the sum (twoToThe52 + a ) will properly round 653 public static int round(float a) { method in class:StrictMath 654 return Math.round(a); 677 public static long round(double a) { method in class:StrictMath 678 return Math.round(a); [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
CaptureLayoutHelper.java | 358 // Round the rect first to avoid rounding errors later on. 359 round(config.mBottomBarRect); 360 round(config.mPreviewRect); 366 * Round the float coordinates in the given rect, and store the rounded value 369 public static void round(RectF rect) { method in class:CaptureLayoutHelper 373 float left = Math.round(rect.left); 374 float top = Math.round(rect.top); 375 float right = Math.round(rect.right); 376 float bottom = Math.round(rect.bottom);
|