/frameworks/av/media/codecs/amrwb/enc/src/ |
D | voAMRWBEnc.c | 97 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 …]
|
D | lp_dec2.c | 41 Word16 *p_x, x_buf[L_FRAME + L_MEM]; in LP_Decim2()
|
D | dtx.c | 258 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/codecs/amrnb/dec/src/ |
D | pstfilt.cpp | 248 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()
|
D | sp_dec.cpp | 678 L_FRAME, in GSMFrameDecode() 683 for (i = 0; i < L_FRAME; i++) in GSMFrameDecode()
|
D | gsmamr_dec.h | 108 #define L_FRAME 160 macro
|
D | pstfilt.h | 108 Word16 synth_buf[M + L_FRAME];
|
D | bgnscd.cpp | 421 for (i = L_FRAME - 1; i >= 0; i--) in Bgn_scd()
|
/frameworks/av/media/codecs/amrnb/enc/src/ |
D | sp_enc.cpp | 728 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()
|
D | cod_amr.cpp | 477 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()
|
D | cod_amr.h | 134 Word16 old_wsp[L_FRAME + PIT_MAX]; 142 Word16 old_exc[L_FRAME + PIT_MAX + L_INTERPOL];
|
D | gsmamr_enc.h | 107 #define L_FRAME 160 macro
|
D | ol_ltp.cpp | 223 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx, in ol_ltp()
|
/frameworks/av/media/codecs/amrwb/enc/inc/ |
D | cod_main.h | 38 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)];
|
D | cnst.h | 28 #define L_FRAME 256 /* Frame size */ macro
|
/frameworks/av/media/codecs/amrnb/common/include/ |
D | cnst.h | 67 #define L_FRAME 160 /* Frame size */ macro
|
/frameworks/av/media/codecs/amrwb/dec/src/ |
D | pvamrwbdecoder_cnst.h | 81 #define L_FRAME 256 /* Frame size */ macro
|
D | pvamrwbdecoder.cpp | 303 …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() 446 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in pvDecoder_AmrWb() 574 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) in pvDecoder_AmrWb() 1139 (void *)&old_exc[L_FRAME], in pvDecoder_AmrWb() 1142 scale_signal(exc, L_FRAME, (int16)(-Q_new)); in pvDecoder_AmrWb()
|
D | e_pv_amrwbdec.h | 128 (2*L_FRAME + 1) + PIT_MAX + L_INTERPOL + NB_SUBFR*(M+1) \
|
D | dtx_decoder_amr_wb.cpp | 398 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/ |
D | C2SoftAmrNbEnc.h | 48 static const int32_t kNumSamplesPerFrame = L_FRAME;
|
/frameworks/av/media/codecs/amrnb/fuzzer/ |
D | amrnb_dec_fuzzer.cpp | 25 constexpr int32_t kSamplesPerFrame = L_FRAME;
|
/frameworks/av/media/codecs/amrnb/enc/fuzzer/ |
D | amrnb_enc_fuzzer.cpp | 26 const int32_t kNumInputSamples = L_FRAME; // 160 samples
|
/frameworks/av/media/codecs/amrnb/dec/test/ |
D | AmrnbDecoderTest.cpp | 32 constexpr int32_t kSamplesPerFrame = L_FRAME;
|
/frameworks/av/media/codecs/amrnb/enc/test/ |
D | AmrnbEncoderTest.cpp | 31 constexpr int32_t kInputBufferSize = L_FRAME * 2; // 160 samples * 16-bit per sample.
|