/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
transform.c | 120 factQ19 = 16921; // 0.5/sqrt(240) in Q19 is round(.5/sqrt(240)*(2^19)) = 16921 148 int32_t round = WEBRTC_SPL_LSHIFT_W32((int32_t)1, -sh-1); local 150 inre1Q9[k] = (int16_t) WEBRTC_SPL_RSHIFT_W32(tmpreQ16[k]+round, -sh); //Q(16+sh) 151 inre2Q9[k] = (int16_t) WEBRTC_SPL_RSHIFT_W32(tmpimQ16[k]+round, -sh); //Q(16+sh) 243 int32_t round = WEBRTC_SPL_LSHIFT_W32((int32_t)1, -sh-1); local 245 inreQ7[k] = (int16_t) WEBRTC_SPL_RSHIFT_W32(outre1Q16[k]+round, -sh); //Q(16+sh) 246 inimQ7[k] = (int16_t) WEBRTC_SPL_RSHIFT_W32(outre2Q16[k]+round, -sh); //Q(16+sh) 275 factQ11 = 31727; // sqrt(240) in Q11 is round(15.49193338482967*2048) = 31727
|
/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/libvpx/libvpx/test/ |
dct32x32_test.cc | 30 static int round(double x) { function in namespace:__anon28581 133 << "Error: 32x32 FDCT/IDCT has an individual round-trip error > 1"; 136 << "Error: 32x32 FDCT/IDCT has average round-trip error > 1 per block"; 231 coeff[j] = round(out_r[j]);
|
idct8x8_test.cc | 27 static int round(double x) { function in namespace:__anon28587 105 output[i] = round(out2[i]/32); 126 coeff[j] = round(output_r[j]);
|
/external/regex-re2/util/ |
benchmark.cc | 83 static int round(int n) { function 113 n = round(n);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
transform.c | 130 factQ19 = 16921; // 0.5/sqrt(240) in Q19 is round(.5/sqrt(240)*(2^19)) = 16921 158 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); local 160 inre1Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpreQ16[k]+round, -sh); //Q(16+sh) 161 inre2Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpimQ16[k]+round, -sh); //Q(16+sh) 253 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); local 255 inreQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre1Q16[k]+round, -sh); //Q(16+sh) 256 inimQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre2Q16[k]+round, -sh); //Q(16+sh) 285 factQ11 = 31727; // sqrt(240) in Q11 is round(15.49193338482967*2048) = 31727
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
dct32x32_test.cc | 30 static int round(double x) { function in namespace:__anon39672 133 << "Error: 32x32 FDCT/IDCT has an individual round-trip error > 1"; 136 << "Error: 32x32 FDCT/IDCT has average round-trip error > 1 per block"; 231 coeff[j] = round(out_r[j]);
|
idct8x8_test.cc | 27 static int round(double x) { function in namespace:__anon39678 105 output[i] = round(out2[i]/32); 126 coeff[j] = round(output_r[j]);
|
/hardware/invensense/60xx/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/60xx/mlsdk/platform/include/ |
mlmath.h | 34 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro 70 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
|
/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
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AnimatorUtils.java | 108 animator.setCurrentPlayTime(Math.round(fraction * animator.getDuration()));
|
/external/bluetooth/bluedroid/stack/smp/ |
smp_cmac.c | 39 UINT16 round; member in struct:__anon6334 144 while (i <= cmac_cb.round) 146 smp_xor_128(&cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], x); /* Mi' := Mi (+) X */ 148 if (!SMP_Encrypt(key, BT_OCTET16_LEN, &cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], BT_OCTET16_LEN, &output)) 194 SMP_TRACE_WARNING("flag = %d round = %d", flag, cmac_cb.round); 310 cmac_cb.round = n;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 159 public BigInteger round() method in class:SimpleBigDecimal
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/neon/ |
omxSP_FFTInv_CToC_SC32_Sfs_s.S | 96 #define round r3 define
|
/external/robolectric/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...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
PathAnimations.java | 55 return new Point(Math.round(v.getX()), Math.round(v.getY())); 253 mPoint.set(Math.round(value.x), Math.round(value.y));
|
/external/arduino/hardware/arduino/cores/arduino/ |
wiring.h | 80 #define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5)) macro
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/armv7/ |
armSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S | 69 #define round r3 define
|
omxSP_FFTFwd_RToCCS_F32_Sfs_s.S | 76 #define round r3 define
|