/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_pitch.h | 104 Word16 xn[], /* i : Pitch target. */
|
H A D | calc_en.h | 140 * coeff[1] = -2 xn y1 142 * coeff[3] = -2 xn y2 148 * Product <y1 y1> and <xn y1> have been computed in G_pitch() and 154 Word16 xn[], /* i : LTP target vector, Q0 */ 158 Word16 g_coeff[], /* i : Correlations <xn y1> <y1 y1> */ 173 * en = <xn, xn> 177 Word16 xn[], /* i: LTP target vector, Q0 */
|
H A D | spreproc.cpp | 117 xn -- Word16 array -- target vector for pitch search 185 Word16 xn[], /* o : target vector for pitch search */ 227 Residu(Ap1, error, xn, L_SUBFR); 229 /* target signal xn[]*/ 230 Syn_filt(Ap2, xn, xn, L_SUBFR, mem_w0, 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 | spreproc.h | 122 Word16 xn[], /* o : target vector for pitch search */
|
H A D | spstproc.h | 117 Word16 xn[], /* i : Target vector for pitch search */
|
H A D | cl_ltp.cpp | 448 xn = pointer to target vector for pitch search (Word16) 461 g_coeff = pointer to array of correlations between xn, y1, & y2 (Word16) 502 Word16 xn[], // i : Target vector for pitch search Q0 509 Word16 g_coeff[], // o : Correlations between xn, y1, & y2 524 mode, T_op, exc, xn, h1, 544 *gain_pit = G_pitch(mode, xn, y1, g_coeff, L_SUBFR); 586 xn2[i] = sub(xn[i], extract_h(L_temp)); 628 Word16 xn[], /* i : Target vector for pitch search Q0 */ 635 Word16 g_coeff[], /* o : Correlations between xn, y1, & y2 */ 662 xn, 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 | pitch_fr.h | 131 Word16 xn[], /* i : target vector */
|
H A D | cl_ltp.h | 142 Word16 xn[], /* i : Target vector for pitch search Q0 */ 149 Word16 g_coeff[], /* o : Correlations between xn, y1, & y2 */
|
H A D | gain_q.h | 155 Word16 xn[], /* i : Target vector. */ 159 Word16 g_coeff[], /* i : Correlations <xn y1> <y1 y1> */
|
H A D | spstproc.cpp | 108 xn -- Word16 Array -- Target vector for pitch search 180 Word16 xn[], /* i : Target vector for pitch search */ 301 * mem_w0,xn,sum Q0 Q0 310 mem_w0[j] = xn[i] - temp; 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 | gain_q.cpp | 390 xn -- Word16 array -- Target vector. 394 g_coeff -- Word16 array -- Correlations <xn y1> <y1 y1> 474 Word16 xn[], /* i : Target vector. */ 478 Word16 g_coeff[], /* i : Correlations <xn y1> <y1 y1> */ 539 xn, 564 xn, 598 xn, 610 xn, 679 xn, 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 | calc_en.cpp | 405 xn = LTP target vector, buffer type Word16 409 g_coeff = Correlations <xn y1> <y1 y1> 443 coeff[1] = -2 xn y1 445 coeff[3] = -2 xn y2 450 Product <y1 y1> and <xn y1> have been computed in G_pitch() and 469 Word16 xn[], // i : LTP target vector, Q0 473 Word16 g_coeff[], // i : Correlations <xn y1> <y1 y1> 501 frac_coeff[1] = negate(g_coeff[2]); // coeff[1] = -2 xn y1 515 // Compute scalar product -2*<xn[],y2[]> 517 s = L_mac(ener_init, xn[ 592 calc_filt_energies( enum Mode mode, Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 *cod_gain_frac, Word16 *cod_gain_exp, Flag *pOverflow ) argument 793 calc_target_energy( Word16 xn[], Word16 *en_exp, Word16 *en_frac, Flag *pOverflow ) argument [all...] |
H A D | cod_amr.cpp | 828 Word16 xn[L_SUBFR]; // Target vector for pitch search 833 Word16 gCoeff[6]; // Correlations between xn, y1, & y2: 1052 st->h1, xn, res, st->error); 1060 st->h1, xn, res, st->error); 1077 &st->exc[i_subfr], res2, xn, lsp_flag, xn2, y1, 1103 xn, xn2, y1, y2, gCoeff, evenSubfr, gp_limit, 1114 gain_code, Aq, synth, xn, code, y1, y2, st->mem_syn, 1122 Copy(xn, xn_sf0, L_SUBFR); 1130 gain_code, Aq, synth, xn, code, y1, y2, 1155 // re-run pre-processing to get xn righ 1231 Word16 xn[L_SUBFR]; /* Target vector for pitch search */ local [all...] |
H A D | g_pitch.cpp | 116 xn = pointer to pitch target buffer (Word16) 165 Word16 xn[], // i : Pitch target. 213 // Compute scalar product <xn[],y1[]> 220 s = L_mac(s, xn[i], y1[i]); 232 s = L_mac (s, xn[i], scaled_y1[i]); 300 Word16 xn[], /* i : Pitch target. Q0 */ 318 Word16 *p_xn = &xn[0]; 369 /* Compute scalar product <xn[],y1[]> */ 298 G_pitch( enum Mode mode, Word16 xn[], Word16 y1[], Word16 g_coeff[], Word16 L_subfr, Flag *pOverflow ) argument
|
H A D | pitch_fr.cpp | 157 xn[] = pointer to buffer of type Word16 206 static void Norm_Corr (Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, 260 // Compute correlation between xn[] and excf[] 264 s = L_mac (s, xn[j], s_excf[j]); 313 Word16 xn[], 384 p_x = xn; 1060 xn[] = pointer to target vector of type Word16 1114 Word16 xn[], // i : target vector Q0 1217 Norm_Corr (exc, xn, h, L_subfr, t_min, t_max, corr); 1368 Word16 xn[], /* 312 Norm_Corr(Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, Word16 t_min, Word16 t_max, Word16 corr_norm[], Flag *pOverflow) argument 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/base/media/libstagefright/codecs/amrwbenc/src/ |
H A D | g_pitch.c | 30 Word16 xn[], /* (i) : Pitch target. */
40 /* Compute scalar product <xn[],y1[]> */
41 xy = extract_h(Dot_product12_asm(xn, y1, L_subfr, &exp_xy));
45 /* Compute scalar product <xn[],y1[]> */
46 xy = extract_h(Dot_product12(xn, y1, L_subfr, &exp_xy));
29 G_pitch( Word16 xn[], Word16 y1[], Word16 g_coeff[], Word16 L_subfr ) argument
|
H A D | pitch_f4.c | 39 Word16 xn[], /* (i) : target vector */
49 Word16 xn[], /* (i) : target vector */
66 Word16 xn[], /* (i) : target vector */
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);
163 Word16 xn[], /* (i) : target vector */
184 /* Compute rounded down 1/sqrt(energy of xn[]) */
188 L_tmp += (xn[i] * xn[i]);
189 L_tmp += (xn[ 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 [all...] |
H A D | q_gain2.c | 63 Word16 xn[], /* (i) Q_xn: Target vector. */
65 Word16 Q_xn, /* (i) : xn and y1 format */
68 Word16 g_coeff[], /* (i) : Correlations <xn y1> <y1 y1> */
131 * coeff[1] = -2 xn y1 *
133 * coeff[3] = -2 xn y2 *
136 * Product <y1 y1> and <xn y1> have been compute in G_pitch() and *
142 coeff[1] = negate(g_coeff[2]); /* coeff[1] = -2 xn y1 */
153 /* Compute scalar product -2*<xn[],y2[]> */
155 coeff[3] = extract_h(L_negate(Dot_product12_asm(xn, y2, L_subfr, &exp)));
157 coeff[3] = extract_h(L_negate(Dot_product12(xn, y 62 Q_gain2( Word16 xn[], Word16 y1[], Word16 Q_xn, Word16 y2[], Word16 code[], Word16 g_coeff[], Word16 L_subfr, Word16 nbits, Word16 * gain_pit, Word32 * gain_cod, Word16 gp_clip, Word16 * mem ) argument [all...] |
H A D | voAMRWBEnc.c | 184 Word16 xn[L_SUBFR]; /* Target vector for pitch search */
local 767 Residu_opt(Ap, error + M, xn, L_SUBFR);
769 Residu(Ap, error + M, xn, L_SUBFR);
771 Deemph2(xn, TILT_FAC, L_SUBFR, &(st->mem_w0));
776 /* first half: xn[] --> cn[] */
778 Copy(xn, code + M, L_SUBFR / 2);
824 * scale xn[] and h1[] to avoid overflow in dot_product12() *
828 Scale_sig_opt(xn, L_SUBFR, shift); /* scaling of xn[] to limit dynamic at 12 bits */
832 Scale_sig(xn, L_SUBF [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
H A D | Norm_Corr_opt.s | 18 @ Word16 xn[], /* (i) : target vector */ 27 @ r1 --- xn[] 71 MOV r14, r1 @copy xn[] address 81 SMLABB r6, r9, r9, r6 @L_tmp += (xn[i] * xn[i]) 82 SMLATT r6, r9, r9, r6 @L_tmp += (xn[i+1] * xn[i+1]) 107 MOV r12, r1 @copy of xn[] 113 LDR r10, [r12], #4 @load xn[i], xn[ [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | acelp.h | 348 Word16 xn[], /* (i) : target vector */
377 Word16 xn[], /* (i) : Pitch target. */
386 Word16 xn[], /* (i) Q_xn:Target vector. */
388 Word16 Q_xn, /* (i) :xn and y1 format */
391 Word16 g_coeff[], /* (i) :Correlations <xn y1> <y1 y1> */
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
H A D | Norm_Corr_neon.s | 18 @ Word16 xn[], /* (i) : target vector */ 27 @ r1 --- xn[] 71 MOV r14, r1 @copy xn[] address 113 MOV r12, r1 @copy of xn[]
|