/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d_plsf_5.cpp | 105 extern const Word16 mean_lsf_5[]; 106 extern const Word16 dico1_lsf_5[]; 107 extern const Word16 dico2_lsf_5[]; 108 extern const Word16 dico3_lsf_5[]; 109 extern const Word16 dico4_lsf_5[]; 110 extern const Word16 dico5_lsf_5[]; 125 bfi = bad frame indicator; set to 1 if a bad frame is received (Word16) 126 indice = pointer to quantization indices of 5 submatrices (Word16) 127 lsp1_q = pointer to the quantized 1st LSP vector (Word16) 128 lsp2_q = pointer to the quantized 2nd LSP vector (Word16) [all...] |
ec_gains.h | 101 Word16 pbuf[5]; 102 Word16 past_gain_pit; 103 Word16 prev_gp; 108 Word16 gbuf[5]; 109 Word16 past_gain_code; 110 Word16 prev_gc; 123 Word16 ec_gain_code_reset( 137 Word16 state, /* i : state of the state machine */ 138 Word16 *gain_code, /* o : decoded innovation gain */ 151 Word16 bfi, /* i : flag: frame is bad * [all...] |
c_g_aver.cpp | 154 Word16 Cb_gain_average_reset (Cb_gain_averageState *state) 194 Word16 Cb_gain_average_reset(Cb_gain_averageState *state) 203 memset(state->cbGainHistory, 0, L_CBGAINHIST*sizeof(Word16)); 223 gain_code = CB gain (Word16) 224 lsp = the LSP for the current frame (Word16) 225 lspAver = the average of LSP for 8 frames (Word16) 226 bfi = bad frame indication flag (Word16) 227 prev_bf = previous bad frame indication flag (Word16) 228 pdfi = potential degraded bad frame ind flag (Word16) 229 prev_pdf = prev pot. degraded bad frame ind flag (Word16) [all...] |
d2_11pf.h | 84 Word16 sign, /* i : signs of 2 pulses. */ 85 Word16 index, /* i : Positions of the 2 pulses. */ 86 Word16 cod[] /* o : algebraic (fixed) codebook excitation */
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
cod_amr.cpp | 130 static const Word16 gamma1[M] = 137 static const Word16 gamma1_12k2[M] = 143 static const Word16 gamma2[M] = 265 Word16 cod_amr_init(cod_amrState **state, Flag dtx) 368 Word16 i; 463 Word16 cod_amr_reset(cod_amrState *st) 465 Word16 i; 497 memset(st->old_speech, 0, sizeof(Word16)*L_TOTAL); 498 memset(st->old_exc, 0, sizeof(Word16)*(PIT_MAX + L_INTERPOL)); 499 memset(st->old_wsp, 0, sizeof(Word16)*PIT_MAX) [all...] |
hp_max.cpp | 83 corr[] = correlation vector (Word16) 84 scal_sig[] = scaled signal vector (Word16) 85 L_frame = length of frame to compute pitch (Word16 86 lag_max = maximum lag (Word16) 87 lag_min = minimum lag (Word16) 88 cor_hp_max = pointer to max high-pass filtered norm. correlation (Word16) 92 cor_hp_max contains max high-pass filtered norm. correlation (Word16) 96 0 (Word16) 128 Word16 hp_max ( 130 Word16 scal_sig[], // i : scaled signa [all...] |
g_pitch.cpp | 116 xn = pointer to pitch target buffer (Word16) 117 y1 = pointer to filtered adaptive codebook buffer (Word16) 119 (Word16) 120 L_subfr = length of subframe (Word16) 128 gain = ratio of dot products.(Word16) 163 Word16 G_pitch ( // o : Gain of pitch lag saturated to 1.2 165 Word16 xn[], // i : Pitch target. 166 Word16 y1[], // i : Filtered adaptive codebook. 167 Word16 g_coeff[], // i : Correlations need for gain quantization 168 Word16 L_subfr // i : Length of subframe [all...] |
p_ol_wgh.cpp | 189 Word16 p_ol_wgh_init(pitchOLWghtState **state) 296 Word16 p_ol_wgh_reset(pitchOLWghtState *st) 415 scal_sig = pointer to buffer of scaled signal values (Word16) 416 scal_fac = scaled signal factor (Word16) 417 scal_flag = EFR compatible scaling flag (Word16) 418 L_frame = length of frame to compute pitch (Word16) 419 lag_max = maximum lag (Word16) 420 lag_min = minimum lag (Word16) 421 cor_max = pointer to the normalized correlation of selected lag (Word16) 435 p_max = lag of the max correlation found (Word16) [all...] |
qgain795.h | 109 Word16 res[], /* i : LP residual, Q0 */ 110 Word16 exc[], /* i : LTP excitation (unfiltered), Q0 */ 111 Word16 code[], /* i : CB innovation (unfiltered), Q13 */ 112 Word16 frac_coeff[], /* i : coefficients (5), Q15 */ 113 Word16 exp_coeff[], /* i : energy coefficients (5), Q0 */ 115 Word16 exp_code_en, /* i : innovation energy (exponent), Q0 */ 116 Word16 frac_code_en, /* i : innovation energy (fraction), Q15 */ 117 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 118 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 */ 119 Word16 L_subfr, /* i : Subframe length * [all...] |
cl_ltp.h | 117 Word16 cl_ltp_init(clLtpState **st); 124 Word16 cl_ltp_reset(clLtpState *st); 137 Word16 frameOffset, /* i : Offset to subframe */ 138 Word16 T_op[], /* i : Open loop pitch lags */ 139 Word16 *h1, /* i : Impulse response vector Q12 */ 140 Word16 *exc, /* i/o : Excitation vector Q0 */ 141 Word16 res2[], /* i/o : Long term prediction residual Q0 */ 142 Word16 xn[], /* i : Target vector for pitch search Q0 */ 143 Word16 lsp_flag, /* i : LSP resonance flag */ 144 Word16 xn2[], /* o : Target vector for codebook search Q0 * [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
vad1.h | 102 Word16 bckr_est[COMPLEN]; /* background noise estimate */ 103 Word16 ave_level[COMPLEN]; /* averaged input components for stationary */ 105 Word16 old_level[COMPLEN]; /* input levels of the previous frame */ 106 Word16 sub_level[COMPLEN]; /* input levels calculated at the end of 108 Word16 a_data5[3][2]; /* memory for the filter bank */ 109 Word16 a_data3[5]; /* memory for the filter bank */ 111 Word16 burst_count; /* counts length of a speech burst */ 112 Word16 hang_count; /* hangover counter */ 113 Word16 stat_count; /* stationary counter */ 118 Word16 vadreg; /* flags for intermediate VAD decisions * [all...] |
basic_op.h | 146 L_var1_hi = 16 bit short signed integer (Word16) whose value falls in 148 L_var1_lo = 16 bit short signed integer (Word16) whose value falls in 150 L_var2_hi = 16 bit short signed integer (Word16) whose value falls in 152 L_var2_lo = 16 bit short signed integer (Word16) whose value falls in 165 Word16 L_var1_hi, 166 Word16 L_var1_lo, 167 Word16 L_var2_hi, 168 Word16 L_var2_lo, 171 Word16 product; 193 L_var1_hi = 16 bit short signed integer (Word16) whose value falls i [all...] |
copy.h | 79 const Word16 x[], /* i : input vector (L) */ 80 Word16 y[], /* o : output vector (L) */ 81 Word16 L /* i : vector length */
|
gmed_n.h | 69 Word16 gmed_n( /* o : index of the median value (0...N-1) */ 70 Word16 ind[], /* i : Past gain values */ 71 Word16 n /* i : The number of gains; this routine */
|
weight_a.h | 72 Word16 a[], /* (i) : a[m+1] LPC coefficients (m=10) */ 73 const Word16 fac[],/* (i) : Spectral expansion factors. */ 74 Word16 a_exp[] /* (o) : Spectral expanded LPC coefficients */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
gmed_n.cpp | 89 ind = input values (Word16) 90 n = number of inputs to find the median (Word16) 123 Word16 gmed_n ( // o : The median value (0...N-1) 124 Word16 ind[], // i : Past gain values 125 Word16 n // i : The number of gains; this routine 130 Word16 i, j, ix = 0; 131 Word16 max; 132 Word16 medianIndex; 133 Word16 tmp[NMAX]; 134 Word16 tmp2[NMAX] [all...] |
copy.cpp | 81 const Word16 x[], /* i : input vector (L) */ 82 Word16 y[], /* o : output vector (L) */ 83 Word16 L /* i : vector length */
|
int_lpc.cpp | 99 lsp_old -- array of type Word16 -- LSP vector at the 101 lsp_mid -- array of type Word16 -- LSP vector at the 2nd subfr. of 103 lsp_new -- array of type Word16 -- LSP vector at the 4th subfr. of 107 Az -- array of type Word16 -- interpolated LP parameters in all subfr. 175 Word16 lsp_old[], /* i : LSP vector at the 4th subfr. of past frame (M) */ 176 Word16 lsp_mid[], /* i : LSP vector at the 2nd subfr. of 178 Word16 lsp_new[], /* i : LSP vector at the 4th subfr. of 180 Word16 Az[], /* o : interpolated LP parameters in all subfr. 185 Word16 i; 186 Word16 lsp[M] [all...] |
set_zero.cpp | 62 Word16 x[], /* (o) : vector to clear */ 63 Word16 L /* (i) : length of vector */ 66 Word16 i;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
line_pe.c | 29 static const Word16 C1_I = 12; /* log(8.0)/log(2) *4 */ 31 static const Word16 C3_I = 573; /* (1-C2/C1) *1024 */ 42 Word16 logSfbEnergy[MAX_CHANNELS][MAX_GROUPED_SFB], 43 Word16 sfbNRelevantLines[MAX_CHANNELS][MAX_GROUPED_SFB], 44 const Word16 nChannels, 45 const Word16 peOffset) 73 const Word16 nChannels)
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
cor_h_vec_opt.s | 17 @ Word16 h[], /* (i) scaled impulse response */ 18 @ Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 19 @ Word16 track, /* (i) track to use */ 20 @ Word16 sign[], /* (i) sign vector */ 21 @ Word16 rrixix[][NB_POS], /* (i) correlation of h[x] with h[x] */ 22 @ Word16 cor_1[], /* (o) result of correlation (NB_POS elements) */ 23 @ Word16 cor_2[] /* (o) result of correlation (NB_POS elements) */
|
scale_sig_opt.s | 18 @ Word16 x[], /* (i/o) : signal to scale */ 19 @ Word16 lg, /* (i) : size of x[] */ 20 @ Word16 exp /* (i) : exponent: x = round(x << exp) */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
Syn_filt_32_neon.s | 19 @ Word16 a[], /* (i) Q12 : a[m+1] prediction coefficients */ 20 @ Word16 m, /* (i) : order of LP filter */ 21 @ Word16 exc[], /* (i) Qnew: excitation (exc[i] >> Qnew) */ 22 @ Word16 Qnew, /* (i) : exc scaling = 0(min) to 8(max) */ 23 @ Word16 sig_hi[], /* (o) /16 : synthesis high */ 24 @ Word16 sig_lo[], /* (o) /16 : synthesis low */ 25 @ Word16 lg /* (i) : size of filtering */
|
cor_h_vec_neon.s | 18 @ Word16 h[], /* (i) scaled impulse response */ 19 @ Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 20 @ Word16 track, /* (i) track to use */ 21 @ Word16 sign[], /* (i) sign vector */ 22 @ Word16 rrixix[][NB_POS], /* (i) correlation of h[x] with h[x] */ 23 @ Word16 cor_1[], /* (o) result of correlation (NB_POS elements) */ 24 @ Word16 cor_2[] /* (o) result of correlation (NB_POS elements) */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
levinson.c | 99 Word16 * mem /* output :static memory (18 words) */ 108 Word16 Rh[], /* (i) : Rh[M+1] Vector of autocorrelations (msb) */ 109 Word16 Rl[], /* (i) : Rl[M+1] Vector of autocorrelations (lsb) */ 110 Word16 A[], /* (o) Q12 : A[M] LPC coefficients (m = 16) */ 111 Word16 rc[], /* (o) Q15 : rc[M] Reflection coefficients. */ 112 Word16 * mem /* (i/o) :static memory (18 words) */ 116 Word16 hi, lo; 117 Word16 Kh, Kl; /* reflection coefficient; hi and lo */ 118 Word16 alp_h, alp_l, alp_exp; /* Prediction gain; hi lo and exponent */ 119 Word16 Ah[M + 1], Al[M + 1]; /* LPC coef. in double prec. * [all...] |