Home
last modified time | relevance | path

Searched refs:L_SUBFR (Results 1 – 25 of 31) sorted by relevance

12

/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/
Dphase_dispersion.cpp98 #define L_SUBFR 64 macro
112 const int16 ph_imp_low[L_SUBFR] =
125 const int16 ph_imp_mid[L_SUBFR] =
168 pv_memset((void *)code2, 0, (2*L_SUBFR)*sizeof(*code2)); in phase_dispersion()
228 for (i = 0; i < L_SUBFR; i++) in phase_dispersion()
232 for (j = 0; j < L_SUBFR; j++) in phase_dispersion()
241 for (i = 0; i < L_SUBFR; i++) in phase_dispersion()
245 for (j = 0; j < L_SUBFR; j++) in phase_dispersion()
254 for (i = 0; i < L_SUBFR; i++) in phase_dispersion()
256 code[i] = add_int16(code2[i], code2[i + L_SUBFR]); in phase_dispersion()
Dsynthesis_amr_wb.cpp163 int16 *synth_lo = &ScratchMem[M + L_SUBFR]; in synthesis_amr_wb()
164 int16 *synth = &synth_lo[M + L_SUBFR]; in synthesis_amr_wb()
165 int16 *HF = &synth[L_SUBFR]; in synthesis_amr_wb()
186 Syn_filt_32(Aq, M, exc, Q_new, synth_hi + M, synth_lo + M, L_SUBFR); in synthesis_amr_wb()
189 (void *)(synth_hi + L_SUBFR), in synthesis_amr_wb()
193 (void *)(synth_lo + L_SUBFR), in synthesis_amr_wb()
200 L_SUBFR, in synthesis_amr_wb()
204 L_SUBFR, in synthesis_amr_wb()
208 L_SUBFR, in synthesis_amr_wb()
235 for (i = L_SUBFR >> 2; i != 0; i--) in synthesis_amr_wb()
[all …]
Dpvamrwbdecoder.cpp295 int16 *ScratchMem2 = &ScratchMem[ L_SUBFR + L_SUBFR16k + ((L_SUBFR + M + M16k +1)<<1)]; in pvDecoder_AmrWb()
309 int16 *excp = &code[L_SUBFR]; in pvDecoder_AmrWb()
310 int16 *exc2 = &excp[L_SUBFR]; /* excitation vector */ in pvDecoder_AmrWb()
443 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in pvDecoder_AmrWb()
571 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in pvDecoder_AmrWb()
576 if ((i_subfr == 2*L_SUBFR) && (nb_bits > NBBITS_7k)) in pvDecoder_AmrWb()
676 Pred_lt4(&exc[i_subfr], T0, T0_frac, L_SUBFR + 1); in pvDecoder_AmrWb()
700 for (i = 0; i < L_SUBFR; i++) in pvDecoder_AmrWb()
708 pv_memcpy((void *)&exc[i_subfr], (void *)code, L_SUBFR*sizeof(*code)); in pvDecoder_AmrWb()
719 for (i = 0; i < L_SUBFR; i++) in pvDecoder_AmrWb()
[all …]
De_pv_amrwbdec.h127 int16 ScratchMem[L_SUBFR + L_SUBFR16k + ((L_SUBFR + M + M16k +1)<<1) + \
129 + 3*(M+L_SUBFR) + M16k];
Dpvamrwbdecoder_cnst.h84 #define L_SUBFR 64 /* Subframe size */ macro
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/
Dcod_amr.cpp488 st->h1 = &st->hvec[L_SUBFR]; in cod_amr_reset()
502 oscl_memset(st->zero, 0, sizeof(Word16)*L_SUBFR); in cod_amr_reset()
503 oscl_memset(st->hvec, 0, sizeof(Word16)*L_SUBFR); /* set to zero "h1[-L_SUBFR..-1]" */ in cod_amr_reset()
1229 Word16 xn[L_SUBFR]; /* Target vector for pitch search */ in cod_amr()
1230 Word16 xn2[L_SUBFR]; /* Target vector for codebook search */ in cod_amr()
1231 Word16 code[L_SUBFR]; /* Fixed codebook excitation */ in cod_amr()
1232 Word16 y1[L_SUBFR]; /* Filtered adaptive excitation */ in cod_amr()
1233 Word16 y2[L_SUBFR]; /* Filtered fixed codebook excitation */ in cod_amr()
1235 Word16 res[L_SUBFR]; /* Short term (LPC) prediction residual */ in cod_amr()
1236 Word16 res2[L_SUBFR]; /* Long term (LTP) prediction residual */ in cod_amr()
[all …]
Dspreproc.cpp210 Syn_filt(Aq, ai_zero, h1, L_SUBFR, zero, 0); in subframePreProc()
211 Syn_filt(Ap2, h1, h1, L_SUBFR, zero, 0); in subframePreProc()
220 Residu(Aq, speech, res2, L_SUBFR); in subframePreProc()
222 oscl_memcpy(exc, res2, L_SUBFR*sizeof(Word16)); in subframePreProc()
224 Syn_filt(Aq, exc, error, L_SUBFR, mem_err, 0); in subframePreProc()
226 Residu(Ap1, error, xn, L_SUBFR); in subframePreProc()
229 Syn_filt(Ap2, xn, xn, L_SUBFR, mem_w0, 0); in subframePreProc()
Dcl_ltp.cpp663 L_SUBFR, in cl_ltp()
685 L_SUBFR, in cl_ltp()
689 Convolve(exc, h1, yl, L_SUBFR); in cl_ltp()
698 L_SUBFR, in cl_ltp()
753 for (i = 0; i < L_SUBFR; i++) in cl_ltp()
Dspstproc.cpp242 for (i = L_SUBFR >> 1; i != 0 ; i--) in subframePostProc()
278 L_SUBFR, in subframePostProc()
282 for (i = L_SUBFR - M, j = 0; i < L_SUBFR; i++, j++) in subframePostProc()
Dcbsearch.cpp285 for (i = T0; i < L_SUBFR; i++) in cbsearch()
317 for (i = T0; i < L_SUBFR; i++) in cbsearch()
343 for (i = T0; i < L_SUBFR; i++) in cbsearch()
376 for (i = T0; i < L_SUBFR; i++) in cbsearch()
Dpre_big.cpp200 Residu(Ap1, &speech[frameOffset], &wsp[frameOffset], L_SUBFR); in pre_big()
202 Syn_filt(Ap2, &wsp[frameOffset], &wsp[frameOffset], L_SUBFR, mem_w, 1); in pre_big()
206 frameOffset = add(frameOffset, L_SUBFR, pOverflow); in pre_big()
Dcod_amr.h146 Word16 ai_zero[L_SUBFR + MP1];
151 Word16 hvec[L_SUBFR * 2];
166 Word16 mem_err[M + L_SUBFR], *error;
Dcalc_en.cpp615 Word16 scaled_y2[L_SUBFR]; in calc_filt_energies()
636 for (i = 0; i < L_SUBFR; i++) in calc_filt_energies()
670 for (i = 0; i < L_SUBFR; i++) in calc_filt_energies()
806 for (i = 0; i < L_SUBFR; i++) in calc_target_energy()
Dg_code.cpp249 for (i = (L_SUBFR >> 2); i != 0 ; i--) in G_code()
284 for (i = (L_SUBFR >> 1); i != 0 ; i--) in G_code()
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/src/
Ddec_amr.cpp1359 Word16 code[L_SUBFR]; in Decoder_amr()
1363 Word16 excp[L_SUBFR]; in Decoder_amr()
1364 Word16 exc_enhanced[L_SUBFR]; in Decoder_amr()
1562 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in Decoder_amr()
1648 Pred_lt_3or6(st->exc, T0, T0_frac, L_SUBFR, 1, pOverflow); in Decoder_amr()
1663 Pred_lt_3or6(st->exc, T0, T0_frac, L_SUBFR, 0, pOverflow); in Decoder_amr()
1797 for (i = T0; i < L_SUBFR; i++) in Decoder_amr()
1923 if (st->old_T0 > (L_SUBFR + 5)) in Decoder_amr()
2052 for (i = 0; i < L_SUBFR; i++) in Decoder_amr()
2165 for (i = 0; i < L_SUBFR; i++) in Decoder_amr()
[all …]
Dpstfilt.cpp246 oscl_memset(state->res2, 0, sizeof(Word16)*L_SUBFR); in Post_Filter_reset()
469 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in Post_Filter()
486 Residu(Ap3, &syn_work[i_subfr], st->res2, L_SUBFR); in Post_Filter()
558 preemphasis(&(st->preemph_state), st->res2, temp2, L_SUBFR, pOverflow); in Post_Filter()
562 Syn_filt(Ap4, st->res2, &syn[i_subfr], L_SUBFR, st->mem_syn_pst, 1); in Post_Filter()
567 AGC_FAC, L_SUBFR, pOverflow); in Post_Filter()
Dph_disp.cpp676 Word16 inno_sav[L_SUBFR]; in ph_disp()
677 Word16 ps_poss[L_SUBFR]; in ph_disp()
811 for (i = 0; i < L_SUBFR; i++) in ph_disp()
856 for (i = ppos; i < L_SUBFR; i++) in ph_disp()
883 for (i = 0; i < L_SUBFR; i++) in ph_disp()
Dd8_31pf.cpp601 if (pos1 < L_SUBFR) in dec_8i40_31bits()
617 if (pos2 < L_SUBFR) in dec_8i40_31bits()
Dpstfilt.h104 Word16 res2[L_SUBFR];
Dd2_11pf.cpp196 for (i = 0; i < L_SUBFR; i++) in decode_2i40_11bits()
Dd3_14pf.cpp204 for (i = 0; i < L_SUBFR; i++) in decode_3i40_14bits()
Dd2_9pf.cpp220 for (i = L_SUBFR - 1; i >= 0; i--) in decode_2i40_9bits()
Dd4_17pf.cpp243 for (i = 0; i < L_SUBFR; i++) in decode_4i40_17bits()
Ddec_amr.h117 Word16 old_exc[L_SUBFR + PIT_MAX + L_INTERPOL];
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/
Dcnst.h69 #define L_SUBFR 40 /* Subframe size */ macro

12