/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
p_med_ol.c | 35 Word16 L_frame /* i: length of frame to compute pitch */ 63 for (j = 0; j < L_frame; j+=4) 94 Hp_wsp(wsp, hp_wsp, L_frame, hp_wsp_mem); 102 for (j = 0; j < L_frame; j+=4) 153 old_hp_wsp[i] = old_hp_wsp[i + L_frame];
|
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) */
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
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...] |
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...] |
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...] |
hp_max.cpp | 85 L_frame = length of frame to compute pitch (Word16 131 Word16 L_frame, // i : length of frame to compute pitch 164 for (i = 0; i < L_frame; i++, p++, p1++) 172 for (i = 0; i < L_frame; i++, p++, p1++) 240 Word16 L_frame, /* i : length of frame to compute pitch */ 275 for (i = 0; i < L_frame; i++, p++, p1++) 283 for (i = 0; i < L_frame; i++, p++, p1++)
|
calc_cor.h | 77 Word16 L_frame, /* i : length of frame to compute pitch */
|
calc_cor.cpp | 106 L_frame = length of frame used to compute pitch(Word16) 152 Word16 L_frame, // i : length of frame to compute pitch 167 for (j = 0; j < L_frame; j++, p++, p1++) 202 Word16 L_frame, /* i : length of frame to compute pitch */ 246 for (j = (L_frame >> 1); j != 0; j--)
|
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) */
|
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
|
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);
|
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...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
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)];
|
cnst.h | 28 #define L_FRAME 256 /* Frame size */
|
dtx.h | 93 Word32 enr, /* i : residual energy (in L_FRAME) */
|
p_med_o.h | 31 Word16 L_frame, /* input : length of frame to compute pitch */
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
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);
|
gsmamr_dec.h | 61 Description: Added comment to describe L_FRAME. 106 /* L_FRAME = (8 kHz) * (20 msec) = 160 samples */ 107 #define L_FRAME 160
|
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++)
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
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...] |
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 */
|
oversamp_12k8_to_16k.cpp | 118 int16 L_frame /* input: length of output */ 238 int16 L_frame /* input: length of output */ 247 for (j = 0; j < L_frame; j++)
|
dtx.h | 174 int32 enr, /* i : residual energy (in L_FRAME) */
|