/external/libopus/celt/ |
quant_bands.c | 368 opus_int16 frac = 1<<fine_quant[i]; local 379 q2 = (int)floor((error[i+c*m->nbEBands]+.5f)*frac); 381 if (q2 > frac-1) 382 q2 = frac-1;
|
/external/speex/libspeex/ |
math_approx.h | 253 spx_word16_t frac; local 259 frac = SHL16(x-SHL16(integer,11),3); 260 frac = ADD16(D0, MULT16_16_Q14(frac, ADD16(D1, MULT16_16_Q14(frac, ADD16(D2 , MULT16_16_Q14(D3,frac)))))); 261 return VSHR32(EXTEND32(frac), -integer-2);
|
/external/syslinux/com32/gpllib/zzjson/ |
zzjson_parse.c | 144 double dval = 0.0, frac = 0.0, fracshft = 10.0; local 181 frac += (double)(c - '0') / fracshft; 215 dval += sign * frac;
|
/external/webp/src/dsp/ |
rescaler_msa.c | 343 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale); local 344 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); 347 irow[x_out] = frac;
|
rescaler_neon.c | 147 const uint32_t frac = (uint32_t)MULT_FIX_C(frow[x_out], yscale); local 148 const int v = (int)MULT_FIX_C(irow[x_out] - frac, wrk->fxy_scale); 151 irow[x_out] = frac; // new fractional start
|
rescaler_sse2.c | 148 const __m128i frac = _mm_unpacklo_epi16(frac0, frac1); // frac is 32b local 152 const __m128i frow_out = _mm_sub_epi32(B0, frac); // sum * x_sub - frac 153 const __m128i D0 = _mm_srli_epi64(frac, 32); 154 const __m128i D1 = _mm_mul_epu32(frac, mult1); // 32b x 16b -> 64b 313 const __m128i D0 = _mm_srli_epi64(C0, WEBP_RESCALER_RFIX); // = frac 317 const __m128i E0 = _mm_sub_epi64(A0, D0); // irow[x] - frac 331 const uint32_t frac = (int)MULT_FIX(frow[x_out], yscale); local 332 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
pitch_estimator.c | 27 int16_t frac; local 30 frac = (int16_t)(((x << zeros) & 0x7FFFFFFF) >> 23); 33 return ((31 - zeros) << 8) + frac;
|
decode_plc.c | 95 int16_t frac; local 98 frac = (int16_t)(((x << zeros) & 0x7FFFFFFF) >> 23); 101 return ((31 - zeros) << 8) + frac;
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
receive_statistics_impl.cc | 313 uint32_t* frac) const { 316 *frac = last_receive_time_ntp_.fractions(); 429 uint32_t frac; local 430 it->second->LastReceiveTimeNtp(&secs, &frac); 432 Clock::NtpToMs(secs, frac) < kStatisticsTimeoutMs) {
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
pitch_fr.cpp | 449 frac = pointer to starting point of search fractional pitch of type Word16 477 Starting point of the search is frac, end point is last_frac. 478 frac is overwritten with the fractional pitch. 495 Word16 *frac, // i/o : start point of search - 510 max = Interpol_3or6 (&corr[*lag], *frac, flag3); // function result 512 for (i = add (*frac, 1); i <= last_frac; i++) { 516 *frac = i; 523 if (sub (*frac, -3) == 0) { 524 *frac = 3; 531 if (sub (*frac, -2) == 0) 1386 Word16 frac; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
dbreg.cpp | 532 double frac=inliercount/totnummatches; local
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
timemodule.c | 942 double frac;
local 943 frac = fmod(secs, 1.0);
946 t.tv_usec = (long)(frac*1000000.0);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
timemodule.c | 937 double frac;
local 938 frac = fmod(secs, 1.0);
941 t.tv_usec = (long)(frac*1000000.0);
[all...] |
/external/aac/libFDK/include/ |
fixpoint_math.h | 206 FIXP_SGL frac = (FIXP_SGL)((LONG)x & 0x3FF); local 217 lookup3 + (UINT)(LONG)fMultDiv2((FIXP_DBL)(0x0016302F), (FIXP_SGL)frac); 242 USHORT frac = (y >> 10) & 0xffff; local 243 USHORT nfrac = 0xffff ^ frac; 244 UINT t = (UINT)nfrac * sqrt_tab[idx] + (UINT)frac * sqrt_tab[idx + 1]; 269 USHORT frac = (y >> 10) & 0xffff; local 270 USHORT nfrac = 0xffff ^ frac; 271 UINT t = (UINT)nfrac * sqrt_tab[idx] + (UINT)frac * sqrt_tab[idx + 1];
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
HebrewCalendar.java | 589 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # local 590 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation 591 frac = frac % DAY_PARTS; // Time of day 600 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { 606 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
HebrewCalendar.java | 613 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # local 614 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation 615 frac = frac % DAY_PARTS; // Time of day 624 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { 630 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { [all...] |
/external/python/cpython2/Modules/ |
timemodule.c | 942 double frac; local 943 frac = fmod(secs, 1.0); 946 t.tv_usec = (long)(frac*1000000.0);
|
/external/valgrind/coregrind/ |
m_debuglog.c | 1049 Double frac = val - ipval; local 1060 ULong frval = frac * factor; 1061 if ((frac * factor - frval) > 0.5) // round up [all...] |
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
digital_agc.c | 310 int16_t zeros = 0, zeros_fast, frac = 0; local 455 frac = (int16_t)(tmp32 >> 19); // Q12. 456 tmp32 = (stt->gainTable[zeros-1] - stt->gainTable[zeros]) * frac; 472 zeros = (zeros << 9) - (frac >> 3);
|
/external/webrtc/webrtc/modules/audio_processing/ns/ |
nsx_core_mips.c | 34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac; local 138 frac = (int16_t)(tmp32no1 & 0x00003fff); // Q14 139 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); 170 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 171 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); 217 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 219 tmp16no1, frac, 14); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
FormatActivity.java | 162 final float frac = privateBench / internalBench; local 163 Log.d(TAG, "New volume is " + frac + "x the speed of internal");
|
/bootable/recovery/updater/ |
install.cpp | 591 double frac; local 592 if (!android::base::ParseDouble(frac_str.c_str(), &frac)) { 603 fprintf(ui->cmd_pipe, "progress %f %d\n", frac, sec); 620 double frac; local 621 if (!android::base::ParseDouble(frac_str.c_str(), &frac)) { 627 fprintf(ui->cmd_pipe, "set_progress %f\n", frac); [all...] |
/external/deqp/modules/gles2/scripts/ |
genutil.py | 166 def frac(val): return val.applyUnary(lambda x: x - math.floor(x)) member in class:GenMath
|
/external/deqp/modules/gles3/scripts/ |
genutil.py | 176 def frac(val): return val.applyUnary(lambda x: x - math.floor(x)) member in class:GenMath
|
/external/deqp/modules/gles31/scripts/ |
genutil.py | 176 def frac(val): return val.applyUnary(lambda x: x - math.floor(x)) member in class:GenMath
|