Home
last modified time | relevance | path

Searched refs:WEBRTC_SPL_SHIFT_W32 (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dsmooth.c80 w11prim = (int16_t) WEBRTC_SPL_SHIFT_W32(w11, scale2); in WebRtcIlbcfix_Smooth()
102 crit = WEBRTC_SPL_SHIFT_W32( in WebRtcIlbcfix_Smooth()
124 w11w00 = (int16_t)WEBRTC_SPL_SHIFT_W32(w11, -scale) * in WebRtcIlbcfix_Smooth()
125 (int16_t)WEBRTC_SPL_SHIFT_W32(w00, -scale); in WebRtcIlbcfix_Smooth()
127 w10w10 = (int16_t)WEBRTC_SPL_SHIFT_W32(w10, -scale) * in WebRtcIlbcfix_Smooth()
128 (int16_t)WEBRTC_SPL_SHIFT_W32(w10, -scale); in WebRtcIlbcfix_Smooth()
130 w00w00 = (int16_t)WEBRTC_SPL_SHIFT_W32(w00, -scale) * in WebRtcIlbcfix_Smooth()
131 (int16_t)WEBRTC_SPL_SHIFT_W32(w00, -scale); in WebRtcIlbcfix_Smooth()
169 w00prim = WEBRTC_SPL_SHIFT_W32(w00, -scale2); in WebRtcIlbcfix_Smooth()
Ddo_plc.c98 (int16_t)WEBRTC_SPL_SHIFT_W32(cross, -shiftMax) * in WebRtcIlbcfix_DoThePlc()
99 (int16_t)WEBRTC_SPL_SHIFT_W32(cross, -shiftMax)) >> 15); in WebRtcIlbcfix_DoThePlc()
110 (int16_t)WEBRTC_SPL_SHIFT_W32(cross_comp, -shift1) * in WebRtcIlbcfix_DoThePlc()
111 (int16_t)WEBRTC_SPL_SHIFT_W32(cross_comp, -shift1)) >> 15); in WebRtcIlbcfix_DoThePlc()
114 measure = (int16_t)WEBRTC_SPL_SHIFT_W32(ener, -shift2) * crossSquare; in WebRtcIlbcfix_DoThePlc()
117 maxMeasure = (int16_t)WEBRTC_SPL_SHIFT_W32(ener_comp, -shift3) * in WebRtcIlbcfix_DoThePlc()
157 tmp1=(int16_t)WEBRTC_SPL_SHIFT_W32(tmp2W32, scale1); in WebRtcIlbcfix_DoThePlc()
160 tmp2=(int16_t)WEBRTC_SPL_SHIFT_W32(ener, scale2); in WebRtcIlbcfix_DoThePlc()
167 tmp1 = (int16_t)WEBRTC_SPL_SHIFT_W32(cross, (totscale>>1)); in WebRtcIlbcfix_DoThePlc()
168 tmp2 = (int16_t)WEBRTC_SPL_SHIFT_W32(cross, totscale-(totscale>>1)); in WebRtcIlbcfix_DoThePlc()
[all …]
Denhancer_interface.c152 corr16[i] = (int16_t)WEBRTC_SPL_SHIFT_W32(corrmax[i], corrSh); in WebRtcIlbcfix_EnhancerInterface()
154 en16[i] = (int16_t)WEBRTC_SPL_SHIFT_W32(ener, enerSh); in WebRtcIlbcfix_EnhancerInterface()
275 tmp1=WEBRTC_SPL_SHIFT_W32(tmp1, (scale1-16)); /* using 15 bits */ in WebRtcIlbcfix_EnhancerInterface()
277 tmp2=WEBRTC_SPL_SHIFT_W32(tmp2, (scale1)); in WebRtcIlbcfix_EnhancerInterface()
Dxcorr_coef.c90 crossCorrmod=(int16_t)WEBRTC_SPL_SHIFT_W32(crossCorr, crossCorrScale); in WebRtcIlbcfix_XcorrCoef()
92 EnergyMod=(int16_t)WEBRTC_SPL_SHIFT_W32(Energy, Energyscale); in WebRtcIlbcfix_XcorrCoef()
Dcb_update_best_index.c67 gainW32 = ((int16_t)WEBRTC_SPL_SHIFT_W32(cDotNew, -tmp16) * invEnergyNew) >> in WebRtcIlbcfix_CbUpdateBestIndex()
Dcb_search_core.c100 (*critPtr)=WEBRTC_SPL_SHIFT_W32((*critPtr),-tmp16); in WebRtcIlbcfix_CbSearchCore()
Dcb_search.c371 targetEner = (int16_t)WEBRTC_SPL_SHIFT_W32(targetEner, -bits) * tmp; in WebRtcIlbcfix_CbSearch()
378 temp1 = (int16_t)WEBRTC_SPL_SHIFT_W32(codedEner, -bits); in WebRtcIlbcfix_CbSearch()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dlpc_masking_model.c689 tmp32 = WEBRTC_SPL_SHIFT_W32((int32_t) 1, QdomLO-20); in WebRtcIsacfix_GetLpcCoef()
691 tmp32 = WEBRTC_SPL_SHIFT_W32((int32_t) 1, QdomHI-20); in WebRtcIsacfix_GetLpcCoef()
719 …tmp = WEBRTC_SPL_SHIFT_W32(maskdata->CorrBufLoQQ[n], sh); // Get CorrBufLoQQ to same domain as cor… in WebRtcIsacfix_GetLpcCoef()
722 …tmp = WEBRTC_SPL_SHIFT_W32(maskdata->CorrBufLoQQ[n], shMem); // Shift up CorrBufLoQQ as much as po… in WebRtcIsacfix_GetLpcCoef()
726 …tmp = WEBRTC_SPL_SHIFT_W32(maskdata->CorrBufLoQQ[n], shMem); // Shift up CorrBufHiQQ as much as po… in WebRtcIsacfix_GetLpcCoef()
768 …tmp = WEBRTC_SPL_SHIFT_W32(maskdata->CorrBufHiQQ[n], sh); // Get CorrBufHiQQ to same domain as cor… in WebRtcIsacfix_GetLpcCoef()
775 …tmp = WEBRTC_SPL_SHIFT_W32(maskdata->CorrBufHiQQ[n], shMem); // Shift up CorrBufHiQQ as much as po… in WebRtcIsacfix_GetLpcCoef()
783 …tmp = WEBRTC_SPL_SHIFT_W32(maskdata->CorrBufHiQQ[n], shMem); // Shift up CorrBufHiQQ as much as po… in WebRtcIsacfix_GetLpcCoef()
874 tmp32b = WEBRTC_SPL_SHIFT_W32(tmp32a, sh); // Q14->Qssh in WebRtcIsacfix_GetLpcCoef()
880 tmp16a = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32c, -shft); // Q(ssh-shft) (denominator) in WebRtcIsacfix_GetLpcCoef()
[all …]
Dlattice.c193 t16a = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32, sh); in WebRtcIsacfix_NormLatticeFilterMa()
268 …den16 = (int16_t) WEBRTC_SPL_SHIFT_W32(tmp32, sh-16); //Q(27+sh-16) = Q(sh+11) (all 16 bits are va… in WebRtcIsacfix_NormLatticeFilterAr()
279 tmp32 = WEBRTC_SPL_SHIFT_W32(tmp32, -(28-sh)); // lat_in[]*inv_gain in Q0 in WebRtcIsacfix_NormLatticeFilterAr()
Dentropy_coding.c1725 CQ11 = WEBRTC_SPL_SHIFT_W32(CQ11,11-shft); // Scale with StepSize, Q11 in WebRtcIsacfix_DecodePitchLag()
1809 CQ17 = WEBRTC_SPL_SHIFT_W32(CQ17,shft); // Scale with StepSize in WebRtcIsacfix_EncodePitchLag()
1828 CQ11 = WEBRTC_SPL_SHIFT_W32(CQ11,11-shft); // Scale with StepSize, Q11 in WebRtcIsacfix_EncodePitchLag()
/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core_c.c97 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, nShifts); // Q14 in WebRtcNsx_SpeechNoiseProb()
234 WEBRTC_SPL_SHIFT_W32(tmp32no2, intPart - 4); // Q8 in WebRtcNsx_SpeechNoiseProb()
244 invLrtFX = WEBRTC_SPL_SHIFT_W32(tmp32no1, 7 - normTmp - normTmp2); in WebRtcNsx_SpeechNoiseProb()
Dnsx_core.c483 tmp32 = WEBRTC_SPL_SHIFT_W32((int32_t)in[i], in DenormalizeC()
620 tmp32no2 = WEBRTC_SPL_SHIFT_W32(tmp32no2, int_part - 11); in WebRtcNsx_CalcParametricNoiseEstimate()
1468 energyOut = WEBRTC_SPL_SHIFT_W32(energyOut, 8 + scaleEnergyOut in WebRtcNsx_DataSynthesis()
1924 tmp32no2 = WEBRTC_SPL_SHIFT_W32(inst->avgMagnPause[i], -nShifts); in WebRtcNsx_ProcessCore()
Dnsx_core_mips.c132 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, nShifts); // Q14 in WebRtcNsx_SpeechNoiseProb()
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c204 tmp32no1 = WEBRTC_SPL_SHIFT_W32(den, zeros - 8); // Q(zeros) in WebRtcAgc_CalculateGainTable()
249 (1 << intPart) + WEBRTC_SPL_SHIFT_W32(fracPart, intPart - 14); in WebRtcAgc_CalculateGainTable()
534 > WEBRTC_SPL_SHIFT_W32((int32_t)32767, 2 * (1 - zeros + 10))) in WebRtcAgc_ProcessDigital()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dmerge.cc246 energy_input = WEBRTC_SPL_SHIFT_W32(energy_input, temp_shift); in SignalScaling()
249 energy_expanded = WEBRTC_SPL_SHIFT_W32(energy_expanded, temp_shift + 14); in SignalScaling()
Dtime_stretch.cc133 cross_corr = WEBRTC_SPL_SHIFT_W32(cross_corr, temp_scale); in Process()
Dexpand.cc502 max_correlation = WEBRTC_SPL_SHIFT_W32(max_correlation, cc_shift); in AnalyzeSignal()
531 WEBRTC_SPL_SHIFT_W32(energy1, -scaled_energy1), in AnalyzeSignal()
682 unvoiced_energy = WEBRTC_SPL_SHIFT_W32(unvoiced_energy, unvoiced_scale); in AnalyzeSignal()
Dbackground_noise.cc249 residual_energy = WEBRTC_SPL_SHIFT_W32(residual_energy, norm_shift); in SaveParameters()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Daecm_core_c.c118 tmp32no1 = WEBRTC_SPL_SHIFT_W32((int32_t)ifft_out[i], in InverseFFTAndWindow()
126 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, in InverseFFTAndWindow()
530 tmp32no1 = (int32_t)WEBRTC_SPL_SHIFT_W32(tmpU32, resolutionDiff); in WebRtcAecm_ProcessBlock()
Daecm_core.c957 tmpU32no1 = WEBRTC_SPL_SHIFT_W32(tmpU32no1, xfaQ); in WebRtcAecm_UpdateChannel()
958 tmpU32no2 = WEBRTC_SPL_SHIFT_W32((uint32_t)dfa[i], dfaQ); in WebRtcAecm_UpdateChannel()
1007 tmp32no2 = WEBRTC_SPL_SHIFT_W32(tmp32no2, shift2ResChan); in WebRtcAecm_UpdateChannel()
Daecm_core_mips.c1040 tmp32no1 = (int32_t)WEBRTC_SPL_SHIFT_W32(tmpU32, resolutionDiff); in WebRtcAecm_ProcessBlock()
/external/webrtc/webrtc/common_audio/signal_processing/include/
Dsignal_processing_library.h85 #define WEBRTC_SPL_SHIFT_W32(x, c) \ macro
/external/webrtc/webrtc/common_audio/signal_processing/
Dsignal_processing_unittest.cc64 EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W32(a, shift_amount)); in TEST_F()