/external/chromium_org/third_party/opus/src/celt/ |
H A 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);
|
H A D | mathops.h | 101 float frac; local 109 frac = in.f - 1.5f; 110 frac = -0.41445418f + frac*(0.95909232f 111 + frac*(-0.33951290f + frac*0.16541097f)); 112 return 1+integer+frac; 119 float frac; local 127 frac = x-integer; 129 res.f = 0.99992522f + frac * (0.6958335 172 opus_val16 n, frac; local 197 opus_val16 frac; local 205 opus_val16 frac; local [all...] |
/external/libopus/celt/ |
H A 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);
|
H A D | mathops.h | 101 float frac; local 109 frac = in.f - 1.5f; 110 frac = -0.41445418f + frac*(0.95909232f 111 + frac*(-0.33951290f + frac*0.16541097f)); 112 return 1+integer+frac; 119 float frac; local 127 frac = x-integer; 129 res.f = 0.99992522f + frac * (0.6958335 172 opus_val16 n, frac; local 197 opus_val16 frac; local 205 opus_val16 frac; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | DERGeneralizedTime.java | 270 String frac = d.substring(14); 272 for (index = 1; index < frac.length(); index++) 274 char ch = frac.charAt(index); 283 frac = frac.substring(0, 4) + frac.substring(index); 284 d = d.substring(0, 14) + frac; 288 frac = frac.substring(0, index) + "00" + frac [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/ns/ |
H A D | nsx_core_c.c | 35 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; local 103 frac = (int16_t)(tmp32no1 & 0x00003fff); // Q14 104 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); 135 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 136 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); 183 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 185 tmp16no1, frac, 14); 232 frac = (int16_t)(tmp32no1 & 0x00000fff); // Q12 234 // Quadratic approximation of 2^frac 235 tmp32no2 = WEBRTC_SPL_RSHIFT_W32(frac * fra [all...] |
H A D | nsx_core_mips.c | 34 int16_t tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac; local 137 frac = (int16_t)(tmp32no1 & 0x00003fff); // Q14 138 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); 169 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 170 tmp16no2 += (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(tmp16no1, frac, 14); 217 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 219 tmp16no1, frac, 14);
|
/external/chromium_org/third_party/simplejson/ |
H A D | scanner.py | 54 integer, frac, exp = m.groups() 55 if frac or exp: 56 res = parse_float(integer + (frac or '') + (exp or ''))
|
/external/chromium_org/third_party/libwebp/utils/ |
H A D | rescaler.c | 46 const int32_t frac = base * (-accum); local 48 wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac; 50 sum = (int)MULT_FIX(frac, wrk->fx_scale); 80 const int frac = (int)MULT_FIX(frow[x_out], yscale); local 81 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); 83 irow[x_out] = frac; // new fractional start 106 int base, frac, sum; local 130 "mul %[frac], %[base], %[accum1] \n\t" 135 "sll %[accum1], %[frac], 2 \n\t" 139 "subu %[temp3], %[temp3], %[frac] \ [all...] |
/external/webp/src/utils/ |
H A D | rescaler.c | 46 const int32_t frac = base * (-accum); local 48 wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac; 50 sum = (int)MULT_FIX(frac, wrk->fx_scale); 80 const int frac = (int)MULT_FIX(frow[x_out], yscale); local 81 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); 83 irow[x_out] = frac; // new fractional start 106 int base, frac, sum; local 130 "mul %[frac], %[base], %[accum1] \n\t" 135 "sll %[accum1], %[frac], 2 \n\t" 139 "subu %[temp3], %[temp3], %[frac] \ [all...] |
/external/chromium_org/third_party/speex/libspeex/ |
H A D | resample.c | 239 float y, frac; local 244 frac = (y-ind); 246 interp[3] = -0.1666666667*frac + 0.1666666667*(frac*frac*frac); 247 interp[2] = frac + 0.5*(frac*frac) - 0.5*(frac*fra 315 cubic_coef(spx_word16_t frac, spx_word16_t interp[4]) argument 447 const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_rate); local 449 const spx_word16_t frac = ((float)((samp_frac_num*st->oversample) % st->den_rate))/st->den_rate; local 509 const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_rate); local 511 const spx_word16_t frac = ((float)((samp_frac_num*st->oversample) % st->den_rate))/st->den_rate; local [all...] |
H A D | 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/speex/libspeex/ |
H A D | resample.c | 243 float y, frac; local 248 frac = (y-ind); 250 interp[3] = -0.1666666667*frac + 0.1666666667*(frac*frac*frac); 251 interp[2] = frac + 0.5*(frac*frac) - 0.5*(frac*fra 319 cubic_coef(spx_word16_t frac, spx_word16_t interp[4]) argument 452 const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_rate); local 454 const spx_word16_t frac = ((float)((samp_frac_num*st->oversample) % st->den_rate))/st->den_rate; local 515 const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_rate); local 517 const spx_word16_t frac = ((float)((samp_frac_num*st->oversample) % st->den_rate))/st->den_rate; local [all...] |
H A D | 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);
|
H A D | resample_sse.h | 57 static inline float interpolate_product_single(const float *a, const float *b, unsigned int len, const spx_uint32_t oversample, float *frac) { argument 61 __m128 f = _mm_loadu_ps(frac); 100 static inline double interpolate_product_double(const float *a, const float *b, unsigned int len, const spx_uint32_t oversample, float *frac) { argument 106 __m128 f = _mm_loadu_ps(frac);
|
/external/deqp/framework/common/ |
H A D | tcuFloatFormat.cpp | 101 const double frac = deFractExp(deAbs(x), &exp); local 103 if (deIsNaN(frac)) 105 else if (deIsInf(frac)) 107 else if (frac == 1.0) 113 else if (frac == 0.0) 144 const double frac = deFractExp(d, &exp); local 146 const double shiftFrac = deLdExp(frac, shift); 237 const double frac = deFractExp(deAbs(x), &exp); local 239 const deUint64 bits = deUint64(deLdExp(frac, shift));
|
/external/valgrind/main/none/tests/ppc32/ |
H A D | round.c | 54 unsigned int frac:23; member in struct:__anon33144::__anon33145 132 ** a double left shift the .frac so that hex digits are grouped 137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); 153 (R.layout.frac != E.layout.frac)) { 227 F.layout.frac = 1; 265 (R.layout.frac != E.layout.frac)) { 525 int num, den, frac; member in struct:__anon33149 598 B.layout.frac [all...] |
/external/valgrind/main/none/tests/ppc64/ |
H A D | round.c | 54 unsigned int frac:23; member in struct:__anon33192::__anon33193 132 ** a double left shift the .frac so that hex digits are grouped 137 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); 153 (R.layout.frac != E.layout.frac)) { 227 F.layout.frac = 1; 265 (R.layout.frac != E.layout.frac)) { 525 int num, den, frac; member in struct:__anon33197 598 B.layout.frac [all...] |
/external/aac/libFDK/include/ |
H A D | fixpoint_math.h | 123 USHORT frac=(y>>10)&0xffff; local 124 USHORT nfrac=0xffff^frac; 125 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1]; 151 USHORT frac=(y>>10)&0xffff; local 152 USHORT nfrac=0xffff^frac; 153 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1];
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | hebrwcal.cpp | 395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # local 396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation 397 frac = frac % DAY_PARTS; // Time of day 406 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { 412 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) {
|
/external/icu/icu4c/source/i18n/ |
H A D | hebrwcal.cpp | 395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # local 396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation 397 frac = frac % DAY_PARTS; // Time of day 406 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { 412 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) {
|
/external/libvorbis/doc/ |
H A D | 06-floor0.tex | 135 \mathrm{bark}\left(\frac{\mathtt{floor0\_rate} \cdot i}{2n}\right) \cdot \frac{\mathtt{floor0\_bark\_map\_size}} {\mathrm{bark}(.5 \cdot \mathtt{floor0\_rate})} 157 p & = & (1 - \cos^2\omega)\prod_{j=0}^{\frac{\mathtt{floor0\_order}-3}{2}} 4 (\cos([\mathtt{coefficients}]_{2j+1}) - \cos \omega)^2 \\ 158 q & = & \frac{1}{4} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-1}{2}} 4 (\cos([\mathtt{coefficients}]_{2j}) - \cos \omega)^2 166 p & = & \frac{(1 - \cos^2\omega)}{2} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-2}{2}} 4 (\cos([\mathtt{coefficients}]_{2j+1}) - \cos \omega)^2 \\ 167 q & = & \frac{(1 + \cos^2\omega)}{2} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-2}{2}} 4 (\cos([\mathtt{coefficients}]_{2j}) - \cos \omega)^2 175 \exp \left( .11512925 \left(\frac{\matht [all...] |
/external/pixman/pixman/ |
H A D | pixman-filter.c | 241 double frac = step / 2.0 + i * step; local 251 x1 = ceil (frac - *width / 2.0 - 0.5); 257 double pos = x + 0.5 - frac;
|
/external/webrtc/src/common_audio/vad/ |
H A D | vad_filterbank.c | 233 int16_t zeros = 0, frac = 0, log2 = 0; local 250 frac = (int16_t) (((uint32_t) ((int32_t) (energy_s16) << zeros) 252 log2 = (int16_t) (((31 - zeros) << 10) + frac);
|
/external/webrtc/src/modules/audio_processing/ns/ |
H A D | nsx_core.c | 457 tmp32no1 = (0x00200000 | (tmp32no2 & 0x001FFFFF)); // 2^21 + frac 476 WebRtc_Word16 countProd, delta, zeros, frac; local 499 frac = (WebRtc_Word16)((((WebRtc_UWord32)magn[i] << zeros) 502 assert(frac < 256); 504 + WebRtcNsx_kLogTableFrac[frac]); 1134 WebRtc_Word16 zeros, frac, intPart; local 1150 frac = (WebRtc_Word16)(((WebRtc_UWord32)((WebRtc_UWord32)(magn[i]) << zeros) 1153 assert(frac < 256); 1155 + WebRtcNsx_kLogTableFrac[frac]); // Q8 1166 frac 1301 WebRtc_Word16 tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; local 1536 WebRtc_Word16 frac = 0; local [all...] |