/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
gsmamr_dec.h | 61 Description: Added comment to describe L_FRAME. 107 /* L_FRAME = (8 kHz) * (20 msec) = 160 samples */ 108 #define L_FRAME 160
|
pstfilt.h | 108 Word16 synth_buf[M + L_FRAME];
|
pstfilt.cpp | 208 Set_zero (state->synth_buf, L_FRAME + M); 248 memset(state->synth_buf, 0, sizeof(Word16)*(L_FRAME + M)); 338 Copy (syn, syn_work , L_FRAME); 342 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) 411 Copy (&syn_work[L_FRAME - M], &syn_work[-M], M); 466 Copy(syn, syn_work , L_FRAME); 470 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) 575 Copy(&syn_work[L_FRAME - M], &syn_work[-M], M);
|
sp_dec.cpp | 594 Post_Process(st->postHP_state, synth, L_FRAME); 598 for (i = 0; i < L_FRAME; i++) 684 L_FRAME, 689 for (i = 0; i < L_FRAME; i++)
|
bgnscd.cpp | 252 for (i = 0; i < L_FRAME; i++) 421 for (i = L_FRAME - 1; i >= 0; i--)
|
dtx_dec.cpp | [all...] |
dec_amr.cpp | 541 Word16 synth[], // o : synthesis speech (L_FRAME) 706 * The subframe size is L_SUBFR and the loop is repeated L_FRAME/L_SUBFR * 719 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
cnst.h | 67 #define L_FRAME 160 /* Frame size */
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
sp_enc.cpp | 481 new_speech = pointer to buffer of length L_FRAME that contains 600 new_speech = pointer to buffer of length L_FRAME that contains 657 Word16 syn[L_FRAME]; // Buffer for synthesis speech 669 for (i = 0; i < L_FRAME; i++) 678 Pre_Process (st->pre_state, new_speech, L_FRAME); 728 Word16 syn[L_FRAME]; /* Buffer for synthesis speech */ 738 for (i = 0; i < L_FRAME; i++) 745 Pre_Process(st->pre_state, new_speech, L_FRAME);
|
gsmamr_enc.h | 65 Description: Added comment to describe L_FRAME. 106 /* L_FRAME = (8 kHz) * (20 msec) = 160 samples */ 107 #define L_FRAME 160
|
cod_amr.h | 116 * L_FRAME : Frame size. * 134 Word16 old_wsp[L_FRAME + PIT_MAX]; 142 Word16 old_exc[L_FRAME + PIT_MAX + L_INTERPOL]; 232 Word16 new_speech[] /* i : speech input (L_FRAME) */ 261 Word16 new_speech[], /* i : speech input (L_FRAME) */
|
ol_ltp.cpp | 151 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx); 223 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx,
|
cod_amr.cpp | 379 st->new_speech = st->old_speech + L_TOTAL - L_FRAME; // New speech 477 st->new_speech = st->old_speech + L_TOTAL - L_FRAME; /* New speech */ 669 new_speech = pointer to buffer of length L_FRAME that contains 707 Word16 new_speech[]) // i : speech input (L_FRAME) 710 // Copy(new_speech,st->new_speech,L_FRAME); 739 Word16 new_speech[]) /* i : speech input (L_FRAME) */ 744 /* Copy(new_speech,st->new_speech,L_FRAME); */ 760 new_speech = pointer to buffer of length L_FRAME that contains 815 Word16 new_speech[], // i : speech input (L_FRAME) 855 Word16 T_op[L_FRAME/L_FRAME_BY2] [all...] |
dtx_enc.cpp | 896 for (i=0; i < L_FRAME; i++) 906 // divide with L_FRAME i.e subtract with log2(L_FRAME) = 7.32193 968 for (i = L_FRAME; i != 0; i--) 996 /* divide with L_FRAME i.e subtract with log2(L_FRAME) = 7.32193 */ [all...] |
p_ol_wgh.cpp | 418 L_frame = length of frame to compute pitch (Word16) 470 Word16 L_frame, // i : length of frame to compute pitch 521 for (j = 0; j < L_frame; j++, p++, p1++) 575 Word16 L_frame, /* i : length of frame to compute pitch */ 634 for (j = 0; j < L_frame; j++, p++, p1++) 681 L_frame = 16 bit value specifies the length of frame to compute pitch 725 Word16 L_frame, // i : length of frame to compute pitch 742 Word16 scaled_signal[PIT_MAX + L_FRAME]; 748 for (i = -pit_max; i < L_frame; i++) 766 for (i = -pit_max; i < L_frame; i++ [all...] |
pitch_ol.cpp | 96 L_frame = length of frame to compute pitch (Word16) 128 L_frame = length of frame to compute pitch (Word16) 180 Word16 L_frame, // i : length of frame to compute pitch 195 Word16 L_frame, // i : length of frame to compute pitch 225 for (i = 0; i < L_frame; i++, p++) 298 Word16 L_frame, /* i : length of frame to compute pitch */ 314 Word16 L_frame, /* i : length of frame to compute pitch */ 359 for (i = (L_frame >> 2); i != 0; i--) 478 L_frame = length of frame to compute pitch (Word16) 512 L_frame = length of frame to compute pitch (Word16 [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
pvamrwbdecoder_cnst.h | 81 #define L_FRAME 256 /* Frame size */
|
e_pv_amrwbdec.h | 128 (2*L_FRAME + 1) + PIT_MAX + L_INTERPOL + NB_SUBFR*(M+1) \
|
dtx_decoder_amr_wb.cpp | 398 for (i = 0; i < L_FRAME; i++) 403 /* gain = level / sqrt(ener) * sqrt(L_FRAME) */ 406 ener32 = Dot_product12(exc2, exc2, L_FRAME, &exp); 416 /* Multiply by sqrt(L_FRAME)=16, i.e. shift left by 4 */ 419 for (i = 0; i < L_FRAME; i++) 483 for (i = 0; i < L_FRAME; i++) 489 /* log_en = (float)log10(L_frame_en/(float)L_FRAME)/(float)log10(2.0f); */ 496 /* Divide by L_FRAME = 256, i.e subtract 8 in Q7 = 1024 */
|
pvamrwbdecoder.cpp | 303 int16 *Aq = &old_exc[(L_FRAME + 1) + PIT_MAX + L_INTERPOL];/* A(z) quantized for the 4 subframes */ 311 int16 *HfIsf = &exc2[L_FRAME]; 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) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
cnst.h | 28 #define L_FRAME 256 /* Frame size */
|
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)];
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
voAMRWBEnc.c | 97 Set_zero(cod_state->old_speech, L_TOTAL - L_FRAME); 126 Set_zero(cod_state->old_hp_wsp, (L_FRAME / 2) / OPL_DECIM + (PIT_MAX / OPL_DECIM)); 167 Word16 old_wsp[L_FRAME + (PIT_MAX / OPL_DECIM)]; 171 Word16 old_exc[(L_FRAME + 1) + PIT_MAX + L_INTERPOL]; 197 Word16 exc2[L_FRAME]; /* excitation vector */ 198 Word16 buf[L_FRAME]; /* VAD buffer */ 229 * | <-- present frame (L_FRAME) ----> * 230 * p_window | <----- new speech (L_FRAME) ----> * 236 new_speech = old_speech + L_TOTAL - L_FRAME - L_FILT; /* New speech */ 237 speech = old_speech + L_TOTAL - L_FRAME - L_NEXT; /* Present frame * [all...] |
lp_dec2.c | 41 Word16 *p_x, x_buf[L_FRAME + L_MEM];
|
dtx.c | 258 for (i = 0; i < L_FRAME; i++) 263 /* gain = level / sqrt(ener) * sqrt(L_FRAME) */ 266 ener32 = Dot_product12(exc2, exc2, L_FRAME, &exp); 276 /* Multiply by sqrt(L_FRAME)=16, i.e. shift left by 4 */ 279 for (i = 0; i < L_FRAME; i++) 296 Word32 enr, /* i : residual energy (in L_FRAME) */ 325 /* Find energy per sample (divide by L_FRAME=256), i.e subtract log2(256) = 8.0 (1024 in Q7) */
|