Searched refs:frac (Results 1 - 25 of 91) sorted by relevance

1234

/external/aac/libAACdec/src/
H A Dusacdec_ace_ltp.h113 * \param frac fractional part of decoded pitch lag (0..3) (input)
117 int frac /* input : fraction of lag */
H A Dusacdec_ace_ltp.cpp135 int frac /* input : fraction of lag in range 0..3 */
144 /* remap frac and x:
151 if (--frac < 0)
152 frac += UP_SAMP;
161 interpol = Pred_lt4_inter4_2[frac];
/external/libopus/celt/
H A Dcwrs.h39 int log2_frac(opus_uint32 val, int frac);
42 void get_required_bits(opus_int16 *bits, int N, int K, int frac);
H A Dmathops.h133 float frac; local
141 frac = in.f - 1.5f;
142 frac = -0.41445418f + frac*(0.95909232f
143 + frac*(-0.33951290f + frac*0.16541097f));
144 return 1+integer+frac;
151 float frac; local
159 frac = x-integer;
161 res.f = 0.99992522f + frac * (0.6958335
204 opus_val16 n, frac; local
229 opus_val16 frac; local
237 opus_val16 frac; local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1GeneralizedTime.java315 String frac = d.substring(14);
317 for (index = 1; index < frac.length(); index++)
319 char ch = frac.charAt(index);
328 frac = frac.substring(0, 4) + frac.substring(index);
329 d = d.substring(0, 14) + frac;
333 frac = frac.substring(0, index) + "00" + frac
[all...]
/external/webrtc/webrtc/modules/audio_processing/ns/
H A Dnsx_core_c.c35 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 Dnsx_core_mips.c34 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 DSkFontMgr_android_parser.h177 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/skqp/src/ports/
H A DSkFontMgr_android_parser.h177 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/python/cpython2/Lib/json/
H A Dscanner.py50 integer, frac, exp = m.groups()
51 if frac or exp:
52 res = parse_float(integer + (frac or '') + (exp or ''))
/external/python/cpython3/Lib/json/
H A Dscanner.py50 integer, frac, exp = m.groups()
51 if frac or exp:
52 res = parse_float(integer + (frac or '') + (exp or ''))
/external/speex/libspeex/
H A Dresample.c243 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
451 const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_rate); local
453 const spx_word16_t frac = ((float)((samp_frac_num*st->oversample) % st->den_rate))/st->den_rate; local
514 const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_rate); local
516 const spx_word16_t frac = ((float)((samp_frac_num*st->oversample) % st->den_rate))/st->den_rate; local
[all...]
H A Dmath_approx.h253 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 Dresample_sse.h57 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 DtcuFloatFormat.cpp101 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 Dround.c53 unsigned int frac:23; member in struct:__anon29722::__anon29723
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:__anon29727
[all...]
/external/valgrind/none/tests/ppc64/
H A Dround.c53 unsigned int frac:23; member in struct:__anon29771::__anon29772
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:__anon29776
[all...]
/external/curl/src/
H A Dtool_cb_prg.c112 double frac; local
155 frac = (double)point / (double)total;
156 percent = frac * 100.0;
158 num = (int) (((double)barwidth) * frac);
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DHebrewCalendar.java589 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day #
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) ) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DHebrewCalendar.java613 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day #
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) ) {
/external/webp/src/dsp/
H A Drescaler.c83 const rescaler_t frac = base * (-accum); local
84 wrk->frow[x_out] = sum * wrk->x_sub - frac;
86 sum = (int)MULT_FIX(frac, wrk->fx_scale);
140 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale); local
141 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale);
144 irow[x_out] = frac; // new fractional start
H A Drescaler_mips32.c40 int base, frac, sum; local
61 "mul %[frac], %[base], %[accum1] \n\t"
65 "maddu %[frac], %[fx_scale] \n\t"
67 "subu %[temp3], %[temp3], %[frac] \n\t"
72 [sum]"=&r"(sum), [base]"=&r"(base), [frac]"=&r"(frac),
100 int frac; local
136 [x_out]"+r"(x_out), [frac]"=&r"(frac), [frow]"+r"(frow)
/external/icu/icu4c/source/i18n/
H A Dhebrwcal.cpp398 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # local
399 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation
400 frac = frac % DAY_PARTS; // Time of day
409 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) {
415 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) {
/external/syslinux/utils/
H A Disohybrid.in183 $frac = $imgsize % $cylsize;
184 $padding = ($frac > 0) ? $cylsize - $frac : 0;
/external/aac/libFDK/include/
H A Dfixpoint_math.h206 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];

Completed in 3754 milliseconds

1234