Searched defs:L_subfr (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_pitch.cpp120 L_subfr = length of subframe (Word16)
168 Word16 L_subfr // i : Length of subframe.
175 Word16 scaled_y1[L_SUBFR]; // Usually dynamic allocation of (L_subfr)
182 for (i = 0; i < L_subfr; i++)
192 for (i = 0; i < L_subfr; i++)
204 for (i = 0; i < L_subfr; i++)
218 for (i = 0; i < L_subfr; i++)
230 for (i = 0; i < L_subfr; i++)
303 Word16 L_subfr, /* i : Length of subframe. */
327 for (i = L_subfr >>
298 G_pitch( enum Mode mode, Word16 xn[], Word16 y1[], Word16 g_coeff[], Word16 L_subfr, Flag *pOverflow ) argument
[all...]
H A Dcalc_en.cpp97 L_subfr = Subframe length, type Word16
150 Word16 L_subfr, // i : Subframe length
164 for (i = 1; i < L_subfr; i++)
182 for (i = 1; i < L_subfr; i++)
191 for (i = 1; i < L_subfr; i++)
200 for (i = 0; i < L_subfr; i++)
269 Word16 L_subfr, /* i : Subframe length */
304 for (i = 0; i < L_subfr; i++)
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
H A Dqgain795.cpp734 L_subfr -- Word16 -- Subframe length
820 Word16 L_subfr, /* i : Subframe length */
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 Dpitch_fr.cpp159 L_subfr = length of sub frame (Word16)
206 static void Norm_Corr (Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr,
213 // Usally dynamic allocation of (L_subfr)
221 Convolve (&exc[k], h, excf, L_subfr);
225 for (j = 0; j < L_subfr; j++) {
232 for (j = 0; j < L_subfr; j++) {
253 for (j = 0; j < L_subfr; j++) {
263 for (j = 0; j < L_subfr; j++) {
278 for (j = L_subfr - 1; j > 0; j--) {
315 Word16 L_subfr,
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/av/media/libstagefright/codecs/amrnb/common/src/
H A Dpred_lt.cpp141 L_subfr = number of samples per subframe (Word16)
168 On return exc[0..L_subfr-1] contains the interpolated signal
188 Word16 L_subfr, // input : subframe size
211 for (j = 0; j < L_subfr; j++)
258 Word16 L_subfr, /* input : subframe size */
319 for (j = (L_subfr >> 1); j != 0 ; j--)
346 } /* for (j = (L_subfr>>1); j != 0 ; j--) */
254 Pred_lt_3or6( Word16 exc[], Word16 T0, Word16 frac, Word16 L_subfr, Word16 flag3, Flag *pOverflow ) argument
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_gain2_amr_wb.cpp50 int16 L_subfr, (i) : Subframe lenght.
173 int16 L_subfr, /* (i) : Subframe lenght. */
203 * L_tmp = 1.0 / sqrt(energy of code/ L_subfr)
206 L_tmp = Dot_product12(code, code, L_subfr, &exp);
207 exp -= 24; /* exp: -18 (code in Q9), -6 (/L_subfr) */
169 dec_gain2_amr_wb( int16 index, int16 nbits, int16 code[], int16 L_subfr, int16 * gain_pit, int32 * gain_cod, int16 bfi, int16 prev_bfi, int16 state, int16 unusable_frame, int16 vad_hist, int16 * mem ) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dpitch_f4.c43 Word16 L_subfr,
53 Word16 L_subfr,
76 Word16 L_subfr /* (i) : Length of subframe */
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);
167 Word16 L_subfr,
176 UNUSED(L_subfr);
163 Norm_Corr( Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, Word16 t_min, Word16 t_max, Word16 corr_norm[]) argument
H A Dq_gain2.c70 Word16 L_subfr, /* (i) : Subframe lenght. */
147 coeff[2] = extract_h(Dot_product12_asm(y2, y2, L_subfr, &exp));
149 coeff[2] = extract_h(Dot_product12(y2, y2, L_subfr, &exp));
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, y2, L_subfr, &exp)));
164 coeff[4] = extract_h(Dot_product12_asm(y1, y2, L_subfr, &exp));
166 coeff[4] = extract_h(Dot_product12(y1, y2, L_subfr, &exp));
173 * L_tmp = MEAN_ENER - 10log10(energy of code/ L_subfr) *
174 * = MEAN_ENER - 3.0103*log2(energy of code/ L_subfr) *
177 L_tmp = Dot_product12_asm(code, code, L_subfr,
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...]

Completed in 111 milliseconds