Searched defs:xn (Results 1 - 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dg_pitch.c30 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 Dpitch_f4.c41 Word16 xn[], /* (i) : target vector */
51 Word16 xn[], /* (i) : target vector */
68 Word16 xn[], /* (i) : target vector */
92 Norm_corr_asm(exc, xn, h, L_subfr, t_min, t_max, corr);
94 Norm_Corr(exc, xn, h, L_subfr, t_min, t_max, corr);
165 Word16 xn[], /* (i) : target vector */
187 /* Compute rounded down 1/sqrt(energy of xn[]) */
191 L_tmp += (xn[i] * xn[i]);
192 L_tmp += (xn[
66 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
163 Norm_Corr( Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, Word16 t_min, Word16 t_max, Word16 corr_norm[]) argument
[all...]
H A Dq_gain2.c63 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 DvoAMRWBEnc.c186 Word16 xn[L_SUBFR]; /* Target vector for pitch search */ local
769 Residu_opt(Ap, error + M, xn, L_SUBFR);
771 Residu(Ap, error + M, xn, L_SUBFR);
773 Deemph2(xn, TILT_FAC, L_SUBFR, &(st->mem_w0));
778 /* first half: xn[] --> cn[] */
780 Copy(xn, code + M, L_SUBFR / 2);
826 * scale xn[] and h1[] to avoid overflow in dot_product12() *
830 Scale_sig_opt(xn, L_SUBFR, shift); /* scaling of xn[] to limit dynamic at 12 bits */
834 Scale_sig(xn, L_SUBF
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_pitch.cpp116 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[]> */
405 p_xn = &xn[0];
298 G_pitch( enum Mode mode, Word16 xn[], Word16 y1[], Word16 g_coeff[], Word16 L_subfr, Flag *pOverflow ) argument
H A Dspreproc.cpp117 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 Dspstproc.cpp108 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 Dcalc_en.cpp405 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 Dcl_ltp.cpp448 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 Dgain_q.cpp390 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 Dcod_amr.cpp828 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 Dpitch_fr.cpp157 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...]

Completed in 113 milliseconds