Home
last modified time | relevance | path

Searched refs:WebRtcSpl_SatW32ToW16 (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/voice_engine/
Dutility.cc97 target[i * 2] = WebRtcSpl_SatW32ToW16(left); in MixWithSat()
98 target[i * 2 + 1] = WebRtcSpl_SatW32ToW16(right); in MixWithSat()
105 target[i] = WebRtcSpl_SatW32ToW16(temp); in MixWithSat()
111 target[i] = WebRtcSpl_SatW32ToW16(temp); in MixWithSat()
/external/webrtc/webrtc/common_audio/signal_processing/
Dsplitting_filter.c160 low_band[i] = WebRtcSpl_SatW32ToW16(tmp); in WebRtcSpl_AnalysisQMF()
163 high_band[i] = WebRtcSpl_SatW32ToW16(tmp); in WebRtcSpl_AnalysisQMF()
202 out_data[k++] = WebRtcSpl_SatW32ToW16(tmp); in WebRtcSpl_SynthesisQMF()
205 out_data[k++] = WebRtcSpl_SatW32ToW16(tmp); in WebRtcSpl_SynthesisQMF()
Dresample_by_2_mips.c148 *out++ = WebRtcSpl_SatW32ToW16(out32); in WebRtcSpl_DownsampleBy2()
183 *out++ = WebRtcSpl_SatW32ToW16(out32); in WebRtcSpl_DownsampleBy2()
212 *out++ = WebRtcSpl_SatW32ToW16(out32); in WebRtcSpl_DownsampleBy2()
241 *out++ = WebRtcSpl_SatW32ToW16(out32); in WebRtcSpl_DownsampleBy2()
270 *out++ = WebRtcSpl_SatW32ToW16(out32); in WebRtcSpl_DownsampleBy2()
Dvector_scaling_operations.c75 (*out++) = WebRtcSpl_SatW32ToW16(tmp_w32); in WebRtcSpl_VectorBitShiftW32ToW16()
81 (*out++) = WebRtcSpl_SatW32ToW16(tmp_w32); in WebRtcSpl_VectorBitShiftW32ToW16()
117 *outptr++ = WebRtcSpl_SatW32ToW16((*inptr++ * gain) >> right_shifts); in WebRtcSpl_ScaleVectorWithSat()
Dresample_by_2.c113 *out++ = WebRtcSpl_SatW32ToW16(out32); in WebRtcSpl_DownsampleBy2()
157 *out++ = WebRtcSpl_SatW32ToW16(out32); in WebRtcSpl_UpsampleBy2()
172 *out++ = WebRtcSpl_SatW32ToW16(out32); in WebRtcSpl_UpsampleBy2()
Ddownsample_fast.c44 *data_out++ = WebRtcSpl_SatW32ToW16(out_s32); in WebRtcSpl_DownsampleFastC()
Ddownsample_fast_neon.c213 *data_out++ = WebRtcSpl_SatW32ToW16(out_s32); in WebRtcSpl_DownsampleFastNeon()
/external/webrtc/webrtc/common_audio/signal_processing/include/
Dspl_inl.h27 static __inline int16_t WebRtcSpl_SatW32ToW16(int32_t value32) { in WebRtcSpl_SatW32ToW16() function
77 return WebRtcSpl_SatW32ToW16((int32_t) a + (int32_t) b); in WebRtcSpl_AddSatW16()
81 return WebRtcSpl_SatW32ToW16((int32_t) var1 - (int32_t) var2); in WebRtcSpl_SubSatW16()
Dspl_inl_armv7.h128 static __inline int16_t WebRtcSpl_SatW32ToW16(int32_t value32) { in WebRtcSpl_SatW32ToW16() function
Dspl_inl_mips.h70 static __inline int16_t WebRtcSpl_SatW32ToW16(int32_t value32) { in WebRtcSpl_SatW32ToW16() function
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dlattice_c.c43 tmpAR = (int16_t)WebRtcSpl_SatW32ToW16(tmp32); in WebRtcIsacfix_FilterArLoop()
44 ar_g_Q0[k] = (int16_t)WebRtcSpl_SatW32ToW16(tmp32_2); in WebRtcIsacfix_FilterArLoop()
Dfilterbanks.c145 io[k] = (int16_t)WebRtcSpl_SatW32ToW16(c); // Write output as Q0. in WebRtcIsacfix_HighpassFilterFixDec32C()
227 LP16[k] = (int16_t)WebRtcSpl_SatW32ToW16(tmp3); /*low pass */ in WebRtcIsacfix_SplitAndFilter1()
229 HP16[k] = (int16_t)WebRtcSpl_SatW32ToW16(tmp3); /*high pass */ in WebRtcIsacfix_SplitAndFilter1()
286 LP16[k] = (int16_t)WebRtcSpl_SatW32ToW16(tmp3); /*low pass */ in WebRtcIsacfix_SplitAndFilter2()
288 HP16[k] = (int16_t)WebRtcSpl_SatW32ToW16(tmp3); /*high pass */ in WebRtcIsacfix_SplitAndFilter2()
Dpitch_filter_c.c67 outputBuf[*index2] = WebRtcSpl_SatW32ToW16(tmpW32); in WebRtcIsacfix_PitchFilterCore()
69 outputBuf2[*index2 + PITCH_BUFFSIZE] = WebRtcSpl_SatW32ToW16(tmpW32); in WebRtcIsacfix_PitchFilterCore()
Dlattice.c281 ARfQ0vec[i] = (int16_t)WebRtcSpl_SatW32ToW16(tmp32); // Q0 in WebRtcIsacfix_NormLatticeFilterAr()
289 tmpAR = (int16_t)WebRtcSpl_SatW32ToW16(tmp32); // Q0 in WebRtcIsacfix_NormLatticeFilterAr()
293 ARgQ0vec[i] = (int16_t)WebRtcSpl_SatW32ToW16(tmp32); // Q0 in WebRtcIsacfix_NormLatticeFilterAr()
Ddecode.c208 …tmp_1 = (int16_t)WebRtcSpl_SatW32ToW16(((int32_t)Vector_Word16_1[k]+Vector_Word16_2[k] + 1)); /* C… in WebRtcIsacfix_DecodeImpl()
209 …tmp_2 = (int16_t)WebRtcSpl_SatW32ToW16(((int32_t)Vector_Word16_1[k]-Vector_Word16_2[k])); /* Const… in WebRtcIsacfix_DecodeImpl()
Ddecode_plc.c790 tmp_1 = (int16_t)WebRtcSpl_SatW32ToW16( in WebRtcIsacfix_DecodePlcImpl()
793 tmp_2 = (int16_t)WebRtcSpl_SatW32ToW16( in WebRtcIsacfix_DecodePlcImpl()
/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core.c329 inst->noiseEstQuantile[i] = WebRtcSpl_SatW32ToW16(tmp32no1); in UpdateNoiseEstimate()
485 inst->real[i] = WebRtcSpl_SatW32ToW16(tmp32); // Q0 in DenormalizeC()
505 tmp16b = WebRtcSpl_SatW32ToW16(tmp32); // Q0 in SynthesisUpdateC()
Dnsx_core_neon.c130 *ptr_noiseEstQuantile = WebRtcSpl_SatW32ToW16(tmp32no1); in UpdateNoiseEstimateNeon()