/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...] |
H A D | cwrs.c | 42 with frac bits of fractional precision. 43 Tested for all possible 32-bit inputs with frac=4, where the maximum 45 int log2_frac(opus_uint32 val, int frac) argument 55 l=(l-1)<<frac; 61 l+=b<<frac; 65 while(frac-->0); 70 else return (l-1)<<frac;
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
H A D | ImfRational.cpp | 53 frac (double x, double e) function in namespace:Imf::__anon15429 69 if (e > frac (x, e)) 75 double r = frac (1 / x, e); 83 return denom (frac (1 / r, e), e / square (x * r)) + 84 floor (1 / x + e) * denom (frac (1 / x, e), e / square (x));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | ASN1GeneralizedTime.java | 321 String frac = d.substring(14); 323 for (index = 1; index < frac.length(); index++) 325 char ch = frac.charAt(index); 334 frac = frac.substring(0, 4) + frac.substring(index); 335 d = d.substring(0, 14) + frac; 339 frac = frac.substring(0, index) + "00" + frac [all...] |
/external/curl/src/ |
H A D | tool_cb_prg.c | 49 double frac; local 85 frac = (double)point / (double)total; 86 percent = frac * 100.0f; 88 num = (int) (((double)barwidth) * frac);
|
/external/webrtc/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)((tmp16no1 * frac) >> 14); 135 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 136 tmp16no2 += (int16_t)((tmp16no1 * frac) >> 14); 182 frac = (int16_t)(tmpU32no1 & 0x00003fff); // Q14 184 tmp16no1, frac, 14); 228 frac = (int16_t)(tmp32no1 & 0x00000fff); // Q12 230 // Quadratic approximation of 2^frac 231 tmp32no2 = (frac * fra [all...] |
H A D | 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);
|
/external/skia/src/ports/ |
H A D | SkFontMgr_android_parser.h | 177 T frac = 0; local 194 frac = (frac + (d << N)) / 10; // This requires four bits overhead. 207 frac = -frac; 209 *value = SkLeftShift(n, N) + frac;
|
/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/none/tests/ppc32/ |
H A D | round.c | 53 unsigned int frac:23; member in struct:__anon20731::__anon20732 59 unsigned int frac:23; 145 ** a double left shift the .frac so that hex digits are grouped 150 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); 166 (R.layout.frac != E.layout.frac)) { 240 F.layout.frac = 1; 278 (R.layout.frac != E.layout.frac)) { 538 int num, den, frac; member in struct:__anon20736 [all...] |
/external/valgrind/none/tests/ppc64/ |
H A D | round.c | 53 unsigned int frac:23; member in struct:__anon20779::__anon20780 59 unsigned int frac:23; 145 ** a double left shift the .frac so that hex digits are grouped 150 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); 166 (R.layout.frac != E.layout.frac)) { 240 F.layout.frac = 1; 278 (R.layout.frac != E.layout.frac)) { 538 int num, den, frac; member in struct:__anon20784 [all...] |
/external/aac/libFDK/include/ |
H A D | fixpoint_math.h | 152 USHORT frac=(y>>10)&0xffff; local 153 USHORT nfrac=0xffff^frac; 154 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1]; 180 USHORT frac=(y>>10)&0xffff; local 181 USHORT nfrac=0xffff^frac; 182 UINT t=nfrac*sqrt_tab[idx]+frac*sqrt_tab[idx+1];
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | HebrewCalendar.java | 587 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # 588 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation 589 frac = frac % DAY_PARTS; // Time of day 598 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { 604 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | HebrewCalendar.java | 611 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # 612 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation 613 frac = frac % DAY_PARTS; // Time of day 622 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) { 628 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) {
|
/external/opencv3/3rdparty/libwebp/utils/ |
H A D | rescaler.c | 71 const int32_t frac = base * (-accum); local 73 wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac; 75 sum = (int)MULT_FIX(frac, wrk->fx_scale); 107 const int frac = (int)MULT_FIX(frow[x_out], yscale); local 108 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); 110 irow[x_out] = frac; // new fractional start
|
/external/webp/src/dsp/ |
H A D | rescaler.c | 81 const rescaler_t frac = base * (-accum); local 82 wrk->frow[x_out] = sum * wrk->x_sub - frac; 84 sum = (int)MULT_FIX(frac, wrk->fx_scale); 138 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale); local 139 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); 142 irow[x_out] = frac; // new fractional start
|
H A D | rescaler_mips32.c | 39 int base, frac, sum; local 60 "mul %[frac], %[base], %[accum1] \n\t" 64 "maddu %[frac], %[fx_scale] \n\t" 66 "subu %[temp3], %[temp3], %[frac] \n\t" 71 [sum]"=&r"(sum), [base]"=&r"(base), [frac]"=&r"(frac), 98 int frac; local 134 [x_out]"+r"(x_out), [frac]"=&r"(frac), [frow]"+r"(frow)
|
H A D | rescaler_mips_dsp_r2.c | 108 const uint32_t frac = (uint32_t)MULT_FIX(*frow++, yscale); local 109 const int v = (int)MULT_FIX(*irow - frac, wrk->fxy_scale); 112 *irow++ = frac; // new fractional start
|
/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/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
H A D | btCompoundCollisionAlgorithm.cpp | 350 btScalar frac; local 364 frac = m_childCollisionAlgorithms[i]->calculateTimeOfImpact(colObj,otherObj,dispatchInfo,resultOut); 365 if (frac<hitFraction) 367 hitFraction = frac;
|