/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
chebyshev.c | 42 tmp1W32 = WEBRTC_SPL_LSHIFT_W32((int32_t)x, 10); 43 tmp1W32 += WEBRTC_SPL_LSHIFT_W32((int32_t)f[1], 14); 50 b1_low = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp1W32-WEBRTC_SPL_LSHIFT_W32(((int32_t)b1_high),16), 1); 53 tmp1W32 = WEBRTC_SPL_LSHIFT_W32( (WEBRTC_SPL_MUL_16_16(b1_high, x) + 57 tmp1W32 += WEBRTC_SPL_LSHIFT_W32((int32_t)f[i], 14); 65 b1_low = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp1W32-WEBRTC_SPL_LSHIFT_W32(((int32_t)b1_high),16), 1); 68 tmp1W32 = WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(b1_high, x), 1) + 69 WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16_RSFT(b1_low, x, 15), 1); 72 tmp1W32 += WEBRTC_SPL_LSHIFT_W32((int32_t)f[i], 13);
|
get_lsp_poly.c | 68 low = (int16_t)WEBRTC_SPL_RSHIFT_W32(fPtr[-1]-WEBRTC_SPL_LSHIFT_W32(((int32_t)high),16), 1); 70 tmpW32 = WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(high, (*lspPtr)), 2) + 71 WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16_RSFT(low, (*lspPtr), 15), 2); 77 (*fPtr) -= (int32_t)WEBRTC_SPL_LSHIFT_W32((int32_t)(*lspPtr), 10);
|
window32_w32.c | 49 temp = WEBRTC_SPL_LSHIFT_W32((int32_t)x_hi, 16); 52 temp = WEBRTC_SPL_LSHIFT_W32((int32_t)y_hi, 16); 56 temp = WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(x_hi, y_hi), 1);
|
cb_mem_energy.c | 56 tmp32 = WEBRTC_SPL_LSHIFT_W32(energy, energyShifts[0]); 72 tmp32 = WEBRTC_SPL_LSHIFT_W32(energy, energyShifts[base_size]);
|
hp_input.c | 80 tmpW32 = WEBRTC_SPL_LSHIFT_W32(tmpW32, 3); 84 y[1] = (int16_t)((tmpW32 - WEBRTC_SPL_LSHIFT_W32((int32_t)y[0], 16))>>1);
|
hp_output.c | 80 tmpW32 = WEBRTC_SPL_LSHIFT_W32(tmpW32, 3); 84 y[1] = (int16_t)((tmpW32 - WEBRTC_SPL_LSHIFT_W32((int32_t)y[0], 16))>>1);
|
cb_mem_energy_calc.c | 62 tmp = WEBRTC_SPL_LSHIFT_W32(energy, shft);
|
smooth.c | 79 w00prim = WEBRTC_SPL_LSHIFT_W32(w00, scale1); 84 endiff = WEBRTC_SPL_LSHIFT_W32( 172 w10prim = WEBRTC_SPL_LSHIFT_W32(w10, scale1);
|
cb_mem_energy_augmentation.c | 62 tmp32 = WEBRTC_SPL_LSHIFT_W32(energy, (*enShPtr));
|
cb_search_core.c | 68 tmp32 = WEBRTC_SPL_LSHIFT_W32(*cDotPtr,sh);
|
gain_quant.c | 51 gainW32 = WEBRTC_SPL_LSHIFT_W32((int32_t)gain, 14);
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
levinson_durbin.c | 46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); 50 - WEBRTC_SPL_LSHIFT_W32((int32_t)R_hi[i], 16)), 1); 55 temp2W32 = WEBRTC_SPL_LSHIFT_W32((int32_t)R_hi[1],16) 56 + WEBRTC_SPL_LSHIFT_W32((int32_t)R_low[1],1); // R[1] in Q31 68 - WEBRTC_SPL_LSHIFT_W32((int32_t)K_hi, 16)), 1); 78 - WEBRTC_SPL_LSHIFT_W32((int32_t)A_hi[1], 16)), 1); 91 - WEBRTC_SPL_LSHIFT_W32((int32_t)tmp_hi, 16)), 1); 101 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, Alpha_exp); 104 - WEBRTC_SPL_LSHIFT_W32((int32_t)Alpha_hi, 16)), 1); 127 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, 4) [all...] |
lpc_to_refl_coef.c | 42 tmp32[k] = WEBRTC_SPL_LSHIFT_W32((int32_t)a16[k], 16) 43 - WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(k16[m], a16[m-k+1]), 1); 54 k16[m - 1] = (int16_t)WEBRTC_SPL_LSHIFT_W32(tmp32[m], 2); //Q13<<2 => Q15
|
division_operations.c | 118 - WEBRTC_SPL_LSHIFT_W32((int32_t)tmp_hi, 16)), 1); 127 - WEBRTC_SPL_LSHIFT_W32((int32_t)tmp_hi, 16)), 1); 132 - WEBRTC_SPL_LSHIFT_W32((int32_t)num_hi, 16)), 1); 140 tmpW32 = WEBRTC_SPL_LSHIFT_W32(tmpW32, 3);
|
splitting_filter.c | 145 half_in2[i] = WEBRTC_SPL_LSHIFT_W32((int32_t)in_data[k], 10); 146 half_in1[i] = WEBRTC_SPL_LSHIFT_W32((int32_t)in_data[k + 1], 10); 187 half_in1[i] = WEBRTC_SPL_LSHIFT_W32(tmp, 10); 189 half_in2[i] = WEBRTC_SPL_LSHIFT_W32(tmp, 10);
|
spl_sqrt.c | 146 A = WEBRTC_SPL_LSHIFT_W32(A, sh); // Normalize A 160 A = (int32_t)WEBRTC_SPL_LSHIFT_W32((int32_t)x_norm, 16);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
transform.c | 68 inre1Q9[k] = (int16_t) WEBRTC_SPL_LSHIFT_W32(tmpreQ16[k], sh); //Q(16+sh) 69 inre2Q9[k] = (int16_t) WEBRTC_SPL_LSHIFT_W32(tmpimQ16[k], sh); //Q(16+sh) 72 int32_t round = WEBRTC_SPL_LSHIFT_W32((int32_t)1, -sh-1); 90 tmpreQ16[k] = WEBRTC_SPL_LSHIFT_W32((int32_t)inre1Q9[k], -sh); //Q(16+sh) -> Q16 91 tmpimQ16[k] = WEBRTC_SPL_LSHIFT_W32((int32_t)inre2Q9[k], -sh); //Q(16+sh) -> Q16 132 tmpInRe = WEBRTC_SPL_LSHIFT_W32((int32_t) inreQ7[k], 9); // Q7 -> Q16 133 tmpInIm = WEBRTC_SPL_LSHIFT_W32((int32_t) inimQ7[k], 9); // Q7 -> Q16 134 tmpInRe2 = WEBRTC_SPL_LSHIFT_W32((int32_t) inreQ7[FRAMESAMPLES/2 - 1 - k], 9); // Q7 -> Q16 135 tmpInIm2 = WEBRTC_SPL_LSHIFT_W32((int32_t) inimQ7[FRAMESAMPLES/2 - 1 - k], 9); // Q7 -> Q16 163 inreQ7[k] = (int16_t) WEBRTC_SPL_LSHIFT_W32(outre1Q16[k], sh); //Q(16+sh [all...] |
arith_routines_hist.c | 104 W_upper = WEBRTC_SPL_LSHIFT_W32(W_upper, 8); 109 *streamPtr = (uint16_t) WEBRTC_SPL_LSHIFT_W32( 117 streamData->streamval = WEBRTC_SPL_LSHIFT_W32(streamData->streamval, 8); 178 streamval = WEBRTC_SPL_LSHIFT_W32((uint32_t)*streamPtr++, 16); 234 streamval = WEBRTC_SPL_LSHIFT_W32(streamval, 8) | 238 streamval = WEBRTC_SPL_LSHIFT_W32(streamval, 8) | 242 W_upper = WEBRTC_SPL_LSHIFT_W32(W_upper, 8); 384 streamval = WEBRTC_SPL_LSHIFT_W32(streamval, 8) | (*streamPtr++ & 0x00FF); 387 streamval = WEBRTC_SPL_LSHIFT_W32(streamval, 8) | (*streamPtr >> 8); 390 W_upper = WEBRTC_SPL_LSHIFT_W32(W_upper, 8) [all...] |
lpc_masking_model.c | 45 tmp32b = WEBRTC_SPL_LSHIFT_W32((int32_t)a16[k], 16) - 46 WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_16(k16[m], a16[m-k+1]), 1); 56 k16[m-1] = (int16_t) WEBRTC_SPL_LSHIFT_W32(tmp32[m], 3); //Q12<<3 => Q15 91 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); 94 R_low[i] = (int16_t)WEBRTC_SPL_RSHIFT_W32((temp1W32 - WEBRTC_SPL_LSHIFT_W32((int32_t)R_hi[i], 16)), 1); 99 temp2W32 = WEBRTC_SPL_LSHIFT_W32((int32_t)R_hi[1],16) + 100 WEBRTC_SPL_LSHIFT_W32((int32_t)R_low[1],1); /* R[1] in Q31 */ 110 K_low = (int16_t)WEBRTC_SPL_RSHIFT_W32((temp1W32 - WEBRTC_SPL_LSHIFT_W32((int32_t)K_hi, 16)), 1); 119 A_low[1] = (int16_t)WEBRTC_SPL_RSHIFT_W32((temp1W32 - WEBRTC_SPL_LSHIFT_W32((int32_t)A_hi[1], 16)), 1); 123 temp1W32 = WEBRTC_SPL_LSHIFT_W32((WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(K_hi, K_low), 14) [all...] |
filters.c | 77 a = WEBRTC_SPL_LSHIFT_W32(a, 1); // Q15 -> Q16 83 WEBRTC_SPL_LSHIFT_W32(a,1), 84 WEBRTC_SPL_LSHIFT_W32((uint32_t)InOut16[n], 16)); // Q15<<1 + Q0<<16 = Q16 + Q16 = Q16 106 state_in[WEBRTC_SPL_MUL_16_16(2, ALLPASSSECTIONS)] = WEBRTC_SPL_LSHIFT_W32((uint32_t)in[N-1],16);
|
lattice.c | 132 gain32 = WEBRTC_SPL_LSHIFT_W32(gain32, gain_sh); //Q(17+gain_sh) 147 fQ15vec[i] = WEBRTC_SPL_LSHIFT_W32((int32_t)lat_inQ0[i + temp1], 15); //Q15 148 gQ15[0][i] = WEBRTC_SPL_LSHIFT_W32((int32_t)lat_inQ0[i + temp1], 15); //Q15 162 t16b = (int16_t) (tmp32-WEBRTC_SPL_LSHIFT_W32(((int32_t)t16a), 16)); 259 tmp32 = WEBRTC_SPL_LSHIFT_W32(gain_lo_hiQ17[temp3], 10); // Q27 275 tmp32 = WEBRTC_SPL_LSHIFT_W32(lat_inQ25[i + temp1], 1); //Q25->Q26
|
bandwidth_estimator.c | 262 if (sendTimeDiff <= WEBRTC_SPL_LSHIFT_W32(frameSizeSampl, 1)) { 272 if(WEBRTC_SPL_LSHIFT_W32(bweStr->countRecPkts, 10) > WEBRTC_SPL_MUL_16_16(922, numPktsExpected)) { 328 WEBRTC_SPL_LSHIFT_W32(frameSizeSampl, 1); 436 if (WEBRTC_SPL_LSHIFT_W32(arrTimeDiff, 6) > (int32_t)arrTimeProj) { 437 arrTimeNoise = WEBRTC_SPL_LSHIFT_W32(arrTimeDiff, 6) - arrTimeProj; 440 arrTimeNoise = arrTimeProj - WEBRTC_SPL_LSHIFT_W32(arrTimeDiff, 6); 449 bweStr->recJitter = WEBRTC_SPL_MUL(weight, WEBRTC_SPL_LSHIFT_W32(arrTimeNoiseAbs, 5)) 462 bweStr->recJitterShortTermAbs = WEBRTC_SPL_MUL(51, WEBRTC_SPL_LSHIFT_W32(arrTimeNoiseAbs, 3)) + 468 bweStr->recJitterShortTerm = WEBRTC_SPL_MUL(205, WEBRTC_SPL_LSHIFT_W32(arrTimeNoise, 3)) * sign + 560 WEBRTC_SPL_MUL(51, WEBRTC_SPL_LSHIFT_W32((int32_t)MAX_ISAC_MD, 9)) [all...] |
pitch_estimator.c | 35 frac=(int16_t)WEBRTC_SPL_RSHIFT_W32(((uint32_t)(WEBRTC_SPL_LSHIFT_W32(x, zeros))&0x7FFFFFFF), 23); 38 lg2= (WEBRTC_SPL_LSHIFT_W32((31-zeros), 8)+frac); 185 old_lagQ8= WEBRTC_SPL_LSHIFT_W32((int32_t)old_lagQ,1); //Q8 305 xq[0] = WEBRTC_SPL_LSHIFT_W32(xq[0], 8); 320 tmp32b = WEBRTC_SPL_LSHIFT_W32(tmp32a, 1); 334 tmp32a = WEBRTC_SPL_LSHIFT_W32(k, 7); // 0.5*k Q8 335 tmp32b = (int32_t) (WEBRTC_SPL_LSHIFT_W32(tmp32a, 1)) - ratq; // Q8 380 xq[0] = WEBRTC_SPL_LSHIFT_W32(xq[0], 8); 396 tmp32b = WEBRTC_SPL_LSHIFT_W32(tmp32a, 1);
|
arith_routines_logist.c | 268 res = WEBRTC_SPL_LSHIFT_W32((int32_t)1, 382 streamVal = WEBRTC_SPL_LSHIFT_W32(streamVal, 8) | (*streamPtr++ & 0x00FF); 385 streamVal = WEBRTC_SPL_LSHIFT_W32(streamVal, 8) | 393 streamVal = WEBRTC_SPL_LSHIFT_W32(streamVal, 8); 401 W_upper = WEBRTC_SPL_LSHIFT_W32(W_upper, 8);
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/agc/ |
digital_agc.c | 120 + WebRtcSpl_DivW32W16ResW16(WEBRTC_SPL_LSHIFT_W32((int32_t)limiterLvlX, 13), 147 inLevel = WEBRTC_SPL_LSHIFT_W32((int32_t)diffGain, 14) - inLevel; // Q14 189 numFIX = WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_U16(maxGain, constMaxGain), 6); // Q14 202 numFIX = WEBRTC_SPL_LSHIFT_W32(numFIX, zeros); // Q(14+zeros) 217 tmp32 -= WEBRTC_SPL_LSHIFT_W32(limiterLvl, 14); // Q14 229 tmp32 += WEBRTC_SPL_LSHIFT_W32(16, 14); // in Q14 (Make sure final output is in Q16) 239 tmp32no2 = WEBRTC_SPL_LSHIFT_W32(1, 14) - fracPart; 242 tmp32no2 = WEBRTC_SPL_LSHIFT_W32(1, 14) - tmp32no2; 250 gainTable[i] = WEBRTC_SPL_LSHIFT_W32(1, intPart) 465 tmp32 = (WEBRTC_SPL_LSHIFT_W32(cur_level, zeros) & 0x7FFFFFFF) [all...] |