/external/webrtc/src/common_audio/signal_processing/ |
resample_by_2_internal.h | 26 void WebRtcSpl_DownBy2IntToShort(WebRtc_Word32 *in, WebRtc_Word32 len, WebRtc_Word16 *out, 27 WebRtc_Word32 *state); 29 void WebRtcSpl_DownBy2ShortToInt(const WebRtc_Word16 *in, WebRtc_Word32 len, 30 WebRtc_Word32 *out, WebRtc_Word32 *state); 32 void WebRtcSpl_UpBy2ShortToInt(const WebRtc_Word16 *in, WebRtc_Word32 len, 33 WebRtc_Word32 *out, WebRtc_Word32 *state); 35 void WebRtcSpl_UpBy2IntToInt(const WebRtc_Word32 *in, WebRtc_Word32 len, WebRtc_Word32 *out [all...] |
get_hanning_window.c | 61 WebRtc_Word32 index; 62 WebRtc_Word32 factor = ((WebRtc_Word32)0x40000000); 66 index = (WebRtc_Word32)-0x200000; 68 index = (WebRtc_Word32)-0x100000;
|
resample_48khz.c | 28 WebRtcSpl_State48khzTo16khz* state, WebRtc_Word32* tmpmem) 32 // WebRtc_Word32 out[480] 37 // WebRtc_Word32 in[480] 38 // WebRtc_Word32 out[320] 41 memcpy(tmpmem + 8, state->S_48_32, 8 * sizeof(WebRtc_Word32)); 42 memcpy(state->S_48_32, tmpmem + 488, 8 * sizeof(WebRtc_Word32)); 46 // WebRtc_Word32 in[320] 55 memset(state->S_48_48, 0, 16 * sizeof(WebRtc_Word32)); 56 memset(state->S_48_32, 0, 8 * sizeof(WebRtc_Word32)); 57 memset(state->S_32_16, 0, 8 * sizeof(WebRtc_Word32)); [all...] |
division_operations.c | 38 WebRtc_Word32 WebRtcSpl_DivW32W16(WebRtc_Word32 num, WebRtc_Word16 den) 43 return (WebRtc_Word32)(num / den); 46 return (WebRtc_Word32)0x7FFFFFFF; 50 WebRtc_Word16 WebRtcSpl_DivW32W16ResW16(WebRtc_Word32 num, WebRtc_Word16 den) 62 WebRtc_Word32 WebRtcSpl_DivResultInQ31(WebRtc_Word32 num, WebRtc_Word32 den) 64 WebRtc_Word32 L_num = num; 65 WebRtc_Word32 L_den = den [all...] |
resample_by_2.c | 30 static __inline WebRtc_Word32 MUL_ACCUM_1(WebRtc_Word32 tbl_value, 31 WebRtc_Word32 diff, 32 WebRtc_Word32 state) { 33 WebRtc_Word32 result; 46 static __inline WebRtc_Word32 MUL_ACCUM_2(WebRtc_Word32 tbl_value, 47 WebRtc_Word32 diff, 48 WebRtc_Word32 state) { 49 WebRtc_Word32 result [all...] |
spl_sqrt.c | 20 WebRtc_Word32 WebRtcSpl_SqrtLocal(WebRtc_Word32 in); 22 WebRtc_Word32 WebRtcSpl_SqrtLocal(WebRtc_Word32 in) 26 WebRtc_Word32 A, B, x2; 39 B = B - ((WebRtc_Word32)0x40000000); // B = in/2 - 1/2 41 B = B + ((WebRtc_Word32)0x40000000); // B = 1 + x/2 42 B = B + ((WebRtc_Word32)0x40000000); // Add 0.5 twice (since 1.0 does not exist in Q31) 44 x2 = ((WebRtc_Word32)x_half) * ((WebRtc_Word32)x_half) * 2; // A = (x/2)^ [all...] |
filter_ma_fast_q12.c | 26 WebRtc_Word32 o; 33 o = (WebRtc_Word32)0; 44 o = WEBRTC_SPL_SAT((WebRtc_Word32)134215679, o, (WebRtc_Word32)-134217728); 46 *out_ptr++ = (WebRtc_Word16)((o + (WebRtc_Word32)2048) >> 12);
|
/external/webrtc/src/system_wrappers/interface/ |
atomic32.h | 33 Atomic32(WebRtc_Word32 initialValue = 0); 37 WebRtc_Word32 operator++(); 38 WebRtc_Word32 operator--(); 40 WebRtc_Word32 operator+=(WebRtc_Word32 value); 41 WebRtc_Word32 operator-=(WebRtc_Word32 value); 45 bool CompareExchange(WebRtc_Word32 newValue, WebRtc_Word32 compareValue); 46 WebRtc_Word32 Value() const [all...] |
trace.h | 40 static WebRtc_Word32 SetLevelFilter(const WebRtc_UWord32 filter); 43 static WebRtc_Word32 LevelFilter(WebRtc_UWord32& filter); 48 static WebRtc_Word32 SetTraceFile(const char* fileName, 52 static WebRtc_Word32 TraceFile(char fileName[1024]); 57 static WebRtc_Word32 SetTraceCallback(TraceCallback* callback); 71 const WebRtc_Word32 id,
|
cpu_wrapper.h | 25 virtual WebRtc_Word32 CpuUsage() = 0; 26 virtual WebRtc_Word32 CpuUsage(WebRtc_Word8* processName, 28 virtual WebRtc_Word32 CpuUsage(WebRtc_UWord32 dwProcessID) = 0; 43 virtual WebRtc_Word32 CpuUsageMultiCore(WebRtc_UWord32& numCores,
|
/external/webrtc/src/system_wrappers/source/ |
trace_impl_no_op.cc | 23 WebRtc_Word32 Trace::SetLevelFilter(WebRtc_UWord32 /*filter*/) 28 WebRtc_Word32 Trace::LevelFilter(WebRtc_UWord32& /*filter*/) 33 WebRtc_Word32 Trace::TraceFile( 39 WebRtc_Word32 Trace::SetTraceFile(const char* /*fileName*/, 45 WebRtc_Word32 Trace::SetTraceCallback(TraceCallback* /*callback*/) 51 const WebRtc_Word32 /*id*/, const char* /*msg*/, ...)
|
atomic32_mac.cc | 21 Atomic32::Atomic32(WebRtc_Word32 initialValue) : _value(initialValue) 30 WebRtc_Word32 Atomic32::operator++() 35 WebRtc_Word32 Atomic32::operator--() 40 WebRtc_Word32 Atomic32::operator+=(WebRtc_Word32 value) 45 WebRtc_Word32 Atomic32::operator-=(WebRtc_Word32 value) 50 bool Atomic32::CompareExchange(WebRtc_Word32 newValue, 51 WebRtc_Word32 compareValue) 56 WebRtc_Word32 Atomic32::Value() cons [all...] |
atomic32_posix.cc | 21 Atomic32::Atomic32(WebRtc_Word32 initialValue) : _value(initialValue) 30 WebRtc_Word32 Atomic32::operator++() 35 WebRtc_Word32 Atomic32::operator--() 40 WebRtc_Word32 Atomic32::operator+=(WebRtc_Word32 value) 42 WebRtc_Word32 returnValue = __sync_fetch_and_add(&_value, value); 47 WebRtc_Word32 Atomic32::operator-=(WebRtc_Word32 value) 49 WebRtc_Word32 returnValue = __sync_fetch_and_sub(&_value, value); 54 bool Atomic32::CompareExchange(WebRtc_Word32 newValue [all...] |
atomic32_win.cc | 21 Atomic32::Atomic32(WebRtc_Word32 initialValue) : _value(initialValue) 33 WebRtc_Word32 Atomic32::operator++() 35 return static_cast<WebRtc_Word32>(InterlockedIncrement( 39 WebRtc_Word32 Atomic32::operator--() 41 return static_cast<WebRtc_Word32>(InterlockedDecrement( 45 WebRtc_Word32 Atomic32::operator+=(WebRtc_Word32 value) 51 WebRtc_Word32 Atomic32::operator-=(WebRtc_Word32 value) 57 bool Atomic32::CompareExchange(WebRtc_Word32 newValue [all...] |
cpu_mac.h | 23 virtual WebRtc_Word32 CpuUsage(); 24 virtual WebRtc_Word32 CpuUsage(WebRtc_Word8* /*pProcessName*/, 26 virtual WebRtc_Word32 CpuUsage(WebRtc_UWord32 /*dwProcessID*/) {return -1;} 31 virtual WebRtc_Word32 CpuUsageMultiCore(WebRtc_UWord32& numCores, 38 WebRtc_Word32 Update(WebRtc_Word64 timeDiffMS); 42 WebRtc_Word32 _totalCpuUsage;
|
cpu_linux.h | 23 virtual WebRtc_Word32 CpuUsage(); 24 virtual WebRtc_Word32 CpuUsage(WebRtc_Word8* /*pProcessName*/, 26 virtual WebRtc_Word32 CpuUsage(WebRtc_UWord32 /*dwProcessID*/) {return 0;} 28 virtual WebRtc_Word32 CpuUsageMultiCore(WebRtc_UWord32& numCores,
|
trace_posix.h | 24 virtual WebRtc_Word32 AddTime(char* traceMessage, 27 virtual WebRtc_Word32 AddBuildInfo(char* traceMessage) const; 28 virtual WebRtc_Word32 AddDateTimeInfo(char* traceMessage) const;
|
trace_win.h | 25 virtual WebRtc_Word32 AddTime(char* traceMessage, 28 virtual WebRtc_Word32 AddBuildInfo(char* traceMessage) const; 29 virtual WebRtc_Word32 AddDateTimeInfo(char* traceMessage) const;
|
/external/webrtc/src/modules/audio_processing/agc/ |
analog_agc.h | 63 WebRtc_Word32 analogTargetLevel; // = RXX_BUFFER_LEN * 846805; -22 dBfs 64 WebRtc_Word32 startUpperLimit; // = RXX_BUFFER_LEN * 1066064; -21 dBfs 65 WebRtc_Word32 startLowerLimit; // = RXX_BUFFER_LEN * 672641; -23 dBfs 66 WebRtc_Word32 upperPrimaryLimit; // = RXX_BUFFER_LEN * 1342095; -20 dBfs 67 WebRtc_Word32 lowerPrimaryLimit; // = RXX_BUFFER_LEN * 534298; -24 dBfs 68 WebRtc_Word32 upperSecondaryLimit;// = RXX_BUFFER_LEN * 2677832; -17 dBfs 69 WebRtc_Word32 lowerSecondaryLimit;// = RXX_BUFFER_LEN * 267783; -27 dBfs 77 WebRtc_Word32 filterState[8]; // For downsampling wb to nb 78 WebRtc_Word32 upperLimit; // Upper limit for mic energy 79 WebRtc_Word32 lowerLimit; // Lower limit for mic energ [all...] |
digital_agc.h | 27 WebRtc_Word32 downState[8]; 32 WebRtc_Word32 varianceLongTerm; // Q8 35 WebRtc_Word32 varianceShortTerm; // Q8 41 WebRtc_Word32 capacitorSlow; 42 WebRtc_Word32 capacitorFast; 43 WebRtc_Word32 gain; 44 WebRtc_Word32 gainTable[32]; 55 WebRtc_Word32 WebRtcAgc_InitDigital(DigitalAgc_t *digitalAgcInst, WebRtc_Word16 agcMode); 57 WebRtc_Word32 WebRtcAgc_ProcessDigital(DigitalAgc_t *digitalAgcInst, const WebRtc_Word16 *inNear, 62 WebRtc_Word32 WebRtcAgc_AddFarendToDigital(DigitalAgc_t *digitalAgcInst, const WebRtc_Word16 *inFar [all...] |
/external/webrtc/src/modules/audio_processing/aecm/interface/ |
echo_control_mobile.h | 51 * WebRtc_Word32 return 0: OK 54 WebRtc_Word32 WebRtcAecm_Create(void **aecmInst); 65 * WebRtc_Word32 return 0: OK 68 WebRtc_Word32 WebRtcAecm_Free(void *aecmInst); 76 * WebRtc_Word32 sampFreq Sampling frequency of data 80 * WebRtc_Word32 return 0: OK 83 WebRtc_Word32 WebRtcAecm_Init(void* aecmInst, 84 WebRtc_Word32 sampFreq); 98 * WebRtc_Word32 return 0: OK 101 WebRtc_Word32 WebRtcAecm_BufferFarend(void* aecmInst [all...] |
/external/webrtc/src/modules/audio_processing/ |
splitting_filter.h | 37 WebRtc_Word32* filt_state1, 38 WebRtc_Word32* filt_state2); 59 WebRtc_Word32* filt_state1, 60 WebRtc_Word32* filt_state2);
|
splitting_filter.cc | 19 WebRtc_Word32* filter_state1, 20 WebRtc_Word32* filter_state2) 28 WebRtc_Word32* filt_state1, 29 WebRtc_Word32* filt_state2)
|
/external/webrtc/src/common_audio/signal_processing/include/ |
spl_inl_armv7.h | 18 static __inline WebRtc_Word32 WEBRTC_SPL_MUL_16_32_RSFT16(WebRtc_Word16 a, 19 WebRtc_Word32 b) { 20 WebRtc_Word32 tmp; 25 static __inline WebRtc_Word32 WEBRTC_SPL_MUL_32_32_RSFT32(WebRtc_Word16 a, 27 WebRtc_Word32 c) { 28 WebRtc_Word32 tmp; 34 static __inline WebRtc_Word32 WEBRTC_SPL_MUL_32_32_RSFT32BI(WebRtc_Word32 a, 35 WebRtc_Word32 b) { 36 WebRtc_Word32 tmp [all...] |
/external/webrtc/src/modules/audio_processing/aec/interface/ |
echo_cancellation.h | 74 * WebRtc_Word32 return 0: OK 77 WebRtc_Word32 WebRtcAec_Create(void **aecInst); 88 * WebRtc_Word32 return 0: OK 91 WebRtc_Word32 WebRtcAec_Free(void *aecInst); 99 * WebRtc_Word32 sampFreq Sampling frequency of data 100 * WebRtc_Word32 scSampFreq Soundcard sampling frequency 104 * WebRtc_Word32 return 0: OK 107 WebRtc_Word32 WebRtcAec_Init(void *aecInst, 108 WebRtc_Word32 sampFreq, 109 WebRtc_Word32 scSampFreq) [all...] |