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

1 2

  /frameworks/av/media/libstagefright/codecs/amrwb/src/
phase_dispersion.cpp 98 #define L_SUBFR 64
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...]
synthesis_amr_wb.cpp 163 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 >> 2; i != 0; i--
    [all...]
e_pv_amrwbdec.h 127 int16 ScratchMem[L_SUBFR + L_SUBFR16k + ((L_SUBFR + M + M16k +1)<<1) + \
129 + 3*(M+L_SUBFR) + M16k];
pvamrwbdecoder_cnst.h 84 #define L_SUBFR 64 /* Subframe size */
pvamrwbdecoder.cpp 295 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 + 1)
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
spreproc.cpp 211 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);
pre_big.cpp 200 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);
spstproc.cpp 242 for (i = L_SUBFR >> 1; i != 0 ; i--)
278 L_SUBFR,
282 for (i = L_SUBFR - M, j = 0; i < L_SUBFR; i++, j++)
cod_amr.h 118 * 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;
cl_ltp.cpp 525 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; i++
    [all...]
cod_amr.cpp 392 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]; // Target vector for codebook searc
    [all...]
cbsearch.cpp 57 filter h[-L_subfr..-1] must be set to
186 /* filter h[-L_subfr..-1] must be set to */
285 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/
c2t64fx.c 62 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; i ++
    [all...]
cor_h_x.c 31 #define L_SUBFR 64
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)
voAMRWBEnc.c 184 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]; /* error of quantization *
    [all...]
c4t64fx.c 63 #define L_SUBFR 64
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/4; i++
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/common/include/
cnst.h 69 #define L_SUBFR 40 /* Subframe size */
  /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
pstfilt.h 104 Word16 res2[L_SUBFR];
pstfilt.cpp 207 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, pOverflow)
    [all...]
d2_11pf.cpp 196 for (i = 0; i < L_SUBFR; i++)
ph_disp.cpp 458 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; i++
    [all...]
d2_9pf.cpp 220 for (i = L_SUBFR - 1; i >= 0; i--)
d3_14pf.cpp 204 for (i = 0; i < L_SUBFR; i++)
d4_17pf.cpp 243 for (i = 0; i < L_SUBFR; i++)
  /frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
cnst.h 31 #define L_SUBFR 64 /* Subframe size */

Completed in 281 milliseconds

1 2