HomeSort by relevance Sort by last modified time
    Searched refs:frac (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/chromium_org/third_party/opus/src/celt/
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);
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.69583354
172 opus_val16 n, frac; local
197 opus_val16 frac; local
205 opus_val16 frac; local
    [all...]
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)
55 l=(l-1)<<frac;
61 l+=b<<frac;
65 while(frac-->0);
70 else return (l-1)<<frac;
  /external/libopus/celt/
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);
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.69583354
172 opus_val16 n, frac; local
197 opus_val16 frac; local
205 opus_val16 frac; local
    [all...]
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)
55 l=(l-1)<<frac;
61 l+=b<<frac;
65 while(frac-->0);
70 else return (l-1)<<frac;
  /dalvik/dx/tests/089-dex-define-object/
Object.java 49 public final native void wait(long time, int frac);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERGeneralizedTime.java 270 String frac = d.substring(14); local
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.substring(index)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_processing/ns/
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 * frac * 44, 19); // Q1
    [all...]
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);
    [all...]
nsx_core.c 321 tmp32no1 = (0x00200000 | (tmp32no2 & 0x001FFFFF)); // 2^21 + frac
340 int16_t countProd, delta, zeros, frac; local
363 frac = (int16_t)((((uint32_t)magn[i] << zeros)
366 assert(frac < 256);
368 + WebRtcNsx_kLogTableFrac[frac]);
1034 int16_t zeros, frac, intPart; local
1203 int16_t frac = 0; local
    [all...]
  /external/chromium_org/third_party/libwebp/utils/
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] \n\t
    [all...]
  /external/chromium_org/third_party/speex/libspeex/
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*frac*frac)
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...]
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/deqp/framework/common/
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/chromium_org/third_party/simplejson/
scanner.py 54 integer, frac, exp = m.groups()
55 if frac or exp:
56 res = parse_float(integer + (frac or '') + (exp or ''))
  /external/aac/libFDK/include/
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/
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/
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/
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{\mathtt{amplitude} \cdot \mathtt{floor0\_amplitute\_offset}}{(2^{\mathtt{floor0\_amplitude\_bits}} (…)
    [all...]
  /external/chromium_org/v8/test/mjsunit/
number-literal.js 31 test('non-canonical-literal-frac', '1.50', '1.5');
  /external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
receive_statistics_impl.cc 328 uint32_t* frac) const {
331 *frac = last_receive_time_frac_;
444 uint32_t frac; local
445 it->second->LastReceiveTimeNtp(&secs, &frac);
447 Clock::NtpToMs(secs, frac) < kStatisticsTimeoutMs) {
  /external/libpcap/
sf-pcap-ng.c 957 u_int64_t t, sec, frac; local
1216 frac = t % ps->ifaces[interface_id].tsresol;
1240 frac *= ps->ifaces[interface_id].tsresol;
1241 frac /= ps->user_tsresol;
1258 frac *= ps->user_tsresol;
1259 frac /= ps->ifaces[interface_id].tsresol;
1263 hdr->ts.tv_usec = frac;
  /external/libvpx/libvpx/test/
convolve_test.cc 559 for (int frac = 0; frac < 16; ++frac) {
563 vp9_sub_pel_filters_8[frac], step,
564 vp9_sub_pel_filters_8[frac], step,
573 << ", frac == " << frac << ", step == " << step;
  /bootable/recovery/
verifier.cpp 207 double frac = -1.0; local
218 if (f > frac + 0.02 || size == so_far) {
220 frac = f;

Completed in 669 milliseconds

1 2 3