/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d_gain_p.cpp | 59 index -- Word16 -- index of quantization 64 Word16 gain -- (Q14) 165 extern const Word16 qua_gain_pitch[]; 176 Word16 d_gain_pitch( /* return value: gain (Q14) */ 178 Word16 index /* i : index of quantization */ 181 Word16 gain;
|
ph_disp.h | 96 extern Word16 ph_imp_low_MR795[]; 97 extern Word16 ph_imp_mid_MR795[]; 98 extern Word16 ph_imp_low[]; 99 extern Word16 ph_imp_mid[]; 114 Word16 gainMem[PHDGAINMEMSIZE]; 115 Word16 prevState; 116 Word16 prevCbGain; 117 Word16 lockFull; 118 Word16 onset; 132 Word16 ph_disp_reset(ph_dispState *state) [all...] |
qgain475_tab.cpp | 95 const Word16 table_gain_MR475[MR475_VQ_SIZE*4] =
|
bgnscd.h | 107 Word16 frameEnergyHist[L_ENERGYHIST]; 110 Word16 bgHangover; /* counter; number of frames after last speech frame */ 125 Word16 Bgn_scd_init(Bgn_scdState **st); 132 Word16 Bgn_scd_reset(Bgn_scdState *st); 147 Word16 Bgn_scd(Bgn_scdState *st, /* i : State variables for bgn SCD */ 148 Word16 ltpGainHist[], /* i : LTP gain history */ 149 Word16 speech[], /* o : synthesis speech frame */ 150 Word16 *voicedHangover,/* o : # of frames after last voiced frame */
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
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 */
|
cor_h_x.h | 87 Word16 h[], /* (i): impulse response of weighted synthesis filter */ 88 Word16 x[], /* (i): target */ 89 Word16 dn[], /* (o): correlation between target and h[] */ 90 Word16 sf, /* (i): scaling factor: 2 for 12.2, 1 for others */
|
corrwght_tab.cpp | 88 const Word16 corrweight[251] =
|
inter_36.h | 102 Word16 Interpol_3or6( /* (o) : interpolated value */ 103 Word16 *x, /* (i) : input vector */ 104 Word16 frac, /* (i) : fraction (-2..2 for 3*, -3..3 for 6*) */ 105 Word16 flag3, /* (i) : if set, upsampling rate = 3 (6 otherwise) */
|
levinson.h | 40 Description: 1. Modified "int" definition by Word16 101 Word16 old_A[M + 1]; /* Last A(z) for case of unstable filter */ 108 Word16 Levinson_init(LevinsonState **st); 115 Word16 Levinson_reset(LevinsonState *st); 124 Word16 Levinson( 126 Word16 Rh[], /* i : Rh[m+1] Vector of autocorrelations (msb) */ 127 Word16 Rl[], /* i : Rl[m+1] Vector of autocorrelations (lsb) */ 128 Word16 A[], /* o : A[m] LPC coefficients (m = 10) */ 129 Word16 rc[], /* o : rc[4] First 4 reflection coefficients */
|
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...] |
pitch_ol.h | 102 Word16 Pitch_ol( /* o : open loop pitch lag */ 105 Word16 signal[], /* i : signal used to compute the open loop pitch */ 107 Word16 pit_min, /* i : minimum pitch lag */ 108 Word16 pit_max, /* i : maximum pitch lag */ 109 Word16 L_frame, /* i : length of frame to compute pitch */ 110 Word16 idx, /* i : frame index */
|
prm2bits.cpp | 91 value = value to be converted to binary of type Word16 92 no_of_bits = number of bits associated with value of type Word16 95 bitstream = pointer to address where bits are written of type Word16 128 Word16 value, // input : value to be converted to binary 129 Word16 no_of_bits, // input : number of bits associated with value 130 Word16 *bitstream // output: address where bits are written 133 Word16 *pt_bitstream, i, bit; 179 Word16 value, /* input : value to be converted to binary */ 180 Word16 no_of_bits, /* input : number of bits associated with value */ 181 Word16 *bitstream /* output: address where bits are written * [all...] |
c2_9pf.cpp | 121 Word16 subNr, /* i : subframe number */ 122 Word16 dn[], /* i : correlation between target and h[] */ 123 Word16 rr[][L_CODE],/* i : matrix of autocorrelation */ 124 Word16 codvec[], /* o : algebraic codebook vector */ 128 static Word16 build_code( 129 Word16 subNr, /* i : subframe number */ 130 Word16 codvec[], /* i : algebraic codebook vector */ 131 Word16 dn_sign[], /* i : sign of dn[] */ 132 Word16 cod[], /* o : algebraic (fixed) codebook excitation */ 133 Word16 h[], /* i : impulse response of weighted synthesis filter * [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
lag_wind.tab | 47 static Word16 volag_h[M] = { 65 static Word16 volag_l[M] = {
|
grid100.tab | 35 const Word16 vogrid[GRID_POINTS+1] ={
|
ham_wind.tab | 23 const Word16 vo_window[L_WINDOW] = {
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
d_plsf.h | 102 Word16 past_r_q[M]; /* Past quantized prediction error, Q15 */ 103 Word16 past_lsf_q[M]; /* Past dequantized lsfs, Q15 */ 120 Word16 D_plsf_reset(D_plsfState *st); 151 Word16 bfi, /* i : bad frame indicator (set to 1 if a bad 153 Word16 *indice, /* i : quantization indices of 5 submatrices, Q0 */ 154 Word16 *lsp1_q, /* o : quantized 1st LSP vector (M) Q15 */ 155 Word16 *lsp2_q, /* o : quantized 2nd LSP vector (M) Q15 */ 172 Word16 bfi, /* i : bad frame indicator (set to 1 if a */ 174 Word16 * indice, /* i : quantization indices of 3 submatrices, Q0 */ 175 Word16 * lsp1_q, /* o : quantized 1st LSP vector, Q15 * [all...] |
d_gain_p.h | 71 Word16 d_gain_pitch( /* return value: gain (Q14) */ 73 Word16 index /* i : index of quantization */
|
lsp.h | 104 Word16 lsp_old[M]; 105 Word16 lsp_old_q[M]; 127 Word16 lsp_init(lspState **st); 138 Word16 lsp_reset(lspState *st); 170 Word16 az[], /* i/o : interpolated LP parameters Q12 */ 171 Word16 azQ[], /* o : quantization interpol. LP parameters Q12*/ 172 Word16 lsp_new[], /* o : new lsp vector */ 173 Word16 **anap, /* o : analysis parameters */
|
set_zero.h | 71 Word16 x[], /* (o) : vector to clear */ 72 Word16 L /* (i) : length of vector */
|
lsp_lsf.h | 101 Word16 lsf[], /* (i) : lsf[m] normalized (range: 0.0<=val<=0.5) */ 102 Word16 lsp[], /* (o) : lsp[m] (range: -1<=val<1) */ 103 Word16 m, /* (i) : LPC order */ 107 Word16 lsp[], /* (i) : lsp[m] (range: -1<=val<1) */ 108 Word16 lsf[], /* (o) : lsf[m] normalized (range: 0.0<=val<=0.5) */ 109 Word16 m, /* (i) : LPC order */
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
sf_estim.h | 33 CalcFormFactor(Word16 logSfbFormFactor[MAX_CHANNELS][MAX_GROUPED_SFB], 34 Word16 sfbNRelevantLines[MAX_CHANNELS][MAX_GROUPED_SFB], 35 Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], 37 const Word16 nChannels); 42 Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], 43 Word16 logSfbFormFactor[MAX_CHANNELS][MAX_GROUPED_SFB], 44 Word16 sfbNRelevantLines[MAX_CHANNELS][MAX_GROUPED_SFB], 45 const Word16 nChannels);
|
adj_thr_data.h | 31 Word16 clipSaveLow, clipSaveHigh; 32 Word16 minBitSave, maxBitSave; 33 Word16 clipSpendLow, clipSpendHigh; 34 Word16 minBitSpend, maxBitSpend; 39 Word16 startSfbL, startSfbS; 51 Word16 peMin, peMax; 53 Word16 peOffset; 59 Word16 peLast; 60 Word16 dynBitsLast; 61 Word16 peCorrectionFactor [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
negate.cpp | 48 var1 = 16 bit short signed integer (Word16) whose value falls in 58 var1 = negated value of input (Word16) 88 Word16 negate (Word16 var1) 90 Word16 var_out; 164 Word16 negate(register Word16 var1)
|
q_plsf_5_tbl.cpp | 98 const Word16 mean_lsf_5[10] = 112 const Word16 dico1_lsf_5[DICO1_5_SIZE * 4] = 244 const Word16 dico2_lsf_5[DICO2_5_SIZE * 4] = 504 const Word16 dico3_lsf_5[DICO3_5_SIZE * 4] = 764 const Word16 dico4_lsf_5[DICO4_5_SIZE * 4] = 1024 const Word16 dico5_lsf_5[DICO5_5_SIZE * 4] = [all...] |