Searched refs:L_SUBFR (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dphase_dispersion.cpp98 #define L_SUBFR 64 macro
112 static const int16 ph_imp_low[L_SUBFR] =
125 static const int16 ph_imp_mid[L_SUBFR] =
168 pv_memset((void *)code2, 0, (2*L_SUBFR)*sizeof(*code2));
228 for (i = 0; i < L_SUBFR; i++)
232 for (j = 0; j < L_SUBFR; j++)
241 for (i = 0; i < L_SUBFR; i++)
245 for (j = 0; j < L_SUBFR; j++)
254 for (i = 0; i < L_SUBFR; i++)
256 code[i] = add_int16(code2[i], code2[i + L_SUBFR]);
[all...]
H A Dsynthesis_amr_wb.cpp163 int16 *synth_lo = &ScratchMem[M + L_SUBFR];
164 int16 *synth = &synth_lo[M + L_SUBFR];
165 int16 *HF = &synth[L_SUBFR];
186 Syn_filt_32(Aq, M, exc, Q_new, synth_hi + M, synth_lo + M, L_SUBFR);
189 (void *)(synth_hi + L_SUBFR),
193 (void *)(synth_lo + L_SUBFR),
200 L_SUBFR,
204 L_SUBFR,
208 L_SUBFR,
235 for (i = L_SUBFR >>
[all...]
H A De_pv_amrwbdec.h127 int16 ScratchMem[L_SUBFR + L_SUBFR16k + ((L_SUBFR + M + M16k +1)<<1) + \
129 + 3*(M+L_SUBFR) + M16k];
H A Dpvamrwbdecoder_cnst.h84 #define L_SUBFR 64 /* Subframe size */ macro
H A Dpvamrwbdecoder.cpp295 int16 *ScratchMem2 = &ScratchMem[ L_SUBFR + L_SUBFR16k + ((L_SUBFR + M + M16k +1)<<1)];
309 int16 *excp = &code[L_SUBFR];
310 int16 *exc2 = &excp[L_SUBFR]; /* excitation vector */
443 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR)
554 * The subframe size is L_SUBFR and the loop is repeated L_FRAME/L_SUBFR
571 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR)
576 if ((i_subfr == 2*L_SUBFR) && (nb_bits > NBBITS_7k))
676 Pred_lt4(&exc[i_subfr], T0, T0_frac, L_SUBFR
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dspreproc.cpp211 Syn_filt(Aq, ai_zero, h1, L_SUBFR, zero, 0);
212 Syn_filt(Ap2, h1, h1, L_SUBFR, zero, 0);
221 Residu(Aq, speech, res2, L_SUBFR);
223 memcpy(exc, res2, L_SUBFR*sizeof(Word16));
225 Syn_filt(Aq, exc, error, L_SUBFR, mem_err, 0);
227 Residu(Ap1, error, xn, L_SUBFR);
230 Syn_filt(Ap2, xn, xn, L_SUBFR, mem_w0, 0);
H A Dpre_big.cpp200 Residu(Ap1, &speech[frameOffset], &wsp[frameOffset], L_SUBFR);
202 Syn_filt(Ap2, &wsp[frameOffset], &wsp[frameOffset], L_SUBFR, mem_w, 1);
206 frameOffset = add(frameOffset, L_SUBFR, pOverflow);
H A Dspstproc.cpp242 for (i = L_SUBFR >> 1; i != 0 ; i--)
278 L_SUBFR,
282 for (i = L_SUBFR - M, j = 0; i < L_SUBFR; i++, j++)
H A Dcod_amr.h118 * L_SUBFR : Sub-frame size. *
146 Word16 ai_zero[L_SUBFR + MP1];
151 Word16 hvec[L_SUBFR * 2];
166 Word16 mem_err[M + L_SUBFR], *error;
H A Dcl_ltp.cpp525 L_SUBFR, frameOffset,
539 Pred_lt_3or6(exc, *T0, *T0_frac, L_SUBFR, resu3);
541 Convolve(exc, h1, y1, L_SUBFR);
544 *gain_pit = G_pitch(mode, xn, y1, g_coeff, L_SUBFR);
583 for (i = 0; i < L_SUBFR; i++) {
664 L_SUBFR,
686 L_SUBFR,
690 Convolve(exc, h1, yl, L_SUBFR);
699 L_SUBFR,
754 for (i = 0; i < L_SUBFR;
[all...]
H A Dcod_amr.cpp392 st->h1 = &st->hvec[L_SUBFR];
403 Set_zero(st->zero, L_SUBFR);
404 Set_zero(st->hvec, L_SUBFR); // set to zero "h1[-L_SUBFR..-1]"
490 st->h1 = &st->hvec[L_SUBFR];
504 memset(st->zero, 0, sizeof(Word16)*L_SUBFR);
505 memset(st->hvec, 0, sizeof(Word16)*L_SUBFR); /* set to zero "h1[-L_SUBFR..-1]" */
828 Word16 xn[L_SUBFR]; // Target vector for pitch search
829 Word16 xn2[L_SUBFR]; // Targe
[all...]
H A Dcbsearch.cpp285 for (i = T0; i < L_SUBFR; i++)
317 for (i = T0; i < L_SUBFR; i++)
343 for (i = T0; i < L_SUBFR; i++)
376 for (i = T0; i < L_SUBFR; i++)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc2t64fx.c62 Word16 sign[L_SUBFR], vec[L_SUBFR], dn2[L_SUBFR];
63 Word16 h_buf[4 * L_SUBFR] = {0};
76 s = Dot_product12_asm(cn, cn, L_SUBFR, &exp);
78 s = Dot_product12(cn, cn, L_SUBFR, &exp);
87 s = Dot_product12_asm(dn, dn, L_SUBFR, &exp);
89 s = Dot_product12(dn, dn, L_SUBFR, &exp);
101 for (i = 0; i < L_SUBFR/4; i++)
114 for (i = 0; i < L_SUBFR;
[all...]
H A Dcor_h_x.c31 #define L_SUBFR 64 macro
42 Word32 L_tmp, y32[L_SUBFR], L_tot;
52 for (i = 0; i < L_SUBFR; i += STEP)
57 for (j = i; j < L_SUBFR; j++)
70 for (j = i+1; j < L_SUBFR; j++)
83 for (j = i+2; j < L_SUBFR; j++)
96 for (j = i+3; j < L_SUBFR; j++)
116 for (i = 0; i < L_SUBFR; i+=4)
H A DvoAMRWBEnc.c184 Word16 xn[L_SUBFR]; /* Target vector for pitch search */
185 Word16 xn2[L_SUBFR]; /* Target vector for codebook search */
186 Word16 dn[L_SUBFR]; /* Correlation between xn2 and h1 */
187 Word16 cn[L_SUBFR]; /* Target vector in residual domain */
188 Word16 h1[L_SUBFR]; /* Impulse response vector */
189 Word16 h2[L_SUBFR]; /* Impulse response vector */
190 Word16 code[L_SUBFR]; /* Fixed codebook excitation */
191 Word16 y1[L_SUBFR]; /* Filtered adaptive excitation */
192 Word16 y2[L_SUBFR]; /* Filtered adaptive excitation */
193 Word16 error[M + L_SUBFR]; /* erro
[all...]
H A Dc4t64fx.c63 #define L_SUBFR 64 macro
141 Word16 dn2[L_SUBFR], sign[L_SUBFR], vec[L_SUBFR];
145 Word16 h_buf[4 * L_SUBFR];
243 s = Dot_product12_asm(cn, cn, L_SUBFR, &exp);
245 s = Dot_product12(cn, cn, L_SUBFR, &exp);
254 s = Dot_product12_asm(dn, dn, L_SUBFR, &exp);
256 s = Dot_product12(dn, dn, L_SUBFR, &exp);
268 for (i = 0; i < L_SUBFR/
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dcnst.h69 #define L_SUBFR 40 /* Subframe size */ macro
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dpstfilt.h104 Word16 res2[L_SUBFR];
H A Dpstfilt.cpp207 Set_zero (state->res2, L_SUBFR);
247 memset(state->res2, 0, sizeof(Word16)*L_SUBFR);
342 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR)
359 Residu (Ap3, &syn_work[i_subfr], st->res2, L_SUBFR);
395 preemphasis (st->preemph_state, st->res2, temp2, L_SUBFR);
399 Syn_filt (Ap4, st->res2, &syn[i_subfr], L_SUBFR, st->mem_syn_pst, 1);
404 AGC_FAC, L_SUBFR);
470 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR)
487 Residu(Ap3, &syn_work[i_subfr], st->res2, L_SUBFR);
559 preemphasis(&(st->preemph_state), st->res2, temp2, L_SUBFR, pOverflo
[all...]
H A Dd2_11pf.cpp196 for (i = 0; i < L_SUBFR; i++)
H A Dph_disp.cpp458 Word16 inno_sav[L_SUBFR];
459 Word16 ps_poss[L_SUBFR];
556 for (i = 0; i < L_SUBFR; i++)
597 for (i = ppos; i < L_SUBFR; i++)
606 // inno[i] += inno_sav[ppos] * ph_imp[L_SUBFR-ppos+i]
615 for (i = 0; i < L_SUBFR; i++)
676 Word16 inno_sav[L_SUBFR];
677 Word16 ps_poss[L_SUBFR];
811 for (i = 0; i < L_SUBFR; i++)
856 for (i = ppos; i < L_SUBFR;
[all...]
H A Dd2_9pf.cpp220 for (i = L_SUBFR - 1; i >= 0; i--)
H A Dd3_14pf.cpp204 for (i = 0; i < L_SUBFR; i++)
H A Dd4_17pf.cpp243 for (i = 0; i < L_SUBFR; i++)
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dcnst.h31 #define L_SUBFR 64 /* Subframe size */ macro

Completed in 242 milliseconds

12