/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | smooth.c | 80 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()
|
D | do_plc.c | 98 (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 …]
|
D | enhancer_interface.c | 152 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()
|
D | xcorr_coef.c | 90 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()
|
D | cb_update_best_index.c | 67 gainW32 = ((int16_t)WEBRTC_SPL_SHIFT_W32(cDotNew, -tmp16) * invEnergyNew) >> in WebRtcIlbcfix_CbUpdateBestIndex()
|
D | cb_search_core.c | 100 (*critPtr)=WEBRTC_SPL_SHIFT_W32((*critPtr),-tmp16); in WebRtcIlbcfix_CbSearchCore()
|
D | cb_search.c | 371 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/ |
D | lpc_masking_model.c | 689 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 …]
|
D | lattice.c | 193 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()
|
D | entropy_coding.c | 1725 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/ |
D | nsx_core_c.c | 97 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()
|
D | nsx_core.c | 483 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()
|
D | nsx_core_mips.c | 132 tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, nShifts); // Q14 in WebRtcNsx_SpeechNoiseProb()
|
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
D | digital_agc.c | 204 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/ |
D | merge.cc | 246 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()
|
D | time_stretch.cc | 133 cross_corr = WEBRTC_SPL_SHIFT_W32(cross_corr, temp_scale); in Process()
|
D | expand.cc | 502 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()
|
D | background_noise.cc | 249 residual_energy = WEBRTC_SPL_SHIFT_W32(residual_energy, norm_shift); in SaveParameters()
|
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
D | aecm_core_c.c | 118 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()
|
D | aecm_core.c | 957 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()
|
D | aecm_core_mips.c | 1040 tmp32no1 = (int32_t)WEBRTC_SPL_SHIFT_W32(tmpU32, resolutionDiff); in WebRtcAecm_ProcessBlock()
|
/external/webrtc/webrtc/common_audio/signal_processing/include/ |
D | signal_processing_library.h | 85 #define WEBRTC_SPL_SHIFT_W32(x, c) \ macro
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | signal_processing_unittest.cc | 64 EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W32(a, shift_amount)); in TEST_F()
|