/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
set_sign.h | 104 void set_sign(Word16 dn[], /* i/o : correlation between target and h[] */ 105 Word16 sign[], /* o : sign of dn[] */ 106 Word16 dn2[], /* o : maximum of correlation in each track. */ 107 Word16 n /* i : # of maximum correlations in dn2[] */ 111 Word16 dn[], /* i/o : correlation between target and h[] */ 112 Word16 cn[], /* i : residual after long term prediction */ 113 Word16 sign[], /* o : sign of d[n] */ 114 Word16 pos_max[], /* o : position of maximum correlation */ 115 Word16 nb_track, /* i : number of tracks tracks */ 116 Word16 ipos[], /* o : starting position for each pulse * [all...] |
q_gain_p.cpp | 100 extern const Word16 qua_gain_pitch[NB_QUA_PITCH]; 115 gp_limit -- Word16 -- pitch gain limit 116 gain -- Pointer to Word16 -- Pitch gain (unquant/quant), Q14 119 gain -- Pointer to Word16 -- Pitch gain (unquant/quant), Q14 121 gain_cand -- Array of type Word16 -- pitch gain candidates (3), 124 gain_cind -- Array of type Word16 -- pitch gain cand. indices (3), 130 Word16 -- index of quantization 179 Word16 q_gain_pitch( /* Return index of quantization */ 181 Word16 gp_limit, /* i : pitch gain limit */ 182 Word16 *gain, /* i/o: Pitch gain (unquant/quant), Q14 * [all...] |
convolve.cpp | 118 x = pointer to input vector of L elements of type Word16 120 of type Word16 121 y = pointer to the output vector of L elements of type Word16 used for 123 L = Length of the convolution; type definition is Word16 162 Word16 x[], // (i) : input vector 163 Word16 h[], // (i) : impulse response 164 Word16 y[], // (o) : output vector 165 Word16 L // (i) : vector size 168 Word16 i, n; 209 Word16 x[], /* (i) : input vector * [all...] |
cbsearch.h | 110 void cbsearch(Word16 x[], /* i : target vector, Q0 */ 111 Word16 h[], /* i : impulse response of weighted synthesis */ 114 Word16 T0, /* i : Pitch lag */ 115 Word16 pitch_sharp, /* i : Last quantized pitch gain, Q14 */ 116 Word16 gain_pit,/* i : Pitch gain, Q14 */ 117 Word16 res2[], /* i : Long term prediction residual, Q0 */ 118 Word16 code[], /* o : Innovative codebook, Q13 */ 119 Word16 y[], /* o : filtered fixed codebook excitation, Q12 */ 120 Word16 **anap, /* o : Signs of the pulses */ 122 Word16 subNr, /* i : subframe number * [all...] |
c2_9pf.h | 102 Word16 code_2i40_9bits( 103 Word16 subNr, /* i : subframe number */ 104 Word16 x[], /* i : target vector */ 105 Word16 h[], /* i : impulse response of weighted synthesis filter */ 107 Word16 T0, /* i : Pitch lag */ 108 Word16 pitch_sharp, /* i : Last quantized pitch gain */ 109 Word16 code[], /* o : Innovative codebook */ 110 Word16 y[], /* o : filtered fixed codebook excitation */ 111 Word16 * sign, /* o : Signs of 2 pulses */
|
enc_lag3.h | 97 Word16 past_gain; 104 Word16 106 Word16 T0, /* i : Pitch delay */ 107 Word16 T0_frac, /* i : Fractional pitch delay */ 108 Word16 T0_prev, /* i : Integer pitch delay of last subframe */ 109 Word16 T0_min, /* i : minimum of search range */ 110 Word16 T0_max, /* i : maximum of search range */ 111 Word16 delta_flag, /* i : Flag for 1st (or 3rd) subframe */ 112 Word16 flag4, /* i : Flag for encoding with 4 bits */
|
g_adapt.h | 105 Word16 onset; /* onset state, Q0 */ 106 Word16 prev_alpha; /* previous adaptor output, Q15 */ 107 Word16 prev_gc; /* previous code gain, Q1 */ 109 Word16 ltpg_mem[LTPG_MEM_SIZE]; /* LTP coding gain history, Q13 */ 117 Word16 gain_adapt_init(GainAdaptState **st); 124 Word16 gain_adapt_reset(GainAdaptState *st); 144 Word16 ltpg, /* i : ltp coding gain (log2()), Q */ 145 Word16 gain_cod, /* i : code gain, Q13 */ 146 Word16 *alpha, /* o : gain adaptation factor, Q15 */
|
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 */
|
ton_stab.h | 95 Word16 count; 97 Word16 gp[N_FRAME]; 112 Word16 ton_stab_init(tonStabState **st); 119 Word16 ton_stab_reset(tonStabState *st); 129 Word16 check_lsp(tonStabState *st, /* i/o : State struct */ 130 Word16 *lsp, /* i : unquantized LSP's */ 134 Word16 check_gp_clipping(tonStabState *st, /* i/o : State struct */ 135 Word16 g_pitch, /* i : pitch gain */ 140 Word16 g_pitch, /* i : pitch gain */
|
/external/webrtc/src/common_audio/signal_processing/ |
min_max_operations_neon.c | 17 // Maximum absolute value of word16 vector.
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
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...] |
post_pro.cpp | 131 static const Word16 b[3] = {7699, -15398, 7699}; 132 static const Word16 a[3] = {8192, 15836, -7667}; 213 Word16 Post_Process_reset(Post_ProcessState *state) 241 signal = buffer containing the input signal (Word16) 242 lg = length of the input signal (Word16) 287 Word16 signal[], //i/o : signal 288 Word16 lg //i : length of signal 291 Word16 i, x2; 346 Word16 signal[], /* i/o : signal */ 347 Word16 lg, /* i : length of signal * [all...] |
d2_11pf.cpp | 94 sign -- Word16 -- signs of 2 pulses. 95 index -- Word16 -- Positions of the 2 pulses. 98 cod[] -- array of type Word16 -- algebraic (fixed) codebook excitation 151 Word16 sign, /* i : signs of 2 pulses. */ 152 Word16 index, /* i : Positions of the 2 pulses. */ 153 Word16 cod[] /* o : algebraic (fixed) codebook excitation */ 157 Word16 i; 158 Word16 j; 160 Word16 pos[NB_PULSE];
|
d3_14pf.cpp | 100 sign -- Word16 -- signs of 3 pulses. 101 index -- Word16 -- Positions of the 3 pulses. 104 cod[] -- array of type Word16 -- algebraic (fixed) codebook excitation 157 Word16 sign, /* i : signs of 3 pulses. */ 158 Word16 index, /* i : Positions of the 3 pulses. */ 159 Word16 cod[] /* o : algebraic (fixed) codebook excitation */ 162 Word16 i; 163 Word16 j; 165 Word16 pos[NB_PULSE];
|
post_pro.h | 102 Word16 y2_hi; 103 Word16 y2_lo; 104 Word16 y1_hi; 105 Word16 y1_lo; 106 Word16 x0; 107 Word16 x1; 115 Word16 Post_Process_reset(Post_ProcessState *st); 126 Word16 signal[], /* i/o : signal */ 127 Word16 lg, /* i : lenght of signal */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
convolve_opt.s | 19 @* Word16 x[], /* (i) : input vector */ 20 @* Word16 h[], /* (i) : impulse response */ 21 @* Word16 y[], /* (o) : output vector */ 22 @* Word16 L /* (i) : vector size */
|
Syn_filt_32_opt.s | 18 @ Word16 a[], /* (i) Q12 : a[m+1] prediction coefficients */ 19 @ Word16 m, /* (i) : order of LP filter */ 20 @ Word16 exc[], /* (i) Qnew: excitation (exc[i] >> Qnew) */ 21 @ Word16 Qnew, /* (i) : exc scaling = 0(min) to 8(max) */ 22 @ Word16 sig_hi[], /* (o) /16 : synthesis high */ 23 @ Word16 sig_lo[], /* (o) /16 : synthesis low */ 24 @ Word16 lg /* (i) : size of filtering */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
convolve_neon.s | 18 @* Word16 x[], /* (i) : input vector */ 19 @* Word16 h[], /* (i) : impulse response */ 20 @* Word16 y[], /* (o) : output vector */ 21 @* Word16 L /* (i) : vector size */
|
residu_asm_neon.s | 18 @ Word16 a[], /* (i) : prediction coefficients */ 19 @ Word16 x[], /* (i) : speech signal */ 20 @ Word16 y[], /* (o) : residual signal */ 21 @ Word16 lg /* (i) : size of filtering */
|
Norm_Corr_neon.s | 17 @static void Norm_Corr (Word16 exc[], /* (i) : excitation buffer */ 18 @ Word16 xn[], /* (i) : target vector */ 19 @ Word16 h[], /* (i) Q15 : impulse response of synth/wgt filters */ 20 @ Word16 L_subfr, /* (i) : sub-frame length */ 21 @ Word16 t_min, /* (i) : minimum value of pitch lag. */ 22 @ Word16 t_max, /* (i) : maximum value of pitch lag. */ 23 @ Word16 corr_norm[]) /* (o) Q15 : normalized correlation */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
qua_gain.h | 107 Word16 110 Word16 exp_gcode0, /* i : predicted CB gain (exponent), Q0 */ 111 Word16 frac_gcode0, /* i : predicted CB gain (fraction), Q15 */ 112 Word16 frac_coeff[], /* i : energy coeff. (5), fraction part, Q15 */ 113 Word16 exp_coeff[], /* i : energy coeff. (5), exponent part, Q0 */ 116 Word16 gp_limit, /* i : pitch gain limit */ 117 Word16 *gain_pit, /* o : Pitch gain, Q14 */ 118 Word16 *gain_cod, /* o : Code gain, Q1 */ 119 Word16 *qua_ener_MR122, /* o : quantized energy error, Q10 */ 121 Word16 *qua_ener, /* o : quantized energy error, Q10 * [all...] |
mac_32.h | 106 Word16 L_var1_hi, 107 Word16 L_var1_lo, 108 Word16 L_var2_hi, 109 Word16 L_var2_lo, 112 Word16 product; 126 Word16 L_var1_hi, 127 Word16 L_var1_lo, 128 Word16 var2, 131 Word16 product;
|
mpy_32_16.h | 93 __inline Word32 Mpy_32_16(Word16 L_var1_hi, 94 Word16 L_var1_lo, 95 Word16 var2, 115 static inline Word32 Mpy_32_16(Word16 L_var1_hi, 116 Word16 L_var1_lo, 117 Word16 var2, 159 __inline Word32 Mpy_32_16(Word16 L_var1_hi, 160 Word16 L_var1_lo, 161 Word16 var2,
|
int_lpc.h | 124 Word16 lsp_old[], /* i : LSP vector at the 4th subfr. of past frame (M) */ 125 Word16 lsp_mid[], /* i : LSP vector at the 2nd subfr. of 127 Word16 lsp_new[], /* i : LSP vector at the 4th subfr. of 129 Word16 Az[], /* o : interpolated LP parameters in all subfr. 146 Word16 lsp_old[], /* i : LSP vector at the 4th subfr. of past frame (M) */ 147 Word16 lsp_mid[], /* i : LSP vector at the 2nd subframe of 149 Word16 lsp_new[], /* i : LSP vector at the 4th subframe of 151 Word16 Az[], /* o :interpolated LP parameters 178 Word16 lsp_old[], /* i : LSP vector at the 4th SF of past frame (M) */ 179 Word16 lsp_new[], /* i : LSP vector at the 4th SF of present frame (M) * [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
log2_norm.cpp | 92 exp = number of shifts required to normalize L_x; it is of type Word16 93 exponent = pointer to the integer part of Log2 (of type Word16) 95 fraction = pointer to the fractional part of Log2 (of type Word16) 109 table = Log2 table of constants of type Word16 139 Word16 exp, // (i) : norm_l (L_x) 140 Word16 *exponent, // (o) : Integer part of Log2. (range: 0<=val<=30) 141 Word16 *fraction // (o) : Fractional part of Log2. (range: 0<=val<1) 144 Word16 i, a, tmp; 160 a = a & (Word16) 0x7fff; 198 Word16 exp, /* (i) : norm_l (L_x) * [all...] |