Searched refs:L_shl (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dl_shl.h36 Description: Created separate header file for L_shl function.
51 needed by the L_shl function.
104 Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow);
H A Dbasic_op.h304 Function Name : L_shl
327 static inline Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow) function
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dhp_max.cpp151 t0 = L_sub (L_sub(L_shl(corr[-i], 1), corr[-i-1]), corr[-i+1]);
178 t0 = L_sub(L_shl(t0, 1), L_shl(t1, 1));
183 max16 = extract_h(L_shl(max, shift1));
185 t016 = extract_h(L_shl(t0, shift2));
260 t0 = L_shl(corr[-i], 1, pOverflow);
289 L_temp = L_shl(t0, 1, pOverflow);
290 t1 = L_shl(t1, 1, pOverflow);
296 max16 = extract_h(L_shl(max, shift1));
298 t016 = extract_h(L_shl(t
[all...]
H A Dcalc_en.cpp176 frac_en[0] = extract_h(L_shl(s, exp));
186 frac_en[1] = extract_h(L_shl(s, exp));
195 frac_en[2] = extract_h(L_shl(s, exp));
203 L_temp = L_shl(L_temp, 1);
209 ltp_res_en = extract_h (L_shl (s, exp));
232 *ltpg = pv_round (L_shl (L_temp, 13)); // Q13
315 L_temp = L_shl(L_temp, 1, pOverflow);
340 frac_en[0] = (Word16)(L_shl(s1, exp, pOverflow) >> 16);
351 frac_en[1] = (Word16)(L_shl(s2, exp, pOverflow) >> 16);
356 frac_en[2] = (Word16)(L_shl(s
[all...]
H A Dcor_h_x.cpp50 Description: Added call to round() and L_shl() functions in the last FOR
217 dn[i] = pv_round (L_shl (y32[i], j));
313 s = L_shl(*(p_y32++), j, pOverflow);
315 s = L_shl(*(p_y32++), j, pOverflow);
H A Dcor_h_x2.cpp48 Description: Added call to round() and L_shl() functions in the last FOR
201 dn[i] = pv_round (L_shl (y32[i], j));
278 dn[i] = pv_round(L_shl(y32[i], j, pOverflow), pOverflow);
H A Dset_sign.cpp385 k_cn = extract_h (L_shl (s, 5));
393 k_dn = extract_h (L_shl (s, 5));
398 cor = pv_round (L_shl (L_mac (L_mult (k_cn, cn[i]), k_dn, val), 10));
531 k_cn = (Word16)((L_shl(s, 5, pOverflow)) >> 16);
545 L_temp = L_shl(s, 10, pOverflow);
H A Dqgain795.cpp564 L_t1 = L_shl(L_t1, 1, pOverflow);
572 tmp = extract_h(L_shl(L_mult(alpha, frac_en[2], pOverflow), 1, pOverflow));
579 coeff[3] = extract_h(L_shl(L_mult(alpha, frac_en[3], pOverflow), 1, pOverflow));
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dconvolve.c56 y[n] = voround(L_shl(s, 1));
75 y[n] = voround(L_shl(s, 1));
96 y[n] = voround(L_shl(s, 1));
111 y[n] = voround(L_shl(s, 1));
H A Dcor_h_x.c124 *p1++ = vo_round(L_shl(*p3++, j));
125 *p1++ = vo_round(L_shl(*p3++, j));
126 *p1++ = vo_round(L_shl(*p3++, j));
127 *p1++ = vo_round(L_shl(*p3++, j));
H A Dq_pulse.c223 index = L_shl(quant_1p_N1(posA[0], n_1), tmp);
229 index = L_shl(quant_2p_2N1(posA[0], posA[1], n_1), tmp);
235 index = L_shl(quant_3p_3N1(posA[0], posA[1], posA[2], n_1), N);
246 index = vo_L_add(index, L_shl((L_deposit_l(i) & (3L)), tmp));
281 index = L_shl(1L, tmp); /* index = 1 << ((5*N)-1); */
283 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp);
289 index = L_shl(1L, tmp);
291 tmp2 = L_shl(quant_3p_3N1(posB[0], posB[1], posB[2], n_1), tmp);
297 index = L_shl(1L, tmp); /* index = 1 << ((5*N)-1); */
299 tmp2 = L_shl(quant_3p_3N
[all...]
H A Dpitch_f4.c197 L_tmp = L_add(L_shl(L_tmp, 1), 1);
222 L_tmp = L_add(L_shl(L_tmp, 1), 1);
223 L_tmp1 = L_add(L_shl(L_tmp1, 1), 1);
226 L_tmp = L_shl(L_tmp, exp);
231 L_tmp = L_shl(L_tmp1, exp);
249 L_tmp = L_shl(L_tmp, L_tmp2);
H A Dhp_wsp.c64 L_tmp = L_shl(L_tmp, exp);
72 L_tmp = L_shl(L_tmp, exp);
H A Dc4t64fx.c249 s = L_shl(s, (exp + 5));
260 k_dn = voround(L_shl(s, (exp + 5 + 3))); /* k_dn = 256..4096 */
870 L_sum1 = L_shl(L_sum1, 2);
871 L_sum2 = L_shl(L_sum2, 2);
894 L_sum1 = L_shl(L_sum1, 2);
895 L_sum2 = L_shl(L_sum2, 2);
936 L_sum1 = L_shl(L_sum1, 2);
937 L_sum2 = L_shl(L_sum2, 2);
954 L_sum1 = L_shl(L_sum1, 2);
955 L_sum2 = L_shl(L_sum
[all...]
H A Dc2t64fx.c82 s = L_shl(s, add1(exp, 5));
96 k_dn = voround(L_shl(s, (exp + 8))); /* k_dn = 256..4096 */
H A DvoAMRWBEnc.c1182 L_tmp = L_shl(L_gain_code, Q_new);
1209 L_tmp = L_shl(L_tmp, (5 + shift));
1213 L_tmp = L_shl(L_tmp, (1 - shift));
1224 L_tmp = L_shl(L_tmp, 5);
1300 gain_code = vo_round(L_shl(L_gain_code, Q_new));
1305 L_tmp = L_shl(L_tmp, 5);
1307 L_tmp = L_shl(L_tmp, 1);
1434 L_tmp = L_shl(L_tmp, (exp + 1)); /* L_tmp x 2, L_tmp in Q31 */
1529 L_tmp = L_shl(L_tmp, exp); /* L_tmp, L_tmp in Q31 */
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Ddiv_32.cpp205 result = L_shl(result, 2, pOverflow);
H A Dsqrt_l.cpp165 * L_shl(), L_shr(), sub() called by this module.
168 L_x = L_shl (L_x, e); // L_x is normalized to [0.25..1)
240 L_x = L_shl(L_x, e, pOverflow); /* L_x is normalized to [0.25..1) */
H A Dvad1.cpp531 l_temp2 = L_add(l_temp1, L_shl(*sub_level, sub(16, scale, pOverflow), pOverflow), pOverflow);
532 *sub_level = extract_h(L_shl(l_temp1, scale, pOverflow));
538 level = extract_h(L_shl(l_temp2, scale, pOverflow));
1511 snr_sum = extract_h(L_shl(L_temp, 6, pOverflow));
1521 noise_level = extract_h(L_shl(L_temp, 13, pOverflow));
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dpost_pro.cpp308 L_tmp = L_shl (L_tmp, 2);
311 signal[i] = pv_round(L_shl(L_tmp, 1));
379 L_tmp = L_shl(L_tmp, 3, pOverflow);
384 *(p_signal++) = pv_round(L_shl(L_tmp, 1, pOverflow), pOverflow);
H A Da_refl.cpp173 L_acc = L_shl(L_acc, normShift);
277 L_acc = L_shl(L_acc, normShift, pOverflow);
H A Ddec_gain.cpp251 L_tmp = L_shl(L_tmp, 13, pOverflow);
H A Dagc.cpp666 gain_out = pv_round (L_shl (s, exp));
678 gain_in = pv_round (L_shl (s, i));
686 s = L_shl (s, 7); // s = gain_out / gain_in
690 i = pv_round (L_shl (s, 9));
706 sig_out[i] = extract_h (L_shl (L_mult (sig_out[i], gain), 3));
770 L_temp = L_shl(s, exp, pOverflow);
784 /* L_temp = L_shl(s, i, pOverflow); */
904 gain_out = pv_round (L_shl (s, exp));
916 gain_in = pv_round (L_shl (s, i));
924 s = L_shl (
[all...]
H A Dc_g_aver.cpp433 cbGainMix = pv_round(L_shl(L_sum, 2)); // Q1
641 cbGainMix = pv_round(L_shl(L_sum, 2, pOverflow), pOverflow); /* Q1 */
H A Dph_disp.cpp488 tmp1 = pv_round(L_shl(L_mult(state->prevCbGain, ONFACTPLUS1), 2));
624 L_temp = L_shl (L_temp, tmp_shift); // Q16
893 L_temp = L_shl(L_temp, tmp_shift, pOverflow); /* Q16 */

Completed in 261 milliseconds

12