/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | voice_factor.cpp | 47 int16 exc[], (i) Q_exc : pitch excitation 48 int16 Q_exc, (i) : exc format 119 int16 exc[], /* (i) Q_exc : pitch excitation */ 120 int16 Q_exc, /* (i) : exc format */ 130 ener1 = extract_h(Dot_product12(exc, exc, L_subfr, &exp1)); 118 voice_factor( int16 exc[], int16 Q_exc, int16 gain_pit, int16 code[], int16 gain_code, int16 L_subfr ) argument
|
H A D | pred_lt4.cpp | 58 On return exc[0..L_subfr-1] contains the interpolated signal 163 int16 exc[], /* in/out: excitation buffer */ 174 pt_exc = &exc[-T0]; 234 exc[(j<<2)] = (int16)(L_sum1 >> 14); 235 exc[(j<<2)+1] = (int16)(L_sum2 >> 14); 236 exc[(j<<2)+2] = (int16)(L_sum3 >> 14); 237 exc[(j<<2)+3] = (int16)(L_sum4 >> 14); 260 exc[(j<<2)] = (int16)((L_sum1) >> 14); 162 Pred_lt4( int16 exc[], int16 T0, int16 frac, int16 L_subfr ) argument
|
H A D | wb_syn_filt.cpp | 62 int16 exc[], (i) Qnew: excitation (exc[i] >> Qnew) 63 int16 Qnew, (i) : exc scaling = 0(min) to 8(max) 228 int16 exc[], /* (i) Qnew: excitation (exc[i] >> Qnew) */ 229 int16 Qnew, /* (i) : exc scaling = 0(min) to 8(max) */ 276 L_tmp1 += (int32)exc[(i<<1)] << a0; 293 L_tmp3 += (int32)exc[(i<<1)+1] << a0; 225 Syn_filt_32( int16 a[], int16 m, int16 exc[], int16 Qnew, int16 sig_hi[], int16 sig_lo[], int16 lg ) argument
|
H A D | synthesis_amr_wb.cpp | 48 int16 exc[], (i) : excitation at 12kHz 49 int16 Q_new, (i) : scaling performed on exc 138 int16 exc[], /* (i) : excitation at 12kHz */ 139 int16 Q_new, /* (i) : scaling performed on exc */ 186 Syn_filt_32(Aq, M, exc, Q_new, synth_hi + M, synth_lo + M, L_SUBFR); 233 pt_tmp = exc; 250 ener = extract_h(Dot_product12(exc, exc, L_SUBFR, &exp_ener)); 136 synthesis_amr_wb( int16 Aq[], int16 exc[], int16 Q_new, int16 synth16k[], int16 prms, int16 HfIsf[], int16 nb_bits, int16 newDTXState, Decoder_State * st, int16 bfi, int16 *ScratchMem ) argument
|
H A D | dtx_decoder_amr_wb.cpp | 464 int16 exc[]) 485 L_frame_en = mac_16by16_to_int32(L_frame_en, exc[i], exc[i]); 461 dtx_dec_amr_wb_activity_update( dtx_decState * st, int16 isf[], int16 exc[]) argument
|
H A D | pvamrwbdecoder.cpp | 314 int16 *exc; local 485 exc = old_exc + PIT_MAX + L_INTERPOL; 676 Pred_lt4(&exc[i_subfr], T0, T0_frac, L_SUBFR + 1); 702 L_tmp = ((int32) exc[i-1+i_subfr] + exc[i+1+i_subfr]); 704 L_tmp += ((int32) exc[i+i_subfr] * 20972); 708 pv_memcpy((void *)&exc[i_subfr], (void *)code, L_SUBFR*sizeof(*code)); 873 scale_signal(exc + i_subfr - (PIT_MAX + L_INTERPOL), 905 exc2[i] = (exc[i_subfr + i] + (0x0004 * (exc[i_subf [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | pred_lt4.c | 22 * on return exc[0..L_subr-1] contains the interpolated signal * 52 Word16 exc[], /* in/out: excitation buffer */ 63 x = exc - T0; 112 exc[j] = extract_h(L_add(L_sum, 0x8000)); 51 Pred_lt4( Word16 exc[], Word16 T0, Word16 frac, Word16 L_subfr ) argument
|
H A D | voicefac.c | 29 Word16 exc[], /* (i) Q_exc : pitch excitation */ 30 Word16 Q_exc, /* (i) : exc format */ 41 ener1 = extract_h(Dot_product12_asm(exc, exc, L_subfr, &exp1)); 43 ener1 = extract_h(Dot_product12(exc, exc, L_subfr, &exp1)); 28 voice_factor( Word16 exc[], Word16 Q_exc, Word16 gain_pit, Word16 code[], Word16 gain_code, Word16 L_subfr ) argument
|
H A D | syn_filt.c | 88 Word16 exc[], /* (i) Qnew: excitation (exc[i] >> Qnew) */ 89 Word16 Qnew, /* (i) : exc scaling = 0(min) to 8(max) */ 142 L_tmp += vo_L_mult(exc[i], a0); 85 Syn_filt_32( Word16 a[], Word16 m, Word16 exc[], Word16 Qnew, Word16 sig_hi[], Word16 sig_lo[], Word16 lg ) argument
|
H A D | pitch_f4.c | 38 Word16 exc[], /* (i) : excitation buffer */ 48 Word16 exc[], /* (i) : excitation buffer */ 65 Word16 exc[], /* (i) : excitation buffer */ 90 Norm_corr_asm(exc, xn, h, L_subfr, t_min, t_max, corr); 92 Norm_Corr(exc, xn, h, L_subfr, t_min, t_max, corr); 162 Word16 exc[], /* (i) : excitation buffer */ 179 Convolve_asm(&exc[k], h, excf, 64); 181 Convolve(&exc[k], h, excf, 64); 255 tmp = exc[k]; 64 Pitch_fr4( Word16 exc[], Word16 xn[], Word16 h[], Word16 t0_min, Word16 t0_max, Word16 * pit_frac, Word16 i_subfr, Word16 t0_fr2, Word16 t0_fr1, Word16 L_subfr ) argument 161 Norm_Corr( Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, Word16 t_min, Word16 t_max, Word16 corr_norm[]) argument
|
H A D | voAMRWBEnc.c | 72 Word16 exc[], /* (i) : excitation at 12kHz */ 73 Word16 Q_new, /* (i) : scaling performed on exc */ 170 Word16 *exc; local 238 exc = old_exc + PIT_MAX + L_INTERPOL; 546 Residu_opt(&A[3 * (M + 1)], speech, exc, L_FRAME); 548 Residu(&A[3 * (M + 1)], speech, exc, L_FRAME); 553 exc2[i] = shr(exc[i], Q_new); 659 Residu_opt(p_Aq, &speech[i_subfr], &exc[i_subfr], L_SUBFR); 661 Residu(p_Aq, &speech[i_subfr], &exc[i_subfr], L_SUBFR); 671 exc2[i] = exc[ 1329 synthesis( Word16 Aq[], Word16 exc[], Word16 Q_new, Word16 synth16k[], Coder_State * st ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | spreproc.cpp | 115 exc -- Word16 array -- long term prediction residual 183 Word16 exc[], /* o : long term prediction residual */ 223 memcpy(exc, res2, L_SUBFR*sizeof(Word16)); 225 Syn_filt(Aq, exc, error, L_SUBFR, mem_err, 0); 171 subframePreProc( enum Mode mode, const Word16 gamma1[], const Word16 gamma1_12k2[], const Word16 gamma2[], Word16 *A, Word16 *Aq, Word16 *speech, Word16 *mem_err, Word16 *mem_w0, Word16 *zero, Word16 ai_zero[], Word16 exc[], Word16 h1[], Word16 xn[], Word16 res2[], Word16 error[] ) argument
|
H A D | spstproc.cpp | 118 exc -- Pointer to Word16 -- long term prediction residual 187 Word16 *exc, /* o : long term prediction residual */ 233 * - find synthesis speech corresponding to exc[] * 239 p_exc = &exc[ i_subfr]; 244 /* exc[i] = gain_pit*exc[i] + gain_code*code[i]; */ 249 * exc Q0 Q0 261 * result -> exc Q0 Q0 276 &exc[i_subfr], 172 subframePostProc( Word16 *speech, enum Mode mode, Word16 i_subfr, Word16 gain_pit, Word16 gain_code, Word16 *Aq, Word16 synth[], Word16 xn[], Word16 code[], Word16 y1[], Word16 y2[], Word16 *mem_syn, Word16 *mem_err, Word16 *mem_w0, Word16 *exc, Word16 *sharp, Flag *pOverflow ) argument
|
H A D | calc_en.cpp | 94 exc = LTP excitation (unfiltered), buffer type Word16 125 frac_en[1]*2^exp_en[1] = <exc exc> LTP residual energy 126 frac_en[2]*2^exp_en[2] = <exc code> LTP/CB innovation dot product 128 (lres = res - gain_pit*exc) 147 Word16 exc[], // i : LTP excitation (unfiltered), Q0 181 s = L_mac((Word32) 0, exc[0], exc[0]); 183 s = L_mac(s, exc[i], exc[ 264 calc_unfilt_energies( Word16 res[], Word16 exc[], Word16 code[], Word16 gain_pit, Word16 L_subfr, Word16 frac_en[], Word16 exp_en[], Word16 *ltpg, Flag *pOverflow ) argument [all...] |
H A D | cl_ltp.cpp | 446 exc = pointer to excitation vector (Word16) 454 exc = pointer to excitation vector (Word16) 500 Word16 *exc, // i/o : Excitation vector Q0 524 mode, T_op, exc, xn, h1, 533 * - find filtered pitch exc. y1[]=exc[] convolve with h1[]) * 539 Pred_lt_3or6(exc, *T0, *T0_frac, L_SUBFR, resu3); 541 Convolve(exc, h1, y1, L_SUBFR); 588 L_temp = L_mult(exc[i], *gain_pit); 626 Word16 *exc, /* 619 cl_ltp( clLtpState *clSt, tonStabState *tonSt, enum Mode mode, Word16 frameOffset, Word16 T_op[], Word16 *h1, Word16 *exc, Word16 res2[], Word16 xn[], Word16 lsp_flag, Word16 xn2[], Word16 yl[], Word16 *T0, Word16 *T0_frac, Word16 *gain_pit, Word16 g_coeff[], Word16 **anap, Word16 *gp_limit, Flag *pOverflow ) argument [all...] |
H A D | cod_amr.h | 143 Word16 *exc; member in struct:__anon613
|
H A D | gain_q.cpp | 387 exc -- Word16 array -- LTP excitation (unfiltered), Q0 471 Word16 exc[], /* i : LTP excitation (unfiltered), Q0 */ 695 exc, 467 gainQuant( gainQuantState *st, enum Mode mode, Word16 res[], Word16 exc[], Word16 code[], Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 even_subframe, Word16 gp_limit, Word16 *sf0_gain_pit, Word16 *sf0_gain_cod, Word16 *gain_pit, Word16 *gain_cod, Word16 **anap, Flag *pOverflow ) argument
|
H A D | qgain795.cpp | 434 frac_en[1]*2^exp_en[1] = <exc exc> // LTP residual energy 435 frac_en[2]*2^exp_en[2] = <exc code> // LTP/CB innovation dot product 725 exc -- Word16 array -- LTP excitation (unfiltered), Q0 811 Word16 exc[], /* i : LTP excitation (unfiltered), Q0 */ 872 calc_unfilt_energies(res, exc, code, *gain_pit, L_subfr, 808 MR795_gain_quant( GainAdaptState *adapt_st, Word16 res[], Word16 exc[], Word16 code[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 exp_code_en, Word16 frac_code_en, Word16 exp_gcode0, Word16 frac_gcode0, Word16 L_subfr, Word16 cod_gain_frac, Word16 cod_gain_exp, Word16 gp_limit, Word16 *gain_pit, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Word16 **anap, Flag *pOverflow ) argument
|
H A D | pitch_fr.cpp | 156 exc[] = pointer to buffer of type Word16 206 static void Norm_Corr (Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, 221 Convolve (&exc[k], h, excf, L_subfr); 279 s = L_mult (exc[k], h[j]); 283 s_excf[0] = shr (exc[k], scaling); 312 static void Norm_Corr(Word16 exc[], argument 345 Convolve(&exc[k], h, excf, L_subfr); 415 temp = exc[k]; 1059 exc[] = pointer to excitation buffer of type Word16 1113 Word16 exc[], // 1363 Pitch_fr( Pitch_frState *st, enum Mode mode, Word16 T_op[], Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, Word16 i_subfr, Word16 *pit_frac, Word16 *resu3, Word16 *ana_index, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | pred_lt.cpp | 138 exc = buffer containing the excitation (Word16) 151 exc buffer contains the newly formed adaptive codebook excitation 168 On return exc[0..L_subfr-1] contains the interpolated signal 185 Word16 exc[], // in/out: excitation buffer 197 pX0 = &exc[-T0]; 225 exc[j] = pv_round (s); 255 Word16 exc[], /* in/out: excitation buffer */ 281 pX0 = &(exc[-T0]); 317 p_exc = exc; 254 Pred_lt_3or6( Word16 exc[], Word16 T0, Word16 frac, Word16 L_subfr, Word16 flag3, Flag *pOverflow ) argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.h | 118 Word16 *exc; member in struct:Decoder_amrState
|
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 184 static void doThrow(JNIEnv* env, const char* exc, const char* msg = NULL) argument 186 if (jniThrowException(env, exc, msg) != 0)
|