/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
dtx_enc.h | 89 extern const Word16 lsp_init_data[]; 103 Word16 lsp_hist[M * DTX_HIST_SIZE]; 104 Word16 log_en_hist[DTX_HIST_SIZE]; 105 Word16 hist_ptr; 106 Word16 log_en_index; 107 Word16 init_lsf_vq_index; 108 Word16 lsp_index[3]; 111 Word16 dtxHangoverCount; 112 Word16 decAnaElapsedCount; 130 Word16 dtx_enc_init(dtx_encState **st) [all...] |
gain_q.cpp | 174 Word16 gainQuant_init(gainQuantState **state) 274 Word16 gainQuant_reset(gainQuantState *state) 386 res -- Word16 array -- LP residual, Q0 387 exc -- Word16 array -- LTP excitation (unfiltered), Q0 388 code -- Word16 array -- CB innovation (unfiltered), Q13 390 xn -- Word16 array -- Target vector. 391 xn2 -- Word16 array -- Target vector. 392 y1 -- Word16 array -- Adaptive codebook. 393 Y2 -- Word16 array -- Filtered innovative vector. 394 g_coeff -- Word16 array -- Correlations <xn y1> <y1 y1 [all...] |
calc_cor.h | 76 void comp_corr(Word16 scal_sig[], /* i : scaled signal. */ 77 Word16 L_frame, /* i : length of frame to compute pitch */ 78 Word16 lag_max, /* i : maximum lag */ 79 Word16 lag_min, /* i : minimum lag */
|
cbsearch.cpp | 55 x[] -- array of type Word16 -- target vector, Q0 56 h[] -- array of type Word16 -- impulse response of weighted synthesis 59 T0 -- Word16 -- Pitch lag 60 pitch_sharp -- Word16 -- Last quantized pitch gain, Q14 61 gain_pit -- Word16 gain_pit -- Pitch gain, Q14 62 res2[] -- array of type Word16 -- Long term prediction residual, Q0 64 subNr -- Word16 -- subframe number 67 code[] -- array of type Word16 -- Innovative codebook, Q13 68 y[] -- array of type Word16 -- filtered fixed codebook excitation 71 anap -- Double pointer to Word16 -- Signs of the pulse [all...] |
cod_amr.h | 129 Word16 old_speech[L_TOTAL]; 130 Word16 *speech, *p_window, *p_window_12k2; 131 Word16 *new_speech; /* Global variable */ 134 Word16 old_wsp[L_FRAME + PIT_MAX]; 135 Word16 *wsp; 138 Word16 old_lags[5]; 139 Word16 ol_gain_flg[2]; 142 Word16 old_exc[L_FRAME + PIT_MAX + L_INTERPOL]; 143 Word16 *exc; 146 Word16 ai_zero[L_SUBFR + MP1] [all...] |
cor_h_x.cpp | 118 filter; vector contents are of type Word16; vector length is 120 x = target signal vector; vector contents are of type Word16; vector 123 impulse response; vector contents are of type Word16; vector 125 sf = scaling factor of type Word16 ; 2 when mode is MR122, 1 for all 168 Word16 h[], // (i): impulse response of weighted synthesis filter 169 Word16 x[], // (i): target 170 Word16 dn[], // (o): correlation between target and h[] 171 Word16 sf // (i): scaling factor: 2 for 12.2, 1 for others 179 Word16 h[], // (i): impulse response of weighted synthesis filter 180 Word16 x[], // (i): targe [all...] |
gain_q.h | 116 Word16 sf0_exp_gcode0; 117 Word16 sf0_frac_gcode0; 118 Word16 sf0_exp_target_en; 119 Word16 sf0_frac_target_en; 120 Word16 sf0_exp_coeff[5]; 121 Word16 sf0_frac_coeff[5]; 122 Word16 *gain_idx_ptr; 133 Word16 gainQuant_init(gainQuantState **st); 139 Word16 gainQuant_reset(gainQuantState *st); 151 Word16 res[], /* i : LP residual, Q0 * [all...] |
spreproc.h | 110 const Word16 gamma1[], /* i : spectral exp. factor 1 */ 111 const Word16 gamma1_12k2[],/* i : spectral exp. factor 1 for EFR */ 112 const Word16 gamma2[], /* i : spectral exp. factor 2 */ 113 Word16 *A, /* i : A(z) unquantized for the 4 subframes */ 114 Word16 *Aq, /* i : A(z) quantized for the 4 subframes */ 115 Word16 *speech, /* i : speech segment */ 116 Word16 *mem_err, /* i : pointer to error signal */ 117 Word16 *mem_w0, /* i : memory of weighting filter */ 118 Word16 *zero, /* i : pointer to zero vector */ 119 Word16 ai_zero[], /* o : history of weighted synth. filter * [all...] |
spstproc.h | 110 Word16 *speech, /* i : speech segment */ 112 Word16 i_subfr, /* i : Subframe nr */ 113 Word16 gain_pit, /* i : Pitch gain Q14 */ 114 Word16 gain_code, /* i : Decoded innovation gain */ 115 Word16 *Aq, /* i : A(z) quantized for the 4 subframes */ 116 Word16 synth[], /* i : Local snthesis */ 117 Word16 xn[], /* i : Target vector for pitch search */ 118 Word16 code[], /* i : Fixed codebook exitation */ 119 Word16 y1[], /* i : Filtered adaptive exitation */ 120 Word16 y2[], /* i : Filtered fixed codebook excitation * [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
basic_op_c_equivalent.h | 186 var1 = 16 bit short signed integer (Word16) whose value falls in 188 var2 = 16 bit short signed integer (Word16) whose value falls in 199 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) 233 L_var1 = 16 bit short signed integer (Word16) whose value falls in 236 L_var2 = 16 bit short signed integer (Word16) whose value falls in 247 static inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) 277 var1 = 16 bit short signed integer (Word16) whose value falls in 279 var2 = 16 bit short signed integer (Word16) whose value falls i [all...] |
basic_op_arm_gcc_v5.h | 184 var1 = 16 bit short signed integer (Word16) whose value falls in 186 var2 = 16 bit short signed integer (Word16) whose value falls in 197 static inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) 226 L_var1 = 16 bit short signed integer (Word16) whose value falls in 229 L_var2 = 16 bit short signed integer (Word16) whose value falls in 241 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) 273 var1 = 16 bit short signed integer (Word16) whose value falls in 275 var2 = 16 bit short signed integer (Word16) whose value falls i [all...] |
basic_op_arm_v5.h | 177 var1 = 16 bit short signed integer (Word16) whose value falls in 179 var2 = 16 bit short signed integer (Word16) whose value falls in 190 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) 209 L_var1 = 16 bit short signed integer (Word16) whose value falls in 212 L_var2 = 16 bit short signed integer (Word16) whose value falls in 223 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) 250 var1 = 16 bit short signed integer (Word16) whose value falls in 252 var2 = 16 bit short signed integer (Word16) whose value falls i [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
sp_dec.h | 82 Word16 GSMInitDecode(void **state_data, 90 Word16 Speech_Decode_Frame_reset(void *state_data); 103 Word16 *serial, /* i : serial bit stream */ 105 Word16 *synth /* o : synthesis speech (postfiltered */
|
pstfilt.cpp | 127 static const Word16 gamma3_MR122[M] = 133 static const Word16 gamma3[M] = 138 static const Word16 gamma4_MR122[M] = 144 static const Word16 gamma4[M] = 238 Word16 Post_Filter_reset(Post_FilterState *state) 246 memset(state->mem_syn_pst, 0, sizeof(Word16)*M); 247 memset(state->res2, 0, sizeof(Word16)*L_SUBFR); 248 memset(state->synth_buf, 0, sizeof(Word16)*(L_FRAME + M)); 314 Word16 *syn, // i/o : synthesis speech (postfiltered is output) 315 Word16 *Az_4 // i : interpolated LPC parameters in all subfr [all...] |
ph_disp.cpp | 167 Word16 i; 208 Word16 ph_disp_reset(ph_dispState *state) 210 register Word16 i; 394 x = LTP excitation signal buffer (Word16) 395 cbGain = codebook gain (Word16) 396 ltpGain = LTP gain (Word16) 397 inno = innovation buffer (Word16) 398 pitch_fac = pitch factor used to scale the LTP excitation (Word16) 400 innovation before rounding (Word16) 441 Word16 x[], // i/o Q0 : in: LTP excitation signa [all...] |
agc.cpp | 91 in = input signal (Word16) 92 l_trm = input signal length (Word16) 126 Word16 in[], // i : input signal (length l_trm) 127 Word16 l_trm // i : signal length 131 Word16 i, temp; 169 Word16 in[], /* i : input signal (length l_trm) */ 170 Word16 l_trm, /* i : signal length */ 176 Word16 i; 177 Word16 temp; 196 in = input signal (Word16) [all...] |
dtx_dec.cpp | 98 static const Word16 lsf_hist_mean_scale[M] = 115 static const Word16 dtx_log_en_adjust[9] = 247 Word16 dtx_dec_reset(dtx_decState *st) 249 Word16 i; 310 memset(st->lsf_hist_mean, 0, sizeof(Word16)*M*DTX_HIST_SIZE); 389 Word16 mem_syn[], // i/o : AMR decoder state 395 Word16 parm[], // i : Vector of synthesis parameters 396 Word16 synth[], // o : synthesised speech 397 Word16 A_t[] // o : decoded LP filter in 4 subframes 400 Word16 log_en_index [all...] |
c_g_aver.h | 100 Word16 cbGainHistory[L_CBGAINHIST]; 103 Word16 hangVar; /* counter; */ 104 Word16 hangCount; /* counter; */ 119 Word16 Cb_gain_average_init(Cb_gain_averageState **st); 126 Word16 Cb_gain_average_reset(Cb_gain_averageState *st); 141 Word16 Cb_gain_average( 144 Word16 gain_code, /* i : CB gain Q1 */ 145 Word16 lsp[], /* i : The LSP for the current frame Q15 */ 146 Word16 lspAver[], /* i : The average of LSP for 8 frames Q15 */ 147 Word16 bfi, /* i : bad frame indication flag * [all...] |
ex_ctrl.cpp | 88 excitation = pointer to current subframe excitation of type Word16 89 excEnergy = Exc. Energy, sqrt(totEx*totEx) of type Word16 90 exEnergyHist = pointer to history of subframe energies of type Word16 91 voicedHangover = # of fr. after last voiced fr of type Word16 92 carefulFlag = restrict dynamic in scaling of type Word16 151 Word16 Ex_ctrl(Word16 excitation[], /*i/o: Current subframe excitation */ 152 Word16 excEnergy, /* i : Exc. Energy, sqrt(totEx*totEx)*/ 153 Word16 exEnergyHist[], /* i : History of subframe energies */ 154 Word16 voicedHangover, /* i : # of fr. after last voiced fr.* [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
log2_tab.h | 28 static const Word16 table[33] =
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
pred_lt4_1_neon.s | 18 @ Word16 exc[], /* in/out: excitation buffer */ 19 @ Word16 T0, /* input : integer pitch lag */ 20 @ Word16 frac, /* input : fraction of lag */ 21 @ Word16 L_subfr /* input : subframe size */
|
syn_filt_neon.s | 18 @ Word16 a[], /* (i) Q12 : a[m+1] prediction coefficients */ 19 @ Word16 x[], /* (i) : input signal */ 20 @ Word16 y[], /* (o) : output signal */ 21 @ Word16 mem[], /* (i/o) : memory associated with this filtering. */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
cor_h_x.c | 36 Word16 h[], /* (i) Q12 : impulse response of weighted synthesis filter */ 37 Word16 x[], /* (i) Q0 : target vector */ 38 Word16 dn[] /* (o) <12bit : correlation between target and h[] */ 43 Word16 *p1, *p2;
|
/external/webrtc/src/common_audio/signal_processing/ |
min_max_operations.c | 33 // Maximum absolute value of word16 vector. 57 // Index of maximum absolute value in a word16 vector. 103 // Maximum value of word16 vector. 123 // Index of maximum value in a word16 vector. 183 // Minimum value of word16 vector. 200 // Index of minimum value in a word16 vector.
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
reorder.cpp | 85 lsf = vector of LSFs (range: 0<=val<=0.5)(Word16) 86 min_dist = minimum required distance (Word16) 87 n = LPC order (Word16) 93 lsf -> reordered vector of LSFs (Word16) 124 Word16 *lsf, // (i/o) : vector of LSFs (range: 0<=val<=0.5) 125 Word16 min_dist, // (i) : minimum required distance 126 Word16 n // (i) : LPC order 129 Word16 i; 130 Word16 lsf_min; 174 Word16 *lsf, /* (i/o) : vector of LSFs (range: 0<=val<=0.5) * [all...] |