/external/chromium_org/third_party/opus/src/celt/ |
D | mathops.h | 101 float frac; in celt_log2() local 109 frac = in.f - 1.5f; in celt_log2() 110 frac = -0.41445418f + frac*(0.95909232f in celt_log2() 111 + frac*(-0.33951290f + frac*0.16541097f)); in celt_log2() 112 return 1+integer+frac; in celt_log2() 119 float frac; in celt_exp2() local 127 frac = x-integer; in celt_exp2() 129 res.f = 0.99992522f + frac * (0.69583354f in celt_exp2() 130 + frac * (0.22606716f + 0.078024523f*frac)); in celt_exp2() 172 opus_val16 n, frac; in celt_log2() local [all …]
|
D | cwrs.h | 39 int log2_frac(opus_uint32 val, int frac); 42 void get_required_bits(opus_int16 *bits, int N, int K, int frac);
|
D | cwrs.c | 45 int log2_frac(opus_uint32 val, int frac) in log2_frac() argument 55 l=(l-1)<<frac; in log2_frac() 61 l+=b<<frac; in log2_frac() 65 while(frac-->0); in log2_frac() 70 else return (l-1)<<frac; in log2_frac()
|
/external/libopus/celt/ |
D | mathops.h | 101 float frac; in celt_log2() local 109 frac = in.f - 1.5f; in celt_log2() 110 frac = -0.41445418f + frac*(0.95909232f in celt_log2() 111 + frac*(-0.33951290f + frac*0.16541097f)); in celt_log2() 112 return 1+integer+frac; in celt_log2() 119 float frac; in celt_exp2() local 127 frac = x-integer; in celt_exp2() 129 res.f = 0.99992522f + frac * (0.69583354f in celt_exp2() 130 + frac * (0.22606716f + 0.078024523f*frac)); in celt_exp2() 172 opus_val16 n, frac; in celt_log2() local [all …]
|
D | cwrs.h | 39 int log2_frac(opus_uint32 val, int frac); 42 void get_required_bits(opus_int16 *bits, int N, int K, int frac);
|
D | cwrs.c | 45 int log2_frac(opus_uint32 val, int frac) in log2_frac() argument 55 l=(l-1)<<frac; in log2_frac() 61 l+=b<<frac; in log2_frac() 65 while(frac-->0); in log2_frac() 70 else return (l-1)<<frac; in log2_frac()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | DERGeneralizedTime.java | 270 String frac = d.substring(14); in getDate() local 272 for (index = 1; index < frac.length(); index++) in getDate() 274 char ch = frac.charAt(index); in getDate() 283 frac = frac.substring(0, 4) + frac.substring(index); in getDate() 284 d = d.substring(0, 14) + frac; in getDate() 288 frac = frac.substring(0, index) + "00" + frac.substring(index); in getDate() 289 d = d.substring(0, 14) + frac; in getDate() 293 frac = frac.substring(0, index) + "0" + frac.substring(index); in getDate() 294 d = d.substring(0, 14) + frac; in getDate()
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/ns/ |
D | nsx_core_c.c | 35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local 103 frac = (int16_t)(tmp32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 104 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb() 135 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 136 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb() 183 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 185 tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb() 232 frac = (int16_t)(tmp32no1 & 0x00000fff); // Q12 in WebRtcNsx_SpeechNoiseProb() 235 tmp32no2 = WEBRTC_SPL_RSHIFT_W32(frac * frac * 44, 19); // Q12 in WebRtcNsx_SpeechNoiseProb() 236 tmp32no2 += WEBRTC_SPL_MUL_16_16_RSFT(frac, 84, 7); // Q12 in WebRtcNsx_SpeechNoiseProb()
|
D | nsx_core_mips.c | 34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac; in WebRtcNsx_SpeechNoiseProb() local 137 frac = (int16_t)(tmp32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 138 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb() 169 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 170 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb() 217 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 in WebRtcNsx_SpeechNoiseProb() 219 tmp16no1, frac, 14); in WebRtcNsx_SpeechNoiseProb()
|
/external/speex/libspeex/ |
D | resample.c | 243 float y, frac; in compute_func() local 248 frac = (y-ind); in compute_func() 250 interp[3] = -0.1666666667*frac + 0.1666666667*(frac*frac*frac); in compute_func() 251 interp[2] = frac + 0.5*(frac*frac) - 0.5*(frac*frac*frac); in compute_func() 253 interp[0] = -0.3333333333*frac + 0.5*(frac*frac) - 0.1666666667*(frac*frac*frac); in compute_func() 319 static void cubic_coef(spx_word16_t frac, spx_word16_t interp[4]) in cubic_coef() argument 323 interp[0] = -0.16667f*frac + 0.16667f*frac*frac*frac; in cubic_coef() 324 interp[1] = frac + 0.5f*frac*frac - 0.5f*frac*frac*frac; in cubic_coef() 326 interp[3] = -0.33333f*frac + 0.5f*frac*frac - 0.16667f*frac*frac*frac; in cubic_coef() 452 …const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_r… in resampler_basic_interpolate_single() local [all …]
|
D | math_approx.h | 253 spx_word16_t frac; in spx_exp2() local 259 frac = SHL16(x-SHL16(integer,11),3); in spx_exp2() 260 …frac = ADD16(D0, MULT16_16_Q14(frac, ADD16(D1, MULT16_16_Q14(frac, ADD16(D2 , MULT16_16_Q14(D3,fra… in spx_exp2() 261 return VSHR32(EXTEND32(frac), -integer-2); in spx_exp2()
|
D | resample_sse.h | 57 …gle(const float *a, const float *b, unsigned int len, const spx_uint32_t oversample, float *frac) { in interpolate_product_single() argument 61 __m128 f = _mm_loadu_ps(frac); in interpolate_product_single() 100 …ble(const float *a, const float *b, unsigned int len, const spx_uint32_t oversample, float *frac) { in interpolate_product_double() argument 106 __m128 f = _mm_loadu_ps(frac); in interpolate_product_double()
|
/external/chromium_org/third_party/speex/libspeex/ |
D | resample.c | 239 float y, frac; in compute_func() local 244 frac = (y-ind); in compute_func() 246 interp[3] = -0.1666666667*frac + 0.1666666667*(frac*frac*frac); in compute_func() 247 interp[2] = frac + 0.5*(frac*frac) - 0.5*(frac*frac*frac); in compute_func() 249 interp[0] = -0.3333333333*frac + 0.5*(frac*frac) - 0.1666666667*(frac*frac*frac); in compute_func() 315 static void cubic_coef(spx_word16_t frac, spx_word16_t interp[4]) in cubic_coef() argument 319 interp[0] = -0.16667f*frac + 0.16667f*frac*frac*frac; in cubic_coef() 320 interp[1] = frac + 0.5f*frac*frac - 0.5f*frac*frac*frac; in cubic_coef() 322 interp[3] = -0.33333f*frac + 0.5f*frac*frac - 0.16667f*frac*frac*frac; in cubic_coef() 447 …const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_r… in resampler_basic_interpolate_single() local [all …]
|
D | math_approx.h | 253 spx_word16_t frac; in spx_exp2() local 259 frac = SHL16(x-SHL16(integer,11),3); in spx_exp2() 260 …frac = ADD16(D0, MULT16_16_Q14(frac, ADD16(D1, MULT16_16_Q14(frac, ADD16(D2 , MULT16_16_Q14(D3,fra… in spx_exp2() 261 return VSHR32(EXTEND32(frac), -integer-2); in spx_exp2()
|
/external/chromium_org/third_party/libwebp/utils/ |
D | rescaler.c | 46 const int32_t frac = base * (-accum); in ImportRowC() local 48 wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac; in ImportRowC() 50 sum = (int)MULT_FIX(frac, wrk->fx_scale); in ImportRowC() 80 const int frac = (int)MULT_FIX(frow[x_out], yscale); in ExportRowC() local 81 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in ExportRowC() 83 irow[x_out] = frac; // new fractional start in ExportRowC() 106 int base, frac, sum; in ImportRowMIPS() local 148 [sum] "=&r" (sum), [base] "=&r" (base), [frac] "=&r" (frac), in ImportRowMIPS() 184 [frac] "=&r" (frac), [frow] "+r" (frow), [irow] "+r" (irow) in ImportRowMIPS()
|
/external/webp/src/utils/ |
D | rescaler.c | 46 const int32_t frac = base * (-accum); in ImportRowC() local 48 wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac; in ImportRowC() 50 sum = (int)MULT_FIX(frac, wrk->fx_scale); in ImportRowC() 80 const int frac = (int)MULT_FIX(frow[x_out], yscale); in ExportRowC() local 81 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in ExportRowC() 83 irow[x_out] = frac; // new fractional start in ExportRowC() 106 int base, frac, sum; in ImportRowMIPS() local 148 [sum] "=&r" (sum), [base] "=&r" (base), [frac] "=&r" (frac), in ImportRowMIPS() 184 [frac] "=&r" (frac), [frow] "+r" (frow), [irow] "+r" (irow) in ImportRowMIPS()
|
/external/valgrind/main/none/tests/ppc64/ |
D | round.c | 54 unsigned int frac:23; member 137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single() 153 (R.layout.frac != E.layout.frac)) { in check_dbl_to_flt_round() 227 F.layout.frac = 1; in init() 265 (R.layout.frac != E.layout.frac)) { in check_int_to_flt_round() 525 int num, den, frac; in check_single_guarded_arithmetic_op() member 598 B.layout.frac = g; in check_single_guarded_arithmetic_op() 608 Z.layout.frac = 0x100000 | (g >> 3); in check_single_guarded_arithmetic_op() 614 A.layout.frac |= 0x2; in check_single_guarded_arithmetic_op() 617 B.layout.frac = g; in check_single_guarded_arithmetic_op() [all …]
|
/external/valgrind/main/none/tests/ppc32/ |
D | round.c | 54 unsigned int frac:23; member 137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single() 153 (R.layout.frac != E.layout.frac)) { in check_dbl_to_flt_round() 227 F.layout.frac = 1; in init() 265 (R.layout.frac != E.layout.frac)) { in check_int_to_flt_round() 525 int num, den, frac; in check_single_guarded_arithmetic_op() member 598 B.layout.frac = g; in check_single_guarded_arithmetic_op() 608 Z.layout.frac = 0x100000 | (g >> 3); in check_single_guarded_arithmetic_op() 614 A.layout.frac |= 0x2; in check_single_guarded_arithmetic_op() 617 B.layout.frac = g; in check_single_guarded_arithmetic_op() [all …]
|
/external/deqp/framework/common/ |
D | tcuFloatFormat.cpp | 101 const double frac = deFractExp(deAbs(x), &exp); in ulp() local 103 if (deIsNaN(frac)) in ulp() 105 else if (deIsInf(frac)) in ulp() 107 else if (frac == 1.0) in ulp() 113 else if (frac == 0.0) in ulp() 144 const double frac = deFractExp(d, &exp); in round() local 146 const double shiftFrac = deLdExp(frac, shift); in round() 237 const double frac = deFractExp(deAbs(x), &exp); in floatToHex() local 239 const deUint64 bits = deUint64(deLdExp(frac, shift)); in floatToHex()
|
/external/aac/libFDK/include/ |
D | fixpoint_math.h | 123 USHORT frac=(y>>10)&0xffff; in sqrtFixp_lookup() local 124 USHORT nfrac=0xffff^frac; in sqrtFixp_lookup() 125 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1]; in sqrtFixp_lookup() 151 USHORT frac=(y>>10)&0xffff; in sqrtFixp_lookup() local 152 USHORT nfrac=0xffff^frac; in sqrtFixp_lookup() 153 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1]; in sqrtFixp_lookup()
|
/external/chromium_org/third_party/simplejson/ |
D | scanner.py | 54 integer, frac, exp = m.groups() 55 if frac or exp: 56 res = parse_float(integer + (frac or '') + (exp or ''))
|
/external/libvorbis/doc/ |
D | 06-floor0.tex | 135 …\mathrm{bark}\left(\frac{\mathtt{floor0\_rate} \cdot i}{2n}\right) \cdot \frac{\mathtt{floor0\_bar… 157 …p & = & (1 - \cos^2\omega)\prod_{j=0}^{\frac{\mathtt{floor0\_order}-3}{2}} 4 (\cos([\mathtt{coeffi… 158 …q & = & \frac{1}{4} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-1}{2}} 4 (\cos([\mathtt{coefficients… 166 …p & = & \frac{(1 - \cos^2\omega)}{2} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-2}{2}} 4 (\cos([\ma… 167 …q & = & \frac{(1 + \cos^2\omega)}{2} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-2}{2}} 4 (\cos([\ma… 175 …\exp \left( .11512925 \left(\frac{\mathtt{amplitude} \cdot \mathtt{floor0\_amplitute\_offset}}{(2^…
|
/external/webrtc/src/modules/audio_processing/ns/ |
D | nsx_core.c | 476 WebRtc_Word16 countProd, delta, zeros, frac; in NoiseEstimationC() local 499 frac = (WebRtc_Word16)((((WebRtc_UWord32)magn[i] << zeros) in NoiseEstimationC() 502 assert(frac < 256); in NoiseEstimationC() 504 + WebRtcNsx_kLogTableFrac[frac]); in NoiseEstimationC() 1134 WebRtc_Word16 zeros, frac, intPart; in WebRtcNsx_ComputeSpectralFlatness() local 1150 frac = (WebRtc_Word16)(((WebRtc_UWord32)((WebRtc_UWord32)(magn[i]) << zeros) in WebRtcNsx_ComputeSpectralFlatness() 1153 assert(frac < 256); in WebRtcNsx_ComputeSpectralFlatness() 1155 + WebRtcNsx_kLogTableFrac[frac]); // Q8 in WebRtcNsx_ComputeSpectralFlatness() 1166 frac = (WebRtc_Word16)(((avgSpectralFlatnessDen << zeros) & 0x7FFFFFFF) >> 23); in WebRtcNsx_ComputeSpectralFlatness() 1168 assert(frac < 256); in WebRtcNsx_ComputeSpectralFlatness() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | hebrwcal.cpp | 395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() local 396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 397 frac = frac % DAY_PARTS; // Time of day in startOfYear() 406 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear() 412 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | hebrwcal.cpp | 395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() local 396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 397 frac = frac % DAY_PARTS; // Time of day in startOfYear() 406 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { in startOfYear() 412 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) { in startOfYear()
|