Home
last modified time | relevance | path

Searched refs:WEBRTC_SPL_LSHIFT_W16 (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c238 tmp16 = WEBRTC_SPL_LSHIFT_W16(2, 14) - constLinApprox; in WebRtcAgc_CalculateGainTable()
245 tmp16 = constLinApprox - WEBRTC_SPL_LSHIFT_W16(1, 14); in WebRtcAgc_CalculateGainTable()
478 zeros = WEBRTC_SPL_LSHIFT_W16(zeros, 9) - WEBRTC_SPL_RSHIFT_W16(frac, 3); in WebRtcAgc_ProcessDigital()
486 zeros_fast = WEBRTC_SPL_LSHIFT_W16(zeros_fast, 9); in WebRtcAgc_ProcessDigital()
643 state->meanLongTerm = WEBRTC_SPL_LSHIFT_W16(15, 10); in WebRtcAgc_InitVad()
650 state->meanShortTerm = WEBRTC_SPL_LSHIFT_W16(15, 10); in WebRtcAgc_InitVad()
737 dB = WEBRTC_SPL_LSHIFT_W16(15 - zeros, 11); in WebRtcAgc_ProcessVad()
778 tmp16 = WEBRTC_SPL_LSHIFT_W16(3, 12); in WebRtcAgc_ProcessVad()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dlpc_masking_model.c38 k16[useOrder-1]= WEBRTC_SPL_LSHIFT_W16(a16[useOrder], 4); //Q11<<4 => Q15 in WebRtcSpl_AToK_JSK()
357 lg2= (WEBRTC_SPL_LSHIFT_W16((31-zeros), 8)+frac); in log2_Q8_LPC()
427 expPg=(WebRtc_Word16) -WEBRTC_SPL_LSHIFT_W16(tmp16_2, -tmp16_1); in WebRtcIsacfix_GetVars()
433 expPg32 = (WebRtc_Word32)WEBRTC_SPL_LSHIFT_W16((WebRtc_Word32)expPg, 8); /* Q22 */ in WebRtcIsacfix_GetVars()
441 expPg=(WebRtc_Word16) WEBRTC_SPL_LSHIFT_W16(tmp16_2, -tmp16_1); in WebRtcIsacfix_GetVars()
462 return (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W16(tmp16_2, -tmp16_1); in exp2_Q10_T()
737 …tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, (sh-shMem)), tmp); // Shift alpha t… in WebRtcIsacfix_GetLpcCoef()
740 …tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, 6), tmp); // Shift alpha as much as… in WebRtcIsacfix_GetLpcCoef()
787 …tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, (sh-shMem)), tmp); // Shift alpha t… in WebRtcIsacfix_GetLpcCoef()
794 …tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, 6), tmp); // Shift alpha as much as… in WebRtcIsacfix_GetLpcCoef()
Dpitch_filter.c219 tmpW16 = WEBRTC_SPL_LSHIFT_W16(indW16, 7); in WebRtcIsacfix_PitchFilterGains()
Ddecode_plc.c103 lg2= (WEBRTC_SPL_LSHIFT_W16((31-zeros), 8)+frac); in log2_Q8_T()
117 return (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W16(tmp16_2, -tmp16_1); in exp2_Q10_T()
Dpitch_estimator.c61 return (WebRtc_Word16) WEBRTC_SPL_LSHIFT_W16(tmp16_2, -tmp16_1); in Exp2Q10()
/external/webrtc/src/common_audio/vad/
Dvad_core.c396 pos = WEBRTC_SPL_LSHIFT_W16(n, 1); in WebRtcVad_GmmProbability()
491 pos = WEBRTC_SPL_LSHIFT_W16(n, 1); in WebRtcVad_GmmProbability()
531 ndelt = WEBRTC_SPL_LSHIFT_W16(backval, 4); in WebRtcVad_GmmProbability()
538 tmp16 = WEBRTC_SPL_LSHIFT_W16(k+5, 7); in WebRtcVad_GmmProbability()
541 tmp16 = WEBRTC_SPL_LSHIFT_W16(72+k-n, 7); in WebRtcVad_GmmProbability()
/external/webrtc/src/common_audio/signal_processing/
Dlpc_to_refl_coef.c29 k16[use_order - 1] = WEBRTC_SPL_LSHIFT_W16(a16[use_order], 3); //Q12<<3 => Q15 in WebRtcSpl_LpcToReflCoef()
Dsignal_processing_unittest.cc95 EXPECT_EQ(32766, WEBRTC_SPL_LSHIFT_W16(a, 1)); in TEST_F()
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core.c873 WebRtc_Word16 kLogLowValue = WEBRTC_SPL_LSHIFT_W16(PART_LEN_SHIFT, 7); in WebRtcAecm_CalcEnergies()
890 tmp16 += WEBRTC_SPL_LSHIFT_W16((31 - zeros), 8) + frac; in WebRtcAecm_CalcEnergies()
891 tmp16 -= WEBRTC_SPL_LSHIFT_W16(aecm->dfaNoisyQDomain, 8); in WebRtcAecm_CalcEnergies()
912 tmp16 += WEBRTC_SPL_LSHIFT_W16((31 - zeros), 8) + frac; in WebRtcAecm_CalcEnergies()
913 tmp16 -= WEBRTC_SPL_LSHIFT_W16(far_q, 8); in WebRtcAecm_CalcEnergies()
925 tmp16 += WEBRTC_SPL_LSHIFT_W16((31 - zeros), 8) + frac; in WebRtcAecm_CalcEnergies()
926 tmp16 -= WEBRTC_SPL_LSHIFT_W16(RESOLUTION_CHANNEL16 + far_q, 8); in WebRtcAecm_CalcEnergies()
938 tmp16 += WEBRTC_SPL_LSHIFT_W16((31 - zeros), 8) + frac; in WebRtcAecm_CalcEnergies()
939 tmp16 -= WEBRTC_SPL_LSHIFT_W16(RESOLUTION_CHANNEL16 + far_q, 8); in WebRtcAecm_CalcEnergies()
/external/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h149 #define WEBRTC_SPL_LSHIFT_W16(x, c) ((x) << (c)) macro
/external/webrtc/src/modules/audio_processing/ns/
Dnsx_core.c690 out[j] = WEBRTC_SPL_LSHIFT_W16(in[i], inst->normData); // Q(normData) in CreateComplexBufferC()