Searched defs:L_tmp (Results 1 - 25 of 48) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpreemph_amrwb_dec.cpp121 int32 L_tmp; local
125 L_tmp = msu_16by16_from_int32((int32)x[i] << 16, x[i - 1], mu);
126 x[i] = amr_wb_round(L_tmp);
H A Dpit_shrp.cpp122 int32 L_tmp; local
126 L_tmp = mac_16by16_to_int32((int32)x[i] << 16, x[i - pit_lag], sharp);
127 x[i] = amr_wb_round(L_tmp);
H A Dscale_signal.cpp126 int32 L_tmp; local
133 L_tmp = shl_int32(((int32)x[i] << 16), exp); /* saturation can occur here */
134 x[i] = amr_wb_round(L_tmp);
H A Ddeemphasis_32.cpp130 int32 L_tmp; local
133 L_tmp = ((int32)x_hi[0]) << 16;
134 L_tmp += ((int32)x_lo[0]) << 4;
135 L_tmp = shl_int32(L_tmp, 3);
137 L_tmp = fxp_mac_16by16(*mem, mu, L_tmp),
139 L_tmp = shl_int32(L_tmp, 1); /* saturation can occur here */
140 y[0] = amr_wb_round(L_tmp);
[all...]
H A Disp_isf.cpp155 int32 L_tmp; local
170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset);
171 isp[i] = add_int16(table[ind], (int16)(L_tmp >> 8));
H A Dinterpolate_isp.cpp124 int32 L_tmp; local
133 L_tmp = mul_16by16_to_int32(isp_old[i], fac_old);
134 L_tmp = mac_16by16_to_int32(L_tmp, isp_new[i], fac_new);
135 isp[i] = amr_wb_round(L_tmp);
H A Dvoice_factor.cpp128 int32 L_tmp; local
132 L_tmp = mul_16by16_to_int32(gain_pit, gain_pit);
133 exp = normalize_amr_wb(L_tmp);
135 tmp = (int16)((L_tmp << exp) >> 16);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dlsp_avg.cpp252 Word32 L_tmp; // Q31
257 L_tmp = L_deposit_h(st->lsp_meanSave[i]);
258 L_tmp = L_msu(L_tmp, EXPCONST, st->lsp_meanSave[i]);
261 L_tmp = L_mac(L_tmp, EXPCONST, lsp[i]);
264 st->lsp_meanSave[i] = pv_round(L_tmp); // Q15
300 Word32 L_tmp; /* Q31 */ local
306 L_tmp = L_deposit_h(st->lsp_meanSave[i]);
307 L_tmp
[all...]
H A Dd_gain_c.cpp204 Word32 L_tmp; local
236 L_tmp = L_mult(*p++, gcode0, pOverflow);
237 L_tmp = L_shr(L_tmp, sub(9, exp, pOverflow), pOverflow);
238 *gain_code = extract_h(L_tmp); /* Q1 */
H A Ddec_gain.cpp199 Word32 L_tmp; local
250 L_tmp = Mpy_32_16(exp, frac, 24660, pOverflow);
251 L_tmp = L_shl(L_tmp, 13, pOverflow);
252 qua_ener = pv_round(L_tmp, pOverflow);
288 L_tmp = L_mult(g_code, gcode0, pOverflow);
290 L_tmp = L_shr(L_tmp, temp1, pOverflow);
291 *gain_cod = extract_h(L_tmp);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dpit_shrp.c35 Word32 L_tmp; local
40 L_tmp = (*x_ptr << 15);
41 L_tmp += *x++ * sharp;
42 *x_ptr++ = ((L_tmp + 0x4000)>>15);
H A Dscale.c34 Word32 L_tmp; local
39 L_tmp = L_shl2(x[i], 16 + exp);
40 x[i] = extract_h(L_add(L_tmp, 0x8000));
48 L_tmp = x[i] << 16;
49 L_tmp >>= exp;
50 x[i] = (L_tmp + 0x8000)>>16;
H A Dupdt_tar.c36 Word32 L_tmp; local
40 L_tmp = x[i] << 15;
41 L_tmp -= (y[i] * gain)<<1;
42 x2[i] = extract_h(L_shl2(L_tmp, 1));
H A Dhp6k.c60 Word32 i, L_tmp; local
69 L_tmp = (x[i] + x[i+ 30]) * fir_6k_7k[0];
70 L_tmp += (x[i+1] + x[i + 29]) * fir_6k_7k[1];
71 L_tmp += (x[i+2] + x[i + 28]) * fir_6k_7k[2];
72 L_tmp += (x[i+3] + x[i + 27]) * fir_6k_7k[3];
73 L_tmp += (x[i+4] + x[i + 26]) * fir_6k_7k[4];
74 L_tmp += (x[i+5] + x[i + 25]) * fir_6k_7k[5];
75 L_tmp += (x[i+6] + x[i + 24]) * fir_6k_7k[6];
76 L_tmp += (x[i+7] + x[i + 23]) * fir_6k_7k[7];
77 L_tmp
[all...]
H A Disp_isf.c40 Word32 L_tmp; local
52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]);
53 isf[i] = vo_round((L_tmp << 4)); /* (isp[i]-table[ind])*slope[ind])>>11 */
68 Word32 i, ind, L_tmp; local
82 L_tmp = vo_L_mult(vo_sub(table[ind + 1], table[ind]), offset);
83 isp[i] = add1(table[ind], (Word16)((L_tmp >> 8)));
H A Dpreemph.c36 Word32 i, L_tmp; local
42 L_tmp = L_deposit_h(x[i]);
43 L_tmp -= (x[i - 1] * mu)<<1;
44 x[i] = (L_tmp + 0x8000)>>16;
47 L_tmp = L_deposit_h(x[0]);
48 L_tmp -= ((*mem) * mu)<<1;
49 x[0] = (L_tmp + 0x8000)>>16;
65 Word32 i, L_tmp; local
71 L_tmp = L_deposit_h(x[i]);
72 L_tmp
[all...]
H A Dautocorr.c40 Word32 L_sum, L_sum1, L_tmp, F_LEN; local
60 L_tmp = vo_L_mult(y[i], y[i]);
61 L_tmp = (L_tmp >> 8);
62 L_sum += L_tmp;
H A Ddeemph.c38 Word32 L_tmp; local
40 L_tmp = L_deposit_h(x[0]);
41 L_tmp = L_mac(L_tmp, *mem, mu);
42 x[0] = vo_round(L_tmp);
46 L_tmp = L_deposit_h(x[i]);
47 L_tmp = L_mac(L_tmp, x[i - 1], mu);
48 x[i] = voround(L_tmp);
65 Word32 L_tmp; local
90 Word32 i, L_tmp; local
[all...]
H A Dhp400.c65 Word32 L_tmp; local
81 L_tmp = 8192L; /* rounding to maximise precision */
82 L_tmp += y1_lo * a[1];
83 L_tmp += y2_lo * a[2];
84 L_tmp = L_tmp >> 14;
85 L_tmp += (y1_hi * a[1] + y2_hi * a[2] + (x0 + x2)* b[0] + x1 * b[1]) << 1;
86 L_tmp <<= 1; /* coeff Q12 --> Q13 */
89 y1_hi = (Word16)(L_tmp>>16);
90 y1_lo = (Word16)((L_tmp
[all...]
H A Dhp50.c66 Word32 L_tmp; local
83 L_tmp = 8192 ; /* rounding to maximise precision */
84 L_tmp += y1_lo * a[1];
85 L_tmp += y2_lo * a[2];
86 L_tmp = L_tmp >> 14;
87 L_tmp += (y1_hi * a[1] + y2_hi * a[2] + (x0 + x2) * b[0] + x1 * b[1]) << 1;
88 L_tmp <<= 2; /* coeff Q12 --> Q13 */
91 y1_hi = (Word16)(L_tmp>>16);
92 y1_lo = (Word16)((L_tmp
[all...]
H A Dint_lpc.c42 Word32 L_tmp; local
51 L_tmp = (isp_old[i] * fac_old)<<1;
52 L_tmp += (isp_new[i] * fac_new)<<1;
53 isp[i] = (L_tmp + 0x8000)>>16;
H A Dlp_dec2.c43 Word32 L_tmp; local
58 L_tmp = ((*p_x++) * h_fir[0]);
59 L_tmp += ((*p_x++) * h_fir[1]);
60 L_tmp += ((*p_x++) * h_fir[2]);
61 L_tmp += ((*p_x++) * h_fir[3]);
62 L_tmp += ((*p_x++) * h_fir[4]);
63 x[j] = (L_tmp + 0x4000)>>15;
H A Dvoicefac.c38 Word32 i, L_tmp; local
46 L_tmp = vo_L_mult(gain_pit, gain_pit);
47 exp = norm_l(L_tmp);
48 tmp = extract_h(L_tmp << exp);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp_lsf.cpp175 Word32 L_tmp;
184 L_tmp = L_mult (sub (table[ind + 1], table[ind]), offset);
185 lsp[i] = add (table[ind], extract_l (L_shr (L_tmp, 9)));
222 Word32 L_tmp; local
231 L_tmp = ((Word32)(table[ind + 1] - table[ind]) * offset) >> 8;
232 lsp[i] = add(table[ind], (Word16) L_tmp, pOverflow);
298 Word32 L_tmp;
315 L_tmp = L_mult (sub (lsp[i], table[ind]), slope[ind]);
317 lsf[i] = pv_round (L_shl (L_tmp, 3));
356 Word32 L_tmp; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dpre_proc.cpp485 Word32 L_tmp;
496 L_tmp = Mpy_32_16 (st->y1_hi, st->y1_lo, a[1]);
497 L_tmp = L_add (L_tmp, Mpy_32_16 (st->y2_hi, st->y2_lo, a[2]));
498 L_tmp = L_mac (L_tmp, st->x0, b[0]);
499 L_tmp = L_mac (L_tmp, st->x1, b[1]);
500 L_tmp = L_mac (L_tmp, x
548 Word32 L_tmp; local
[all...]

Completed in 159 milliseconds

12