/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | voAMRWBEnc.c | 186 Word16 xn[L_SUBFR]; /* Target vector for pitch search */ in coder() 187 Word16 xn2[L_SUBFR]; /* Target vector for codebook search */ in coder() 188 Word16 dn[L_SUBFR]; /* Correlation between xn2 and h1 */ in coder() 189 Word16 cn[L_SUBFR]; /* Target vector in residual domain */ in coder() 190 Word16 h1[L_SUBFR]; /* Impulse response vector */ in coder() 191 Word16 h2[L_SUBFR]; /* Impulse response vector */ in coder() 192 Word16 code[L_SUBFR]; /* Fixed codebook excitation */ in coder() 193 Word16 y1[L_SUBFR]; /* Filtered adaptive excitation */ in coder() 194 Word16 y2[L_SUBFR]; /* Filtered adaptive excitation */ in coder() 195 Word16 error[M + L_SUBFR]; /* error of quantization */ in coder() [all …]
|
D | c2t64fx.c | 62 Word16 sign[L_SUBFR], vec[L_SUBFR], dn2[L_SUBFR]; in ACELP_2t64_fx() 63 Word16 h_buf[4 * L_SUBFR] = {0}; in ACELP_2t64_fx() 76 s = Dot_product12_asm(cn, cn, L_SUBFR, &exp); in ACELP_2t64_fx() 78 s = Dot_product12(cn, cn, L_SUBFR, &exp); in ACELP_2t64_fx() 90 s = Dot_product12_asm(dn, dn, L_SUBFR, &exp); in ACELP_2t64_fx() 92 s = Dot_product12(dn, dn, L_SUBFR, &exp); in ACELP_2t64_fx() 104 for (i = 0; i < L_SUBFR/4; i++) in ACELP_2t64_fx() 117 for (i = 0; i < L_SUBFR; i ++) in ACELP_2t64_fx() 136 h = h_buf + L_SUBFR; in ACELP_2t64_fx() 137 h_inv = h + (L_SUBFR<<1); in ACELP_2t64_fx() [all …]
|
D | cor_h_x.c | 31 #define L_SUBFR 64 macro 42 Word32 L_tmp, y32[L_SUBFR], L_tot; in cor_h_x() 52 for (i = 0; i < L_SUBFR; i += STEP) in cor_h_x() 57 for (j = i; j < L_SUBFR; j++) in cor_h_x() 70 for (j = i+1; j < L_SUBFR; j++) in cor_h_x() 83 for (j = i+2; j < L_SUBFR; j++) in cor_h_x() 96 for (j = i+3; j < L_SUBFR; j++) in cor_h_x() 122 for (i = 0; i < L_SUBFR; i+=4) in cor_h_x()
|
D | c4t64fx.c | 63 #define L_SUBFR 64 macro 141 Word16 dn2[L_SUBFR], sign[L_SUBFR], vec[L_SUBFR]; in ACELP_4t64_fx() 145 Word16 h_buf[4 * L_SUBFR]; in ACELP_4t64_fx() 243 s = Dot_product12_asm(cn, cn, L_SUBFR, &exp); in ACELP_4t64_fx() 245 s = Dot_product12(cn, cn, L_SUBFR, &exp); in ACELP_4t64_fx() 254 s = Dot_product12_asm(dn, dn, L_SUBFR, &exp); in ACELP_4t64_fx() 256 s = Dot_product12(dn, dn, L_SUBFR, &exp); in ACELP_4t64_fx() 268 for (i = 0; i < L_SUBFR/4; i++) in ACELP_4t64_fx() 281 for(i = 0; i < L_SUBFR; i++) in ACELP_4t64_fx() 306 for (j = i; j < L_SUBFR; j += STEP) in ACELP_4t64_fx() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | phase_dispersion.cpp | 98 #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)); 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()
|
D | synthesis_amr_wb.cpp | 163 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 …]
|
D | pvamrwbdecoder.cpp | 295 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 …]
|
D | e_pv_amrwbdec.h | 127 int16 ScratchMem[L_SUBFR + L_SUBFR16k + ((L_SUBFR + M + M16k +1)<<1) + \ 129 + 3*(M+L_SUBFR) + M16k];
|
D | pvamrwbdecoder_cnst.h | 84 #define L_SUBFR 64 /* Subframe size */ macro
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | spreproc.cpp | 211 Syn_filt(Aq, ai_zero, h1, L_SUBFR, zero, 0); in subframePreProc() 212 Syn_filt(Ap2, h1, h1, L_SUBFR, zero, 0); in subframePreProc() 221 Residu(Aq, speech, res2, L_SUBFR); in subframePreProc() 223 memcpy(exc, res2, L_SUBFR*sizeof(Word16)); in subframePreProc() 225 Syn_filt(Aq, exc, error, L_SUBFR, mem_err, 0); in subframePreProc() 227 Residu(Ap1, error, xn, L_SUBFR); in subframePreProc() 230 Syn_filt(Ap2, xn, xn, L_SUBFR, mem_w0, 0); in subframePreProc()
|
D | cod_amr.cpp | 490 st->h1 = &st->hvec[L_SUBFR]; in cod_amr_reset() 504 memset(st->zero, 0, sizeof(Word16)*L_SUBFR); in cod_amr_reset() 505 memset(st->hvec, 0, sizeof(Word16)*L_SUBFR); /* set to zero "h1[-L_SUBFR..-1]" */ in cod_amr_reset() 1231 Word16 xn[L_SUBFR]; /* Target vector for pitch search */ in cod_amr() 1232 Word16 xn2[L_SUBFR]; /* Target vector for codebook search */ in cod_amr() 1233 Word16 code[L_SUBFR]; /* Fixed codebook excitation */ in cod_amr() 1234 Word16 y1[L_SUBFR]; /* Filtered adaptive excitation */ in cod_amr() 1235 Word16 y2[L_SUBFR]; /* Filtered fixed codebook excitation */ in cod_amr() 1237 Word16 res[L_SUBFR]; /* Short term (LPC) prediction residual */ in cod_amr() 1238 Word16 res2[L_SUBFR]; /* Long term (LTP) prediction residual */ in cod_amr() [all …]
|
D | cl_ltp.cpp | 664 L_SUBFR, in cl_ltp() 686 L_SUBFR, in cl_ltp() 690 Convolve(exc, h1, yl, L_SUBFR); in cl_ltp() 699 L_SUBFR, in cl_ltp() 754 for (i = 0; i < L_SUBFR; i++) in cl_ltp()
|
D | spstproc.cpp | 242 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()
|
D | pre_big.cpp | 200 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()
|
D | cbsearch.cpp | 285 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()
|
D | cod_amr.h | 146 Word16 ai_zero[L_SUBFR + MP1]; 151 Word16 hvec[L_SUBFR * 2]; 166 Word16 mem_err[M + L_SUBFR], *error;
|
D | calc_en.cpp | 615 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()
|
D | g_code.cpp | 249 for (i = (L_SUBFR >> 2); i != 0 ; i--) in G_code() 284 for (i = (L_SUBFR >> 1); i != 0 ; i--) in G_code()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | pstfilt.cpp | 247 memset(state->res2, 0, sizeof(Word16)*L_SUBFR); in Post_Filter_reset() 470 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in Post_Filter() 487 Residu(Ap3, &syn_work[i_subfr], st->res2, L_SUBFR); in Post_Filter() 559 preemphasis(&(st->preemph_state), st->res2, temp2, L_SUBFR, pOverflow); in Post_Filter() 563 Syn_filt(Ap4, st->res2, &syn[i_subfr], L_SUBFR, st->mem_syn_pst, 1); in Post_Filter() 568 AGC_FAC, L_SUBFR, pOverflow); in Post_Filter()
|
D | dec_amr.cpp | 1360 Word16 code[L_SUBFR]; in Decoder_amr() 1364 Word16 excp[L_SUBFR]; in Decoder_amr() 1365 Word16 exc_enhanced[L_SUBFR]; in Decoder_amr() 1563 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in Decoder_amr() 1649 Pred_lt_3or6(st->exc, T0, T0_frac, L_SUBFR, 1, pOverflow); in Decoder_amr() 1664 Pred_lt_3or6(st->exc, T0, T0_frac, L_SUBFR, 0, pOverflow); in Decoder_amr() 1798 for (i = T0; i < L_SUBFR; i++) in Decoder_amr() 1924 if (st->old_T0 > (L_SUBFR + 5)) in Decoder_amr() 2053 for (i = 0; i < L_SUBFR; i++) in Decoder_amr() 2166 for (i = 0; i < L_SUBFR; i++) in Decoder_amr() [all …]
|
D | ph_disp.cpp | 676 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()
|
D | d8_31pf.cpp | 601 if (pos1 < L_SUBFR) in dec_8i40_31bits() 617 if (pos2 < L_SUBFR) in dec_8i40_31bits()
|
D | pstfilt.h | 104 Word16 res2[L_SUBFR];
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | cnst.h | 69 #define L_SUBFR 40 /* Subframe size */ macro
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | cnst.h | 31 #define L_SUBFR 64 /* Subframe size */ macro
|