Home
last modified time | relevance | path

Searched refs:L_FRAME (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c97 Set_zero(cod_state->old_speech, L_TOTAL - L_FRAME); in Reset_encoder()
126 Set_zero(cod_state->old_hp_wsp, (L_FRAME / 2) / OPL_DECIM + (PIT_MAX / OPL_DECIM)); in Reset_encoder()
167 Word16 old_wsp[L_FRAME + (PIT_MAX / OPL_DECIM)]; in coder()
171 Word16 old_exc[(L_FRAME + 1) + PIT_MAX + L_INTERPOL]; in coder()
197 Word16 exc2[L_FRAME]; /* excitation vector */ in coder()
198 Word16 buf[L_FRAME]; /* VAD buffer */ in coder()
236 new_speech = old_speech + L_TOTAL - L_FRAME - L_FILT; /* New speech */ in coder()
237 speech = old_speech + L_TOTAL - L_FRAME - L_NEXT; /* Present frame */ in coder()
244 Copy(st->old_speech, old_speech, L_TOTAL - L_FRAME); in coder()
261 Decim_12k8(error, L_FILT16k, new_speech + L_FRAME, code); in coder()
[all …]
Dlp_dec2.c41 Word16 *p_x, x_buf[L_FRAME + L_MEM]; in LP_Decim2()
Ddtx.c258 for (i = 0; i < L_FRAME; i++) in dtx_enc()
266 ener32 = Dot_product12(exc2, exc2, L_FRAME, &exp); in dtx_enc()
279 for (i = 0; i < L_FRAME; i++) in dtx_enc()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dpstfilt.cpp248 memset(state->synth_buf, 0, sizeof(Word16)*(L_FRAME + M)); in Post_Filter_reset()
466 Copy(syn, syn_work , L_FRAME); in Post_Filter()
470 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in Post_Filter()
575 Copy(&syn_work[L_FRAME - M], &syn_work[-M], M); in Post_Filter()
Dsp_dec.cpp678 L_FRAME, in GSMFrameDecode()
683 for (i = 0; i < L_FRAME; i++) in GSMFrameDecode()
Dgsmamr_dec.h108 #define L_FRAME 160 macro
Dpstfilt.h108 Word16 synth_buf[M + L_FRAME];
Dbgnscd.cpp421 for (i = L_FRAME - 1; i >= 0; i--) in Bgn_scd()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dsp_enc.cpp728 Word16 syn[L_FRAME]; /* Buffer for synthesis speech */ in GSMEncodeFrame()
738 for (i = 0; i < L_FRAME; i++) in GSMEncodeFrame()
745 Pre_Process(st->pre_state, new_speech, L_FRAME); in GSMEncodeFrame()
Dcod_amr.cpp477 st->new_speech = st->old_speech + L_TOTAL - L_FRAME; /* New speech */ in cod_amr_reset()
1258 Word16 T_op[L_FRAME/L_FRAME_BY2]; in cod_amr()
1270 memcpy(st->new_speech, new_speech, L_FRAME*sizeof(Word16)); in cod_amr()
1363 subfrNr < L_FRAME / L_FRAME_BY2; in cod_amr()
1435 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in cod_amr()
1594 memcpy(&st->old_exc[0], &st->old_exc[L_FRAME], (PIT_MAX + L_INTERPOL)*sizeof(Word16)); in cod_amr()
1602 memcpy(&st->old_wsp[0], &st->old_wsp[L_FRAME], PIT_MAX*sizeof(Word16)); in cod_amr()
1603 memcpy(&st->old_speech[0], &st->old_speech[L_FRAME], (L_TOTAL - L_FRAME)*sizeof(Word16)); in cod_amr()
Dcod_amr.h134 Word16 old_wsp[L_FRAME + PIT_MAX];
142 Word16 old_exc[L_FRAME + PIT_MAX + L_INTERPOL];
Dgsmamr_enc.h107 #define L_FRAME 160 macro
Dol_ltp.cpp223 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx, in ol_ltp()
Dp_ol_wgh.cpp885 Word16 scaled_signal[PIT_MAX + L_FRAME]; in Pitch_ol_wgh()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dcod_main.h38 Word16 old_speech[L_TOTAL - L_FRAME]; /* old speech vector at 12.8kHz */
63 Word16 old_hp_wsp[L_FRAME / OPL_DECIM + (PIT_MAX / OPL_DECIM)];
Dcnst.h28 #define L_FRAME 256 /* Frame size */ macro
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dcnst.h67 #define L_FRAME 160 /* Frame size */ macro
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpvamrwbdecoder_cnst.h81 #define L_FRAME 256 /* Frame size */ macro
Dpvamrwbdecoder.cpp303 …int16 *Aq = &old_exc[(L_FRAME + 1) + PIT_MAX + L_INTERPOL];/* A(z) quantized for the 4 subframes… in pvDecoder_AmrWb()
311 int16 *HfIsf = &exc2[L_FRAME]; 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()
1136 (void *)&old_exc[L_FRAME], in pvDecoder_AmrWb()
1139 scale_signal(exc, L_FRAME, (int16)(-Q_new)); in pvDecoder_AmrWb()
De_pv_amrwbdec.h128 (2*L_FRAME + 1) + PIT_MAX + L_INTERPOL + NB_SUBFR*(M+1) \
Ddtx_decoder_amr_wb.cpp398 for (i = 0; i < L_FRAME; i++) in dtx_dec_amr_wb()
406 ener32 = Dot_product12(exc2, exc2, L_FRAME, &exp); in dtx_dec_amr_wb()
419 for (i = 0; i < L_FRAME; i++) in dtx_dec_amr_wb()
483 for (i = 0; i < L_FRAME; i++) in dtx_dec_amr_wb_activity_update()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.h48 static const int32_t kNumSamplesPerFrame = L_FRAME;
/frameworks/av/media/libstagefright/codecs/amrnb/fuzzer/
Damrnb_dec_fuzzer.cpp25 constexpr int32_t kSamplesPerFrame = L_FRAME;
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
DAmrnbDecoderTest.cpp32 constexpr int32_t kSamplesPerFrame = L_FRAME;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
DAmrnbEncoderTest.cpp31 constexpr int32_t kInputBufferSize = L_FRAME * 2; // 160 samples * 16-bit per sample.

12