Home
last modified time | relevance | path

Searched refs:WebRtc_Word32 (Results 1 – 25 of 82) sorted by relevance

1234

/external/webrtc/src/system_wrappers/source/
Datomic32_linux.h26 inline Atomic32Impl(WebRtc_Word32 initialValue);
29 inline WebRtc_Word32 operator++();
30 inline WebRtc_Word32 operator--();
33 inline Atomic32Impl& operator=(WebRtc_Word32 rhs);
34 inline WebRtc_Word32 operator+=(WebRtc_Word32 rhs);
35 inline WebRtc_Word32 operator-=(WebRtc_Word32 rhs);
37 inline bool CompareExchange(WebRtc_Word32 newValue,
38 WebRtc_Word32 compareValue);
40 inline WebRtc_Word32 Value() const;
44 volatile WebRtc_Word32* _value;
[all …]
Datomic32_mac.h25 inline Atomic32Impl(WebRtc_Word32 initialValue);
28 inline WebRtc_Word32 operator++();
29 inline WebRtc_Word32 operator--();
32 inline Atomic32Impl& operator=(WebRtc_Word32 rhs);
33 inline WebRtc_Word32 operator+=(WebRtc_Word32 rhs);
34 inline WebRtc_Word32 operator-=(WebRtc_Word32 rhs);
36 inline bool CompareExchange(WebRtc_Word32 newValue,
37 WebRtc_Word32 compareValue);
39 inline WebRtc_Word32 Value() const;
43 volatile WebRtc_Word32* _value;
[all …]
Datomic32.cc24 Atomic32Wrapper::Atomic32Wrapper(WebRtc_Word32 initialValue) in Atomic32Wrapper()
34 WebRtc_Word32 Atomic32Wrapper::operator++() in operator ++()
39 WebRtc_Word32 Atomic32Wrapper::operator--() in operator --()
58 Atomic32Wrapper& Atomic32Wrapper::operator=(WebRtc_Word32 rhs) in operator =()
64 WebRtc_Word32 Atomic32Wrapper::operator+=(WebRtc_Word32 rhs) in operator +=()
69 WebRtc_Word32 Atomic32Wrapper::operator-=(WebRtc_Word32 rhs) in operator -=()
74 bool Atomic32Wrapper::CompareExchange(WebRtc_Word32 newValue, in CompareExchange()
75 WebRtc_Word32 compareValue) in CompareExchange()
80 WebRtc_Word32 Atomic32Wrapper::Value() const in Value()
Dtrace_impl.h52 WebRtc_Word32 SetTraceFileImpl(const WebRtc_Word8* fileName,
54 WebRtc_Word32 TraceFileImpl(
57 WebRtc_Word32 SetTraceCallbackImpl(TraceCallback* callback);
60 const WebRtc_Word32 id, const char* msg);
73 virtual WebRtc_Word32 AddThreadId(char* traceMessage) const = 0;
74 virtual WebRtc_Word32 AddTime(char* traceMessage,
77 virtual WebRtc_Word32 AddBuildInfo(char* traceMessage) const = 0;
78 virtual WebRtc_Word32 AddDateTimeInfo(char* traceMessage) const = 0;
86 WebRtc_Word32 AddLevel(char* szMessage, const TraceLevel level) const;
88 WebRtc_Word32 AddModuleAndId(char* traceMessage, const TraceModule module,
[all …]
/external/webrtc/src/common_audio/signal_processing/
Dresample_by_2_internal.h26 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,
36 WebRtc_Word32 *state);
38 void WebRtcSpl_UpBy2IntToShort(const WebRtc_Word32 *in, WebRtc_Word32 len,
39 WebRtc_Word16 *out, WebRtc_Word32 *state);
[all …]
Dresample_48khz.c28 WebRtcSpl_State48khzTo16khz* state, WebRtc_Word32* tmpmem) in WebRtcSpl_Resample48khzTo16khz()
41 memcpy(tmpmem + 8, state->S_48_32, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_Resample48khzTo16khz()
42 memcpy(state->S_48_32, tmpmem + 488, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_Resample48khzTo16khz()
55 memset(state->S_48_48, 0, 16 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo16khz()
56 memset(state->S_48_32, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo16khz()
57 memset(state->S_32_16, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo16khz()
66 WebRtcSpl_State16khzTo48khz* state, WebRtc_Word32* tmpmem) in WebRtcSpl_Resample16khzTo48khz()
79 memcpy(tmpmem + 8, state->S_32_24, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_Resample16khzTo48khz()
80 memcpy(state->S_32_24, tmpmem + 328, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_Resample16khzTo48khz()
93 memset(state->S_16_32, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample16khzTo48khz()
[all …]
Dresample_by_2.c30 static __inline WebRtc_Word32 MUL_ACCUM_1(WebRtc_Word32 tbl_value, in MUL_ACCUM_1()
31 WebRtc_Word32 diff, in MUL_ACCUM_1()
32 WebRtc_Word32 state) { in MUL_ACCUM_1()
33 WebRtc_Word32 result; in MUL_ACCUM_1()
46 static __inline WebRtc_Word32 MUL_ACCUM_2(WebRtc_Word32 tbl_value, in MUL_ACCUM_2()
47 WebRtc_Word32 diff, in MUL_ACCUM_2()
48 WebRtc_Word32 state) { in MUL_ACCUM_2()
49 WebRtc_Word32 result; in MUL_ACCUM_2()
70 WebRtc_Word16* out, WebRtc_Word32* filtState) { in WebRtcSpl_DownsampleBy2()
71 WebRtc_Word32 tmp1, tmp2, diff, in32, out32; in WebRtcSpl_DownsampleBy2()
[all …]
Dspl_sqrt.c20 WebRtc_Word32 WebRtcSpl_SqrtLocal(WebRtc_Word32 in);
22 WebRtc_Word32 WebRtcSpl_SqrtLocal(WebRtc_Word32 in) in WebRtcSpl_SqrtLocal()
26 WebRtc_Word32 A, B, x2; in WebRtcSpl_SqrtLocal()
39 B = B - ((WebRtc_Word32)0x40000000); // B = in/2 - 1/2 in WebRtcSpl_SqrtLocal()
41 B = B + ((WebRtc_Word32)0x40000000); // B = 1 + x/2 in WebRtcSpl_SqrtLocal()
42 B = B + ((WebRtc_Word32)0x40000000); // Add 0.5 twice (since 1.0 does not exist in Q31) in WebRtcSpl_SqrtLocal()
44 x2 = ((WebRtc_Word32)x_half) * ((WebRtc_Word32)x_half) * 2; // A = (x/2)^2 in WebRtcSpl_SqrtLocal()
66 B = B + ((WebRtc_Word32)32768); // Round off bit in WebRtcSpl_SqrtLocal()
71 WebRtc_Word32 WebRtcSpl_Sqrt(WebRtc_Word32 value) in WebRtcSpl_Sqrt()
136 WebRtc_Word32 A; in WebRtcSpl_Sqrt()
[all …]
Ddivision_operations.c38 WebRtc_Word32 WebRtcSpl_DivW32W16(WebRtc_Word32 num, WebRtc_Word16 den) in WebRtcSpl_DivW32W16()
43 return (WebRtc_Word32)(num / den); in WebRtcSpl_DivW32W16()
46 return (WebRtc_Word32)0x7FFFFFFF; in WebRtcSpl_DivW32W16()
50 WebRtc_Word16 WebRtcSpl_DivW32W16ResW16(WebRtc_Word32 num, WebRtc_Word16 den) in WebRtcSpl_DivW32W16ResW16()
62 WebRtc_Word32 WebRtcSpl_DivResultInQ31(WebRtc_Word32 num, WebRtc_Word32 den) in WebRtcSpl_DivResultInQ31()
64 WebRtc_Word32 L_num = num; in WebRtcSpl_DivResultInQ31()
65 WebRtc_Word32 L_den = den; in WebRtcSpl_DivResultInQ31()
66 WebRtc_Word32 div = 0; in WebRtcSpl_DivResultInQ31()
100 WebRtc_Word32 WebRtcSpl_DivW32HiLow(WebRtc_Word32 num, WebRtc_Word16 den_hi, in WebRtcSpl_DivW32HiLow()
104 WebRtc_Word32 tmpW32; in WebRtcSpl_DivW32HiLow()
[all …]
Dsplitting_filter.c46 void WebRtcSpl_AllPassQMF(WebRtc_Word32* in_data, const WebRtc_Word16 data_length, in WebRtcSpl_AllPassQMF()
47 WebRtc_Word32* out_data, const WebRtc_UWord16* filter_coefficients, in WebRtcSpl_AllPassQMF()
48 WebRtc_Word32* filter_state) in WebRtcSpl_AllPassQMF()
67 WebRtc_Word32 diff; in WebRtcSpl_AllPassQMF()
120 WebRtc_Word16* high_band, WebRtc_Word32* filter_state1, in WebRtcSpl_AnalysisQMF()
121 WebRtc_Word32* filter_state2) in WebRtcSpl_AnalysisQMF()
125 WebRtc_Word32 tmp; in WebRtcSpl_AnalysisQMF()
126 WebRtc_Word32 half_in1[kBandFrameLength]; in WebRtcSpl_AnalysisQMF()
127 WebRtc_Word32 half_in2[kBandFrameLength]; in WebRtcSpl_AnalysisQMF()
128 WebRtc_Word32 filter1[kBandFrameLength]; in WebRtcSpl_AnalysisQMF()
[all …]
Dlevinson_durbin.c22 WebRtc_Word16 WebRtcSpl_LevinsonDurbin(WebRtc_Word32 *R, WebRtc_Word16 *A, WebRtc_Word16 *K, in WebRtcSpl_LevinsonDurbin()
37 WebRtc_Word32 temp1W32, temp2W32, temp3W32; in WebRtcSpl_LevinsonDurbin()
50 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)R_hi[i], 16)), 1); in WebRtcSpl_LevinsonDurbin()
55 temp2W32 = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)R_hi[1],16) in WebRtcSpl_LevinsonDurbin()
56 + WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)R_low[1],1); // R[1] in Q31 in WebRtcSpl_LevinsonDurbin()
68 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)K_hi, 16)), 1); in WebRtcSpl_LevinsonDurbin()
78 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)A_hi[1], 16)), 1); in WebRtcSpl_LevinsonDurbin()
86 temp1W32 = (WebRtc_Word32)0x7fffffffL - temp1W32; // temp1W32 = (1 - K[0]*K[0]) in Q31 in WebRtcSpl_LevinsonDurbin()
91 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)tmp_hi, 16)), 1); in WebRtcSpl_LevinsonDurbin()
104 - WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)Alpha_hi, 16)), 1); in WebRtcSpl_LevinsonDurbin()
[all …]
Dresample_by_2_internal.c31 void WebRtcSpl_DownBy2IntToShort(WebRtc_Word32 *in, WebRtc_Word32 len, WebRtc_Word16 *out, in WebRtcSpl_DownBy2IntToShort()
32 WebRtc_Word32 *state) in WebRtcSpl_DownBy2IntToShort()
34 WebRtc_Word32 tmp0, tmp1, diff; in WebRtcSpl_DownBy2IntToShort()
35 WebRtc_Word32 i; in WebRtcSpl_DownBy2IntToShort()
105 if (tmp0 > (WebRtc_Word32)0x00007FFF) in WebRtcSpl_DownBy2IntToShort()
107 if (tmp0 < (WebRtc_Word32)0xFFFF8000) in WebRtcSpl_DownBy2IntToShort()
110 if (tmp1 > (WebRtc_Word32)0x00007FFF) in WebRtcSpl_DownBy2IntToShort()
112 if (tmp1 < (WebRtc_Word32)0xFFFF8000) in WebRtcSpl_DownBy2IntToShort()
125 WebRtc_Word32 len, in WebRtcSpl_DownBy2ShortToInt()
126 WebRtc_Word32 *out, in WebRtcSpl_DownBy2ShortToInt()
[all …]
Dresample_fractional.c44 void WebRtcSpl_Resample48khzTo32khz(const WebRtc_Word32 *In, WebRtc_Word32 *Out, in WebRtcSpl_Resample48khzTo32khz()
45 const WebRtc_Word32 K) in WebRtcSpl_Resample48khzTo32khz()
52 WebRtc_Word32 tmp; in WebRtcSpl_Resample48khzTo32khz()
53 WebRtc_Word32 m; in WebRtcSpl_Resample48khzTo32khz()
90 void WebRtcSpl_Resample32khzTo24khz(const WebRtc_Word32 *In, WebRtc_Word32 *Out, in WebRtcSpl_Resample32khzTo24khz()
91 const WebRtc_Word32 K) in WebRtcSpl_Resample32khzTo24khz()
98 WebRtc_Word32 m; in WebRtcSpl_Resample32khzTo24khz()
99 WebRtc_Word32 tmp; in WebRtcSpl_Resample32khzTo24khz()
149 static void WebRtcSpl_ResampDotProduct(const WebRtc_Word32 *in1, const WebRtc_Word32 *in2, in WebRtcSpl_ResampDotProduct()
150 const WebRtc_Word16 *coef_ptr, WebRtc_Word32 *out1, in WebRtcSpl_ResampDotProduct()
[all …]
Dmin_max_operations.c36 WebRtc_Word32 tempMax = 0; in WebRtcSpl_MaxAbsValueW16()
37 WebRtc_Word32 absVal; in WebRtcSpl_MaxAbsValueW16()
82 WebRtc_Word32 WebRtcSpl_MaxAbsValueW32(G_CONST WebRtc_Word32 *vector, WebRtc_Word16 length) in WebRtcSpl_MaxAbsValueW32()
86 WebRtc_Word32 retval; in WebRtcSpl_MaxAbsValueW32()
88 G_CONST WebRtc_Word32 *tmpvector = vector; in WebRtcSpl_MaxAbsValueW32()
99 retval = (WebRtc_Word32)(WEBRTC_SPL_MIN(tempMax, WEBRTC_SPL_WORD32_MAX)); in WebRtcSpl_MaxAbsValueW32()
145 WebRtc_Word32 WebRtcSpl_MaxValueW32(G_CONST WebRtc_Word32* vector, WebRtc_Word16 length) in WebRtcSpl_MaxValueW32()
147 WebRtc_Word32 tempMax; in WebRtcSpl_MaxValueW32()
149 G_CONST WebRtc_Word32 *tmpvector = vector; in WebRtcSpl_MaxValueW32()
164 WebRtc_Word16 WebRtcSpl_MaxIndexW32(G_CONST WebRtc_Word32* vector, WebRtc_Word16 length) in WebRtcSpl_MaxIndexW32()
[all …]
Dresample.c22 static void WebRtcSpl_32khzTo22khzIntToShort(const WebRtc_Word32 *In, WebRtc_Word16 *Out,
23 const WebRtc_Word32 K);
25 void WebRtcSpl_32khzTo22khzIntToInt(const WebRtc_Word32 *In, WebRtc_Word32 *Out,
26 const WebRtc_Word32 K);
46 WebRtcSpl_State22khzTo16khz* state, WebRtc_Word32* tmpmem) in WebRtcSpl_Resample22khzTo16khz()
116 WebRtcSpl_State16khzTo22khz* state, WebRtc_Word32* tmpmem) in WebRtcSpl_Resample16khzTo22khz()
179 WebRtcSpl_State22khzTo8khz* state, WebRtc_Word32* tmpmem) in WebRtcSpl_Resample22khzTo8khz()
250 WebRtcSpl_State8khzTo22khz* state, WebRtc_Word32* tmpmem) in WebRtcSpl_Resample8khzTo22khz()
312 static void WebRtcSpl_DotProdIntToInt(const WebRtc_Word32* in1, const WebRtc_Word32* in2, in WebRtcSpl_DotProdIntToInt()
313 const WebRtc_Word16* coef_ptr, WebRtc_Word32* out1, in WebRtcSpl_DotProdIntToInt()
[all …]
Dcomplex_fft.c163 WebRtc_Word32 tr32, ti32, qr32, qi32; in WebRtcSpl_ComplexFFT()
204 qr32 = (WebRtc_Word32)frfi[2 * i]; in WebRtcSpl_ComplexFFT()
205 qi32 = (WebRtc_Word32)frfi[2 * i + 1]; in WebRtcSpl_ComplexFFT()
237 WebRtc_Word32 wri; in WebRtcSpl_ComplexFFT()
238 WebRtc_Word32 frfi_r; in WebRtcSpl_ComplexFFT()
240 "r"((WebRtc_Word32)wr), "r"((WebRtc_Word32)wi)); in WebRtcSpl_ComplexFFT()
249 "r"((WebRtc_Word32)frfi[2*j]), "r"((WebRtc_Word32)frfi[2*j +1])); in WebRtcSpl_ComplexFFT()
266 qr32 = ((WebRtc_Word32)frfi[2 * i]) << CFFTSFT; in WebRtcSpl_ComplexFFT()
267 qi32 = ((WebRtc_Word32)frfi[2 * i + 1]) << CFFTSFT; in WebRtcSpl_ComplexFFT()
291 WebRtc_Word32 tr32, ti32, qr32, qi32; in WebRtcSpl_ComplexIFFT()
[all …]
/external/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h31 #define WEBRTC_SPL_WORD32_MAX (WebRtc_Word32)0x7fffffff
32 #define WEBRTC_SPL_WORD32_MIN (WebRtc_Word32)0x80000000
40 (((WebRtc_Word32)a >= 0) ? ((WebRtc_Word32)a) : -((WebRtc_Word32)a))
64 ((WebRtc_Word32) ((WebRtc_Word32)(a) * (WebRtc_Word32)(b)))
78 ((WebRtc_Word32)(WebRtc_Word16)(a) * (WebRtc_UWord16)(b))
80 ((WebRtc_Word32) ((WebRtc_Word32)(a) / (WebRtc_Word32)(b)))
87 ((WebRtc_Word32) (((WebRtc_Word16)(a)) * ((WebRtc_Word16)(b))))
92 ((WebRtc_Word32)(WEBRTC_SPL_MUL_16_32_RSFT16(a32a, b32) \
95 ((WebRtc_Word32)(WEBRTC_SPL_MUL_16_32_RSFT16(( \
120 ((WEBRTC_SPL_MUL_16_16(a, b) + ((WebRtc_Word32) \
[all …]
Dspl_inl_armv7.h18 static __inline WebRtc_Word32 WEBRTC_SPL_MUL_16_32_RSFT16(WebRtc_Word16 a, in WEBRTC_SPL_MUL_16_32_RSFT16()
19 WebRtc_Word32 b) { in WEBRTC_SPL_MUL_16_32_RSFT16()
20 WebRtc_Word32 tmp; in WEBRTC_SPL_MUL_16_32_RSFT16()
25 static __inline WebRtc_Word32 WEBRTC_SPL_MUL_32_32_RSFT32(WebRtc_Word16 a, in WEBRTC_SPL_MUL_32_32_RSFT32()
27 WebRtc_Word32 c) { in WEBRTC_SPL_MUL_32_32_RSFT32()
28 WebRtc_Word32 tmp; in WEBRTC_SPL_MUL_32_32_RSFT32()
34 static __inline WebRtc_Word32 WEBRTC_SPL_MUL_32_32_RSFT32BI(WebRtc_Word32 a, in WEBRTC_SPL_MUL_32_32_RSFT32BI()
35 WebRtc_Word32 b) { in WEBRTC_SPL_MUL_32_32_RSFT32BI()
36 WebRtc_Word32 tmp; in WEBRTC_SPL_MUL_32_32_RSFT32BI()
41 static __inline WebRtc_Word32 WEBRTC_SPL_MUL_16_16(WebRtc_Word16 a, in WEBRTC_SPL_MUL_16_16()
[all …]
Dspl_inl.h22 static __inline WebRtc_Word16 WebRtcSpl_SatW32ToW16(WebRtc_Word32 value32) { in WebRtcSpl_SatW32ToW16()
35 return WebRtcSpl_SatW32ToW16((WebRtc_Word32) a + (WebRtc_Word32) b); in WebRtcSpl_AddSatW16()
38 static __inline WebRtc_Word32 WebRtcSpl_AddSatW32(WebRtc_Word32 l_var1, in WebRtcSpl_AddSatW32()
39 WebRtc_Word32 l_var2) { in WebRtcSpl_AddSatW32()
40 WebRtc_Word32 l_sum; in WebRtcSpl_AddSatW32()
48 l_sum = (WebRtc_Word32)0x80000000; in WebRtcSpl_AddSatW32()
52 l_sum = (WebRtc_Word32)0x7FFFFFFF; in WebRtcSpl_AddSatW32()
61 return WebRtcSpl_SatW32ToW16((WebRtc_Word32) var1 - (WebRtc_Word32) var2); in WebRtcSpl_SubSatW16()
64 static __inline WebRtc_Word32 WebRtcSpl_SubSatW32(WebRtc_Word32 l_var1, in WebRtcSpl_SubSatW32()
65 WebRtc_Word32 l_var2) { in WebRtcSpl_SubSatW32()
[all …]
/external/webrtc/src/modules/audio_processing/agc/
Danalog_agc.h63 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 energy
[all …]
Ddigital_agc.h27 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/common_audio/resampler/
Dresampler.cc285 state1_ = malloc(8 * sizeof(WebRtc_Word32)); in Reset()
286 memset(state1_, 0, 8 * sizeof(WebRtc_Word32)); in Reset()
294 state1_ = malloc(8 * sizeof(WebRtc_Word32)); in Reset()
295 memset(state1_, 0, 8 * sizeof(WebRtc_Word32)); in Reset()
297 state2_ = malloc(8 * sizeof(WebRtc_Word32)); in Reset()
298 memset(state2_, 0, 8 * sizeof(WebRtc_Word32)); in Reset()
302 state1_ = malloc(8 * sizeof(WebRtc_Word32)); in Reset()
303 memset(state1_, 0, 8 * sizeof(WebRtc_Word32)); in Reset()
310 state1_ = malloc(8 * sizeof(WebRtc_Word32)); in Reset()
311 memset(state1_, 0, 8 * sizeof(WebRtc_Word32)); in Reset()
[all …]
/external/webrtc/src/system_wrappers/interface/
Datomic32_wrapper.h24 Atomic32Wrapper(WebRtc_Word32 initialValue = 0);
28 WebRtc_Word32 operator++();
29 WebRtc_Word32 operator--();
32 Atomic32Wrapper& operator=(WebRtc_Word32 rhs);
34 WebRtc_Word32 operator+=(WebRtc_Word32 rhs);
35 WebRtc_Word32 operator-=(WebRtc_Word32 rhs);
39 bool CompareExchange(WebRtc_Word32 newValue, WebRtc_Word32 compareValue);
40 WebRtc_Word32 Value() const;
47 WebRtc_Word32& operator++(int);
48 WebRtc_Word32& operator--(int);
/external/webrtc/src/modules/audio_processing/aec/interface/
Decho_cancellation.h77 WebRtc_Word32 WebRtcAec_Create(void **aecInst);
91 WebRtc_Word32 WebRtcAec_Free(void *aecInst);
107 WebRtc_Word32 WebRtcAec_Init(void *aecInst,
108 WebRtc_Word32 sampFreq,
109 WebRtc_Word32 scSampFreq);
126 WebRtc_Word32 WebRtcAec_BufferFarend(void *aecInst,
156 WebRtc_Word32 WebRtcAec_Process(void *aecInst,
163 WebRtc_Word32 skew);
179 WebRtc_Word32 WebRtcAec_set_config(void *aecInst, AecConfig config);
195 WebRtc_Word32 WebRtcAec_get_config(void *aecInst, AecConfig *config);
[all …]
/external/webrtc/src/modules/audio_processing/aecm/interface/
Decho_control_mobile.h54 WebRtc_Word32 WebRtcAecm_Create(void **aecmInst);
68 WebRtc_Word32 WebRtcAecm_Free(void *aecmInst);
83 WebRtc_Word32 WebRtcAecm_Init(void* aecmInst,
84 WebRtc_Word32 sampFreq);
101 WebRtc_Word32 WebRtcAecm_BufferFarend(void* aecmInst,
130 WebRtc_Word32 WebRtcAecm_Process(void* aecmInst,
151 WebRtc_Word32 WebRtcAecm_set_config(void* aecmInst,
168 WebRtc_Word32 WebRtcAecm_get_config(void *aecmInst,
185 WebRtc_Word32 WebRtcAecm_InitEchoPath(void* aecmInst,
204 WebRtc_Word32 WebRtcAecm_GetEchoPath(void* aecmInst,
[all …]

1234