/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
l_add.h | 146 Word32 L_sum; 148 L_sum = L_var1 + L_var2; 152 if ((L_sum ^ L_var1) < 0) 154 L_sum = (L_var1 < 0) ? MIN_32 : MAX_32; 159 return (L_sum);
|
l_mac.h | 111 Word32 L_sum; 116 __asm {QDADD L_sum, L_var3, result} 117 return (L_sum); 149 Word32 L_sum; 153 L_sum = (result << 1) + L_var3; 155 /* Check if L_sum and L_var_3 share the same sign */ 158 if ((L_sum ^ L_var3) < 0) 160 L_sum = (L_var3 < 0) ? MIN_32 : MAX_32; 168 L_sum = MAX_32; 170 return (L_sum); [all...] |
mpy_32_16.h | 100 Word32 L_sum; 109 __asm {QDADD L_sum, L_product, result} 110 return (L_sum); 166 Word32 L_sum; 182 L_sum = L_product + (result << 1); 186 if ((L_sum ^ L_product) < 0) 188 L_sum = (L_product < 0) ? MIN_32 : MAX_32; 192 return (L_sum);
|
mpy_32.h | 118 Word32 L_sum; 131 __asm {QDADD L_sum, L_product, product32} 132 L_product = L_sum; 135 __asm {QDADD L_sum, L_product, product32} 136 return (L_sum); 148 register Word32 L_sum; 168 : "=r"(L_sum) 183 : "r"(L_sum), "r"(ra) 197 : "=r"(L_sum) 201 return (L_sum); [all...] |
basic_op_c_equivalent.h | 116 L_sum = 32-bit sum of L_var1 and L_var2 (Word32) 120 Word32 L_sum; 122 L_sum = L_var1 + L_var2; 126 if ((L_sum ^ L_var1) < 0) 128 L_sum = (L_var1 < 0) ? MIN_32 : MAX_32; 133 return (L_sum); 202 Word32 L_sum; 206 L_sum = (result << 1) + L_var3; 208 /* Check if L_sum and L_var_3 share the same sign */ 211 if ((L_sum ^ L_var3) < 0 [all...] |
basic_op_arm_gcc_v5.h | 118 L_sum = 32-bit sum of L_var1 and L_var2 (Word32) 336 register Word32 L_sum; 356 : "=r"(L_sum) 371 : "r"(L_sum), "r"(ra) 385 : "=r"(L_sum) 389 return (L_sum);
|
basic_op_arm_v5.h | 116 L_sum = 32-bit sum of L_var1 and L_var2 (Word32) 193 Word32 L_sum; 198 __asm {QDADD L_sum, L_var3, result} 199 return (L_sum); 305 Word32 L_sum; 319 QDADD L_sum, L_product, product32 321 L_product = L_sum; 329 QDADD L_sum, L_product, product32 331 return (L_sum); 360 Word32 L_sum; [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
c_g_aver.cpp | 285 Word32 L_sum; 408 L_sum = L_mult(6554, st->cbGainHistory[2]); // 0.2 in Q15; L_sum in Q17 411 L_sum = L_mac(L_sum, 6554, st->cbGainHistory[i]); 413 cbGainMean = pv_round(L_sum); // Q1 421 L_sum = L_mult(4681, st->cbGainHistory[0]); // 0.143 in Q15; L_sum in Q17 424 L_sum = L_mac(L_sum, 4681, st->cbGainHistory[i]) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
autocorr.c | 40 Word32 L_sum, L_sum1, L_tmp, F_LEN; 57 L_sum = vo_L_deposit_h(16); /* sqrt(256), avoid overflow after rounding */ 62 L_sum += L_tmp; 66 norm = norm_l(L_sum); 85 L_sum = 1; 88 L_sum += vo_L_mult(y[i], y[i]); 89 L_sum += vo_L_mult(y[i+1], y[i+1]); 90 L_sum += vo_L_mult(y[i+2], y[i+2]); 91 L_sum += vo_L_mult(y[i+3], y[i+3]); 94 norm = norm_l(L_sum); [all...] |
decim54.c | 98 Word32 L_sum; 108 L_sum = vo_mult32((*x++),(*y++)); 109 L_sum += vo_mult32((*x++),(*y++)); 110 L_sum += vo_mult32((*x++),(*y++)); 111 L_sum += vo_mult32((*x++),(*y++)); 112 L_sum += vo_mult32((*x++),(*y++)); 113 L_sum += vo_mult32((*x++),(*y++)); 114 L_sum += vo_mult32((*x++),(*y++)); 115 L_sum += vo_mult32((*x++),(*y++)); 116 L_sum += vo_mult32((*x++),(*y++)) [all...] |
math_op.c | 204 Word32 i, L_sum; 205 L_sum = 0; 208 L_sum += x[i] * y[i]; 210 L_sum = (L_sum << 1) + 1; 212 sft = norm_l(L_sum); 213 L_sum = L_sum << sft; 215 return (L_sum);
|
pred_lt4.c | 59 Word32 L_sum; 78 L_sum = vo_mult32((*ptr1++), (*ptr++)); 79 L_sum += vo_mult32((*ptr1++), (*ptr++)); 80 L_sum += vo_mult32((*ptr1++), (*ptr++)); 81 L_sum += vo_mult32((*ptr1++), (*ptr++)); 82 L_sum += vo_mult32((*ptr1++), (*ptr++)); 83 L_sum += vo_mult32((*ptr1++), (*ptr++)); 84 L_sum += vo_mult32((*ptr1++), (*ptr++)); 85 L_sum += vo_mult32((*ptr1++), (*ptr++)); 86 L_sum += vo_mult32((*ptr1++), (*ptr++)) [all...] |
pitch_f4.c | 297 Word32 k, L_sum; 309 L_sum = vo_mult32(x[0], (*ptr++)); 310 L_sum += vo_mult32(x[1], (*ptr++)); 311 L_sum += vo_mult32(x[2], (*ptr++)); 312 L_sum += vo_mult32(x[3], (*ptr++)); 313 L_sum += vo_mult32(x[4], (*ptr++)); 314 L_sum += vo_mult32(x[5], (*ptr++)); 315 L_sum += vo_mult32(x[6], (*ptr++)); 316 L_sum += vo_mult32(x[7], (*ptr++)); 318 sum = extract_h(L_add(L_shl2(L_sum, 2), 0x8000)) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
oversamp_12k8_to_16k.cpp | 281 int32 L_sum; 292 L_sum = fxp_mac_16by16(tmp1, *(pt_fir++), 0x00002000L); 293 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum); 294 L_sum = fxp_mac_16by16(tmp3, *(pt_fir++), L_sum); 295 L_sum = fxp_mac_16by16(tmp4, *(pt_fir++), L_sum); 300 L_sum = fxp_mac_16by16(tmp1, *(pt_fir++), L_sum); [all...] |
pvamrwbdecoder_basic_op_cequivalent.h | 90 int32 L_sum; 92 L_sum = (int32) var1 + var2; 93 if ((L_sum >> 15) != (L_sum >> 31)) 95 L_sum = (L_sum >> 31) ^ MAX_16; 97 return ((int16)(L_sum));
|
pvamrwb_math_op.cpp | 432 int32 L_sum; 436 L_sum = 1L; 441 L_sum = mac_16by16_to_int32(L_sum, *(pt_x++), *(pt_y++)); 442 L_sum = mac_16by16_to_int32(L_sum, *(pt_x++), *(pt_y++)); 443 L_sum = mac_16by16_to_int32(L_sum, *(pt_x++), *(pt_y++)); 444 L_sum = mac_16by16_to_int32(L_sum, *(pt_x++), *(pt_y++)) [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
basicop2.c | 119 Word32 L_sum; 121 L_sum = (Word32)var1 + (Word32)var2; 122 var_out = saturate(L_sum); [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
basic_op.h | 129 Word32 L_sum; 130 L_sum = (Word32) var1 + var2; 131 var_out = saturate (L_sum); [all...] |