/external/libvpx/libvpx/vpx_dsp/x86/ |
quantize_sse2.c | 30 __m128i zbin, round, quant, dequant, shift; local 41 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, 58 calculate_qcoeff(&qcoeff0, round, quant, shift); 60 round = _mm_unpackhi_epi64(round, round); 64 calculate_qcoeff(&qcoeff1, round, quant, shift); 100 calculate_qcoeff(&qcoeff0, round, quant, shift); 101 calculate_qcoeff(&qcoeff1, round, quant, shift);
|
quantize_ssse3.c | 29 __m128i zbin, round, quant, dequant, shift; local 39 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, 53 calculate_qcoeff(&qcoeff0, round, quant, shift); 54 round = _mm_unpackhi_epi64(round, round); 57 calculate_qcoeff(&qcoeff1, round, quant, shift); 91 calculate_qcoeff(&qcoeff0, round, quant, shift); 92 calculate_qcoeff(&qcoeff1, round, quant, shift); 129 __m128i zbin, round, quant, dequant, shift local [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ContextMenuBuilder.java | 115 helper.show(Math.round(x), Math.round(y));
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
DfpDec.java | 66 round(0); 74 round(0); 83 round(0); 165 protected int round(int in) { method in class:DfpDec 193 return super.round(in); 222 inc = (n != 0) || (discarded != 0); // round up if n!=0 226 inc = n >= 5; // round half up 230 inc = n > 5; // round half down 236 (n == 5 && discarded == 0 && ((lsb / lsbthreshold) & 1) == 1); // round half-even 242 (n == 5 && discarded == 0 && ((lsb / lsbthreshold) & 1) == 0); // round half-od [all...] |
/external/compiler-rt/lib/builtins/ |
divdf3.c | 169 // code to round them correctly. 174 const bool round = (residual << 1) > bSignificand; local 179 // Round 180 absResult += round;
|
divtf3.c | 186 // code to round them correctly. 190 const bool round = (residual << 1) >= bSignificand; local 195 // Round 196 absResult += round;
|
/external/deqp/framework/common/ |
tcuFloatFormat.cpp | 139 //! significand bits and minimum exponent of the floatformat. Round up if 141 double FloatFormat::round (double d, bool upward) const function in class:tcu::FloatFormat 190 // Round both bounds _inwards_ to closest representable values. 192 ret |= clampValue(round(tmp.lo(), true)) | clampValue(round(tmp.hi(), false)); 210 return round(d, upward); 213 //! Round output of an operation. 343 oss << "round(" << arg << ", false)"; 344 check(oss.str(), m_fmt->round(arg, false), refDown); 348 oss << "round(" << arg << ", true)" [all...] |
/external/fio/crc/ |
sha3.c | 51 int i, j, round; local 54 for (round = 0; round < KECCAK_ROUNDS; round++) { 86 st[0] ^= keccakf_rndc[round];
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_quantize_sse2.c | 30 __m128i round, quant, dequant; local 48 round = _mm_load_si128((const __m128i *)round_ptr); 69 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 70 round = _mm_unpackhi_epi64(round, round); 71 qcoeff1 = _mm_adds_epi16(qcoeff1, round); 140 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 141 qcoeff1 = _mm_adds_epi16(qcoeff1, round);
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
quantize_neon.c | 36 const int16x8_t round = vld1q_s16(round_ptr); local 51 const int16x8_t rounded = vqaddq_s16(coeff_abs, round); 53 // (round * quant * 2) >> 16 >> 1 == (round * quant) >> 16 86 const int16x8_t round = vdupq_n_s16(round_ptr[1]); local 103 const int16x8_t rounded = vqaddq_s16(coeff_abs, round); 105 // (round * quant * 2) >> 16 >> 1 == (round * quant) >> 16 172 const int16x8_t round = vrshrq_n_s16(vld1q_s16(round_ptr), 1); local 187 const int16x8_t rounded = vqaddq_s16(coeff_abs, round); 230 const int16x8_t round = vrshrq_n_s16(vdupq_n_s16(round_ptr[1]), 1); local [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/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()));
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
stateless_random_ops.cc | 73 // Performs a single round of the Threefry2x32 algorithm, with a rotation 75 auto round = [builder](ThreeFry2x32State v, int rotation) { local 84 x = round(x, rotations[0]); 85 x = round(x, rotations[1]); 86 x = round(x, rotations[2]); 87 x = round(x, rotations[3]); 91 x = round(x, rotations[4]); 92 x = round(x, rotations[5]); 93 x = round(x, rotations[6]); 94 x = round(x, rotations[7]) [all...] |
/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...] |
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
LayoutUtils.java | 110 outRect.set(Math.round(x), Math.round(y), 111 Math.round(x + outWidth), Math.round(y + outHeight));
|
/system/bt/stack/smp/ |
smp_cmac.cc | 37 uint16_t round; member in struct:__anon2538 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;
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
BitmapDrawableTest.java | 120 assertEquals(Math.round(origWidth * scale), scaledDrawable.getIntrinsicWidth()); 121 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight());
|
/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));
|