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

1 2 3

  /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
d_gain_c.cpp 199 Word16 gcode0, exp, frac; local
212 * gc0 = Pow2(int(d)+frac(d)) *
213 * = 2^exp + 2^frac *
217 gc_pred(pred_state, mode, code, &exp, &frac,
229 gcode0 = (Word16)(Pow2(exp, frac, pOverflow)); /* predicted gain */
235 gcode0 = (Word16)(Pow2(14, frac, pOverflow));
dec_gain.cpp 193 Word16 frac; local
242 Log2(temp1, &exp, &frac, pOverflow);
245 temp1 = shr_r(frac, 5, pOverflow);
250 L_tmp = Mpy_32_16(exp, frac, 24660, pOverflow);
269 * gc0 = Pow2(int(d)+frac(d)) *
270 * = 2^exp + 2^frac *
272 * gcode0 (Q14) = 2^14*2^frac = gc0 * 2^(14-exp) *
275 gc_pred(pred_state, mode, code, &exp, &frac, NULL, NULL, pOverflow);
277 gcode0 = (Word16) Pow2(14, frac, pOverflow);
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
decim54.c 96 Word32 i, j, frac, pos; local
104 frac = pos & 3; /* fractional part */
106 y = (Word16 *)(fir_down1 + frac);
q_gain2.c 79 Word16 exp, frac, gcode0, exp_gcode0, e_max, exp_code, qua_ener; local
184 Log2(L_tmp, &exp, &frac);
186 L_tmp = Mpy_32_16(exp, frac, -24660); /* x -3.0103(Q13) -> Q14 */
210 VO_L_Extract(L_tmp, &exp_gcode0, &frac); /* Extract exponent of gcode0 */
212 gcode0 = (Word16)(Pow2(14, frac)); /* Put 14 as exponent so that */
328 Log2(L_tmp, &exp, &frac);
330 L_tmp = Mpy_32_16(exp, frac, 24660); /* x 6.0206 in Q12 */
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
calc_en.cpp 483 Word16 i, exp, frac;
545 frac = extract_h(L_shl(s, exp));
549 if (frac <= 0)
558 = (frac>>1)/frac[2] * 2^(exp+1-exp[2])
559 = div_s(frac>>1, frac[2])*2^-15 * 2^(exp+1-exp[2])
562 *cod_gain_frac = div_s (shr (frac,1), frac_coeff[2]);
613 Word16 frac; /* fractional part */ local
678 frac = (Word16)(L_shl(s1, exp, pOverflow) >> 16)
    [all...]
qgain475.cpp 410 Word16 g_code, exp, frac, tmp;
439 Log2 (L_deposit_l (g_code), &exp, &frac); // Log2(x Q12) = log2(x) + 12
442 tmp = shr_r (frac, 5);
445 L_tmp = Mpy_32_16(exp, frac, 24660); // 24660 Q12 ~= 6.0206 = 20*log10(2)
486 Word16 frac; local
519 Log2((Word32) g_code, &exp, &frac, pOverflow);
522 tmp = shr_r(frac, 5, pOverflow);
527 L_tmp = Mpy_32_16(exp, frac, 24660, pOverflow);
595 Word16 tmp, exp, frac;
619 // with normalized frac, i.e. 16384 <= frac <= 3276
704 Word16 frac; local
    [all...]
pitch_fr.cpp 449 frac = pointer to starting point of search fractional pitch of type Word16
477 Starting point of the search is frac, end point is last_frac.
478 frac is overwritten with the fractional pitch.
495 Word16 *frac, // i/o : start point of search -
510 max = Interpol_3or6 (&corr[*lag], *frac, flag3); // function result
512 for (i = add (*frac, 1); i <= last_frac; i++) {
516 *frac = i;
523 if (sub (*frac, -3) == 0) {
524 *frac = 3;
531 if (sub (*frac, -2) == 0)
1386 Word16 frac; local
    [all...]
  /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/libwebp/utils/
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/utils/
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
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
gc_pred.cpp 275 Word16 exp, frac;
303 Log2(ener_code, &exp, &frac);
304 ener_code = L_Comp (sub (exp, 30), frac); // Q16 for log()
328 * = Pow2(int(d)+frac(d)) *
330 * (store exp and frac for pow2()) *
349 Log2_norm (ener_code, exp_code, &exp, &frac);
352 L_tmp = Mpy_32_16(exp, frac, -24660); // Q0.Q15 * Q13 -> Q14
485 Word16 exp, frac; local
534 Log2(ener_code, &exp, &frac, pOverflow);
540 ener_code = L_temp1 + ((Word32)frac << 1)
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwb/src/
oversamp_12k8_to_16k.cpp 243 int16 frac, j; local
246 frac = 1;
251 frac--;
252 if (frac)
255 fir_up[(FAC5-1) - frac],
261 frac = FAC5;
272 /* Fractional interpolation of signal at position (frac/resol) */
dec_gain2_amr_wb.cpp 187 int16 i, tmp, exp, frac, gcode0, exp_gcode0, qua_ener, gcode_inov; local
318 int32_to_dpf(L_tmp, &exp_gcode0, &frac); /* Extract exponant of gcode0 */
320 gcode0 = (int16)(power_of_2(14, frac)); /* Put 14 as exponant so that */
377 int32_to_dpf(*gain_cod, &exp, &frac);
378 L_tmp = mul_32by16(exp, frac, gcode_inov);
393 amrwb_log_2(L_tmp, &exp, &frac);
395 L_tmp = mul_32by16(exp, frac, 24660); /* x 6.0206 in Q12 */
  /bootable/recovery/
verifier.cpp 164 double frac = -1.0; local
179 if (f > frac + 0.02 || size == so_far) {
181 frac = f;
  /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/opus/src/celt/
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...]
quant_bands.c 364 opus_int16 frac = 1<<fine_quant[i]; local
375 q2 = (int)floor((error[i+c*m->nbEBands]+.5f)*frac);
377 if (q2 > frac-1)
378 q2 = frac-1;
  /external/webrtc/src/common_audio/vad/
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);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DeadZone.java 158 final float frac = DEBUG ? (mFlashFrac - 0.5f) + 0.5f : mFlashFrac; local
159 can.drawARGB((int) (frac * 0xFF), 0xDD, 0xEE, 0xAA);
  /external/pixman/pixman/
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/speex/libspeex/
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);
  /packages/apps/Camera/jni/feature_stab/src/dbreg/
dbreg.cpp 533 double frac=inliercount/totnummatches; local
  /packages/apps/Camera2/jni/feature_stab/src/dbreg/
dbreg.cpp 533 double frac=inliercount/totnummatches; local
  /packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
dbreg.cpp 532 double frac=inliercount/totnummatches; local
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGParserUtilities.cpp 49 FloatType integer, decimal, frac, exponent; local
55 frac = 1;
97 decimal += (*(ptr++) - '0') * (frac *= static_cast<FloatType>(0.1));

Completed in 2413 milliseconds

1 2 3