Searched refs:L_shl (Results 1 - 25 of 39) 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 Dcor_h_x.c118 *p1++ = vo_round(L_shl(*p3++, j));
119 *p1++ = vo_round(L_shl(*p3++, j));
120 *p1++ = vo_round(L_shl(*p3++, j));
121 *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 Dhp_wsp.c64 L_tmp = L_shl(L_tmp, exp);
72 L_tmp = L_shl(L_tmp, exp);
H A Dc2t64fx.c82 s = L_shl(s, add1(exp, 5));
93 k_dn = vo_round(L_shl(s, (exp + 8))); /* k_dn = 256..4096 */
/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.cpp170 L_acc = L_shl(L_acc, normShift);
274 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 */
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dquantize.c408 distSingle = L_shl((saShft * saShft), g2);
414 distSingle = L_shl((diff * diff), g2);
420 distSingle = L_shl((diff * diff), g2);
426 distSingle = L_shl((diff * diff), g2);
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Dbasicop2.c423 | L_mult(var1,var2) = L_shl((var1 times var2),1) and |
926 | Function Name : L_shl |
959 Word32 L_shl (Word32 L_var1, Word16 var2) function
1030 L_var_out = L_shl (L_var1, (Word16)-var2);
1308 | if (L_sub(L_shl(L_shr(L_var1,var2),1),L_shr(L_var1,sub(var2,1))))|
1571 | norm_L_var1 = L_shl(L_var1,norm_l(L_var1)). |
H A Dbasic_op.h104 __inline Word32 L_shl (Word32 L_var1, Word16 var2);
106 Word32 L_shl (Word32 L_var1, Word16 var2);
509 __inline Word32 L_shl(Word32 L_var1, Word16 var2) function
568 L_var_out = L_shl (L_var1, (Word16)-var2);
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dbasic_op.h81 static_vo Word32 L_shl (Word32 L_var1, Word16 var2); /* Long shift left, 2 */
358 | L_mult(var1,var2) = L_shl((var1 times var2),1) and |
677 | Function Name : L_shl |
709 static_vo Word32 L_shl (Word32 L_var1, Word16 var2) function
841 | if (L_sub(L_shl(L_shr(L_var1,var2),1),L_shr(L_var1,sub(var2,1))))|
1049 | norm_L_var1 = L_shl(L_var1,norm_l(L_var1)). |

Completed in 190 milliseconds

12