/external/webrtc/src/common_audio/signal_processing/include/ |
D | signal_processing_library.h | 38 (((WebRtc_Word16)a >= 0) ? ((WebRtc_Word16)a) : -((WebRtc_Word16)a)) 48 ((((WebRtc_Word16 *)a)[nr >> 1]) >> (((nr + 1) & 0x1) * 8) & 0x00ff) 50 ((WebRtc_Word16 *)d_ptr)[index >> 1] = \ 51 ((((WebRtc_Word16 *)d_ptr)[index >> 1]) \ 55 ((((WebRtc_Word16 *)(a))[(nr) >> 1]) >> (((nr) & 0x1) * 8) & 0x00ff) 57 ((WebRtc_Word16 *)(d_ptr))[(index) >> 1] = \ 58 ((((WebRtc_Word16 *)(d_ptr))[(index) >> 1]) \ 78 ((WebRtc_Word32)(WebRtc_Word16)(a) * (WebRtc_UWord16)(b)) 87 ((WebRtc_Word32) (((WebRtc_Word16)(a)) * ((WebRtc_Word16)(b)))) 96 (WebRtc_Word16)(a32 >> 16)), b32) + \ [all …]
|
D | spl_inl_armv7.h | 18 static __inline WebRtc_Word32 WEBRTC_SPL_MUL_16_32_RSFT16(WebRtc_Word16 a, 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() 26 WebRtc_Word16 b, in WEBRTC_SPL_MUL_32_32_RSFT32() 41 static __inline WebRtc_Word32 WEBRTC_SPL_MUL_16_16(WebRtc_Word16 a, in WEBRTC_SPL_MUL_16_16() 42 WebRtc_Word16 b) { in WEBRTC_SPL_MUL_16_16() 56 static __inline WebRtc_Word16 WebRtcSpl_AddSatW16(WebRtc_Word16 a, in WebRtcSpl_AddSatW16() 57 WebRtc_Word16 b) { in WebRtcSpl_AddSatW16() 62 return (WebRtc_Word16) s_sum; in WebRtcSpl_AddSatW16() 74 static __inline WebRtc_Word16 WebRtcSpl_SubSatW16(WebRtc_Word16 var1, in WebRtcSpl_SubSatW16() 75 WebRtc_Word16 var2) { in WebRtcSpl_SubSatW16() [all …]
|
/external/webrtc/src/common_audio/signal_processing/ |
D | ilbc_specific_functions.c | 27 void WebRtcSpl_ScaleAndAddVectorsWithRound(WebRtc_Word16 *vector1, WebRtc_Word16 scale1, in WebRtcSpl_ScaleAndAddVectorsWithRound() 28 WebRtc_Word16 *vector2, WebRtc_Word16 scale2, in WebRtcSpl_ScaleAndAddVectorsWithRound() 29 WebRtc_Word16 right_shifts, WebRtc_Word16 *out, in WebRtcSpl_ScaleAndAddVectorsWithRound() 30 WebRtc_Word16 vector_length) in WebRtcSpl_ScaleAndAddVectorsWithRound() 33 WebRtc_Word16 roundVal; in WebRtcSpl_ScaleAndAddVectorsWithRound() 38 out[i] = (WebRtc_Word16)((WEBRTC_SPL_MUL_16_16(vector1[i], scale1) in WebRtcSpl_ScaleAndAddVectorsWithRound() 43 void WebRtcSpl_ReverseOrderMultArrayElements(WebRtc_Word16 *out, G_CONST WebRtc_Word16 *in, in WebRtcSpl_ReverseOrderMultArrayElements() 44 G_CONST WebRtc_Word16 *win, in WebRtcSpl_ReverseOrderMultArrayElements() 45 WebRtc_Word16 vector_length, in WebRtcSpl_ReverseOrderMultArrayElements() 46 WebRtc_Word16 right_shifts) in WebRtcSpl_ReverseOrderMultArrayElements() [all …]
|
D | min_max_operations.c | 34 WebRtc_Word16 WebRtcSpl_MaxAbsValueW16(const WebRtc_Word16 *vector, WebRtc_Word16 length) in WebRtcSpl_MaxAbsValueW16() 38 WebRtc_Word16 totMax; in WebRtcSpl_MaxAbsValueW16() 40 G_CONST WebRtc_Word16 *tmpvector = vector; in WebRtcSpl_MaxAbsValueW16() 51 totMax = (WebRtc_Word16)WEBRTC_SPL_MIN(tempMax, WEBRTC_SPL_WORD16_MAX); in WebRtcSpl_MaxAbsValueW16() 58 WebRtc_Word16 WebRtcSpl_MaxAbsIndexW16(G_CONST WebRtc_Word16* vector, WebRtc_Word16 length) in WebRtcSpl_MaxAbsIndexW16() 60 WebRtc_Word16 tempMax; in WebRtcSpl_MaxAbsIndexW16() 61 WebRtc_Word16 absTemp; in WebRtcSpl_MaxAbsIndexW16() 62 WebRtc_Word16 tempMaxIndex = 0; in WebRtcSpl_MaxAbsIndexW16() 63 WebRtc_Word16 i = 0; in WebRtcSpl_MaxAbsIndexW16() 64 G_CONST WebRtc_Word16 *tmpvector = vector; in WebRtcSpl_MaxAbsIndexW16() [all …]
|
D | vector_scaling_operations.c | 27 void WebRtcSpl_VectorBitShiftW16(WebRtc_Word16 *res, in WebRtcSpl_VectorBitShiftW16() 28 WebRtc_Word16 length, in WebRtcSpl_VectorBitShiftW16() 29 G_CONST WebRtc_Word16 *in, in WebRtcSpl_VectorBitShiftW16() 30 WebRtc_Word16 right_shifts) in WebRtcSpl_VectorBitShiftW16() 50 WebRtc_Word16 vector_length, in WebRtcSpl_VectorBitShiftW32() 52 WebRtc_Word16 right_shifts) in WebRtcSpl_VectorBitShiftW32() 71 void WebRtcSpl_VectorBitShiftW32ToW16(WebRtc_Word16 *res, in WebRtcSpl_VectorBitShiftW32ToW16() 72 WebRtc_Word16 length, in WebRtcSpl_VectorBitShiftW32ToW16() 74 WebRtc_Word16 right_shifts) in WebRtcSpl_VectorBitShiftW32ToW16() 82 (*res++) = (WebRtc_Word16)((*in++) >> right_shifts); in WebRtcSpl_VectorBitShiftW32ToW16() [all …]
|
D | copy_set_operations.c | 31 void WebRtcSpl_MemSetW16(WebRtc_Word16 *ptr, WebRtc_Word16 set_value, int length) in WebRtcSpl_MemSetW16() 34 WebRtc_Word16 *arrptr = ptr; in WebRtcSpl_MemSetW16() 53 void WebRtcSpl_MemCpyReversedOrder(WebRtc_Word16* dest, WebRtc_Word16* source, int length) in WebRtcSpl_MemCpyReversedOrder() 56 WebRtc_Word16* destPtr = dest; in WebRtcSpl_MemCpyReversedOrder() 57 WebRtc_Word16* sourcePtr = source; in WebRtcSpl_MemCpyReversedOrder() 65 WebRtc_Word16 WebRtcSpl_CopyFromEndW16(G_CONST WebRtc_Word16 *vector_in, in WebRtcSpl_CopyFromEndW16() 66 WebRtc_Word16 length, in WebRtcSpl_CopyFromEndW16() 67 WebRtc_Word16 samples, in WebRtcSpl_CopyFromEndW16() 68 WebRtc_Word16 *vector_out) in WebRtcSpl_CopyFromEndW16() 76 WebRtc_Word16 WebRtcSpl_ZerosArrayW16(WebRtc_Word16 *vector, WebRtc_Word16 length) in WebRtcSpl_ZerosArrayW16() [all …]
|
D | levinson_durbin.c | 22 WebRtc_Word16 WebRtcSpl_LevinsonDurbin(WebRtc_Word32 *R, WebRtc_Word16 *A, WebRtc_Word16 *K, in WebRtcSpl_LevinsonDurbin() 23 WebRtc_Word16 order) in WebRtcSpl_LevinsonDurbin() 25 WebRtc_Word16 i, j; in WebRtcSpl_LevinsonDurbin() 27 WebRtc_Word16 R_hi[SPL_LEVINSON_MAXORDER + 1], R_low[SPL_LEVINSON_MAXORDER + 1]; in WebRtcSpl_LevinsonDurbin() 29 WebRtc_Word16 A_hi[SPL_LEVINSON_MAXORDER + 1], A_low[SPL_LEVINSON_MAXORDER + 1]; in WebRtcSpl_LevinsonDurbin() 31 WebRtc_Word16 A_upd_hi[SPL_LEVINSON_MAXORDER + 1], A_upd_low[SPL_LEVINSON_MAXORDER + 1]; in WebRtcSpl_LevinsonDurbin() 33 WebRtc_Word16 K_hi, K_low; in WebRtcSpl_LevinsonDurbin() 35 WebRtc_Word16 Alpha_hi, Alpha_low, Alpha_exp; in WebRtcSpl_LevinsonDurbin() 36 WebRtc_Word16 tmp_hi, tmp_low; in WebRtcSpl_LevinsonDurbin() 38 WebRtc_Word16 norm; in WebRtcSpl_LevinsonDurbin() [all …]
|
D | downsample_fast.c | 20 int WebRtcSpl_DownsampleFast(WebRtc_Word16 *in_ptr, WebRtc_Word16 in_length, in WebRtcSpl_DownsampleFast() 21 WebRtc_Word16 *out_ptr, WebRtc_Word16 out_length, in WebRtcSpl_DownsampleFast() 22 WebRtc_Word16 *B, WebRtc_Word16 B_length, WebRtc_Word16 factor, in WebRtcSpl_DownsampleFast() 23 WebRtc_Word16 delay) in WebRtcSpl_DownsampleFast() 28 WebRtc_Word16 *downsampled_ptr = out_ptr; in WebRtcSpl_DownsampleFast() 29 WebRtc_Word16 *b_ptr; in WebRtcSpl_DownsampleFast() 30 WebRtc_Word16 *x_ptr; in WebRtcSpl_DownsampleFast() 31 WebRtc_Word16 endpos = delay in WebRtcSpl_DownsampleFast() 32 + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(factor, (out_length - 1)) + 1; in WebRtcSpl_DownsampleFast()
|
D | filter_ar.c | 20 int WebRtcSpl_FilterAR(G_CONST WebRtc_Word16* a, in WebRtcSpl_FilterAR() 22 G_CONST WebRtc_Word16* x, in WebRtcSpl_FilterAR() 24 WebRtc_Word16* state, in WebRtcSpl_FilterAR() 26 WebRtc_Word16* state_low, in WebRtcSpl_FilterAR() 28 WebRtc_Word16* filtered, in WebRtcSpl_FilterAR() 29 WebRtc_Word16* filtered_low, in WebRtcSpl_FilterAR() 35 G_CONST WebRtc_Word16* x_ptr = &x[0]; in WebRtcSpl_FilterAR() 36 WebRtc_Word16* filteredFINAL_ptr = filtered; in WebRtcSpl_FilterAR() 37 WebRtc_Word16* filteredFINAL_LOW_ptr = filtered_low; in WebRtcSpl_FilterAR() 42 G_CONST WebRtc_Word16* a_ptr = &a[1]; in WebRtcSpl_FilterAR() [all …]
|
D | division_operations.c | 38 WebRtc_Word32 WebRtcSpl_DivW32W16(WebRtc_Word32 num, WebRtc_Word16 den) in WebRtcSpl_DivW32W16() 50 WebRtc_Word16 WebRtcSpl_DivW32W16ResW16(WebRtc_Word32 num, WebRtc_Word16 den) in WebRtcSpl_DivW32W16ResW16() 55 return (WebRtc_Word16)(num / den); in WebRtcSpl_DivW32W16ResW16() 58 return (WebRtc_Word16)0x7FFF; in WebRtcSpl_DivW32W16ResW16() 100 WebRtc_Word32 WebRtcSpl_DivW32HiLow(WebRtc_Word32 num, WebRtc_Word16 den_hi, in WebRtcSpl_DivW32HiLow() 101 WebRtc_Word16 den_low) in WebRtcSpl_DivW32HiLow() 103 WebRtc_Word16 approx, tmp_hi, tmp_low, num_hi, num_low; in WebRtcSpl_DivW32HiLow() 106 approx = (WebRtc_Word16)WebRtcSpl_DivW32W16((WebRtc_Word32)0x1FFFFFFF, den_hi); in WebRtcSpl_DivW32HiLow() 117 tmp_hi = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmpW32, 16); in WebRtcSpl_DivW32HiLow() 118 tmp_low = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32((tmpW32 in WebRtcSpl_DivW32HiLow() [all …]
|
D | filter_ar_fast_q12.c | 20 void WebRtcSpl_FilterARFastQ12(WebRtc_Word16 *in, WebRtc_Word16 *out, WebRtc_Word16 *A, in WebRtcSpl_FilterARFastQ12() 21 WebRtc_Word16 A_length, WebRtc_Word16 length) in WebRtcSpl_FilterARFastQ12() 26 WebRtc_Word16 *x_ptr = &in[0]; in WebRtcSpl_FilterARFastQ12() 27 WebRtc_Word16 *filtered_ptr = &out[0]; in WebRtcSpl_FilterARFastQ12() 32 G_CONST WebRtc_Word16 *a_ptr = &A[0]; in WebRtcSpl_FilterARFastQ12() 33 WebRtc_Word16 *state_ptr = &out[i - 1]; in WebRtcSpl_FilterARFastQ12() 45 *filtered_ptr++ = (WebRtc_Word16)((o + (WebRtc_Word32)2048) >> 12); in WebRtcSpl_FilterARFastQ12()
|
/external/webrtc/src/modules/audio_processing/aecm/ |
D | aecm_core.h | 100 extern const WebRtc_Word16 WebRtcAecm_kSqrtHanning[]; 103 WebRtc_Word16 real; 104 WebRtc_Word16 imag; 120 WebRtc_Word16 farBuf[FAR_BUF_LEN]; 122 WebRtc_Word16 mult; 134 WebRtc_Word16 nlpFlag; 135 WebRtc_Word16 fixedDelay; 139 WebRtc_Word16 dfaCleanQDomain; 140 WebRtc_Word16 dfaCleanQDomainOld; 141 WebRtc_Word16 dfaNoisyQDomain; [all …]
|
D | aecm_core.c | 43 const WebRtc_Word16 WebRtcAecm_kSqrtHanning[] = 55 const ALIGN8_BEG WebRtc_Word16 WebRtcAecm_kSqrtHanning[] ALIGN8_END = 81 static const WebRtc_Word16 kChannelStored8kHz[PART_LEN1] = { 94 static const WebRtc_Word16 kChannelStored16kHz[PART_LEN1] = { 106 static const WebRtc_Word16 kCosTable[] = { 149 static const WebRtc_Word16 kSinTable[] = { 197 static const WebRtc_Word16 kNoiseEstQDomain = 15; 198 static const WebRtc_Word16 kNoiseEstIncCount = 5; 203 const WebRtc_Word16* lambda); 205 static WebRtc_Word16 CalcSuppressionGain(AecmCore_t * const aecm); [all …]
|
/external/webrtc/src/common_audio/vad/ |
D | vad_core.h | 25 WebRtc_Word16 vad; 27 WebRtc_Word16 noise_means[NUM_TABLE_VALUES]; 28 WebRtc_Word16 speech_means[NUM_TABLE_VALUES]; 29 WebRtc_Word16 noise_stds[NUM_TABLE_VALUES]; 30 WebRtc_Word16 speech_stds[NUM_TABLE_VALUES]; 33 WebRtc_Word16 over_hang; // Over Hang 34 WebRtc_Word16 num_of_speech; 36 WebRtc_Word16 index_vector[16 * NUM_CHANNELS]; 37 WebRtc_Word16 low_value_vector[16 * NUM_CHANNELS]; 39 WebRtc_Word16 mean_value[NUM_CHANNELS]; [all …]
|
D | vad_core.c | 27 static const WebRtc_Word16 kSpectrumWeight[6] = { 6, 8, 10, 12, 14, 16 }; 28 static const WebRtc_Word16 kNoiseUpdateConst = 655; // Q15 29 static const WebRtc_Word16 kSpeechUpdateConst = 6554; // Q15 30 static const WebRtc_Word16 kBackEta = 154; // Q8 32 static const WebRtc_Word16 kMinimumDifference[6] = { 35 static const WebRtc_Word16 kMaximumSpeech[6] = { 38 static const WebRtc_Word16 kMinimumMean[2] = { 640, 768 }; 40 static const WebRtc_Word16 kMaximumNoise[6] = { 44 static const WebRtc_Word16 kNoiseDataWeights[12] = { 47 static const WebRtc_Word16 kSpeechDataWeights[12] = { [all …]
|
D | webrtc_vad.c | 25 WebRtc_Word16 WebRtcVad_get_version(char *version, size_t size_bytes) in WebRtcVad_get_version() 43 WebRtc_Word16 WebRtcVad_AssignSize(int *size_in_bytes) in WebRtcVad_AssignSize() 45 *size_in_bytes = sizeof(VadInstT) * 2 / sizeof(WebRtc_Word16); in WebRtcVad_AssignSize() 49 WebRtc_Word16 WebRtcVad_Assign(VadInst **vad_inst, void *vad_inst_addr) in WebRtcVad_Assign() 67 WebRtc_Word16 WebRtcVad_Create(VadInst **vad_inst) in WebRtcVad_Create() 92 WebRtc_Word16 WebRtcVad_Free(VadInst *vad_inst) in WebRtcVad_Free() 104 WebRtc_Word16 WebRtcVad_Init(VadInst *vad_inst) in WebRtcVad_Init() 116 WebRtc_Word16 WebRtcVad_set_mode(VadInst *vad_inst, WebRtc_Word16 mode) in WebRtcVad_set_mode() 134 WebRtc_Word16 WebRtcVad_Process(VadInst *vad_inst, in WebRtcVad_Process() 135 WebRtc_Word16 fs, in WebRtcVad_Process() [all …]
|
/external/webrtc/src/modules/audio_processing/agc/ |
D | analog_agc.h | 38 static const WebRtc_Word16 kMsecSpeechInner = 520; 39 static const WebRtc_Word16 kMsecSpeechOuter = 340; 41 static const WebRtc_Word16 kNormalVadThreshold = 400; 43 static const WebRtc_Word16 kAlphaShortTerm = 6; // 1 >> 6 = 0.0156 44 static const WebRtc_Word16 kAlphaLongTerm = 10; // 1 >> 10 = 0.000977 50 WebRtc_Word16 compressionGaindB; // Fixed gain level in dB 51 WebRtc_Word16 targetLevelDbfs; // Target level in -dBfs of envelope (default -3) 52 WebRtc_Word16 agcMode; // Hard coded mode (adaptAna/adaptDig/fixedDig) 58 WebRtc_Word16 initFlag; 59 WebRtc_Word16 lastError; [all …]
|
D | digital_agc.h | 28 WebRtc_Word16 HPstate; 29 WebRtc_Word16 counter; 30 WebRtc_Word16 logRatio; // log( P(active) / P(inactive) ) (Q10) 31 WebRtc_Word16 meanLongTerm; // Q10 33 WebRtc_Word16 stdLongTerm; // Q10 34 WebRtc_Word16 meanShortTerm; // Q10 36 WebRtc_Word16 stdShortTerm; // Q10 45 WebRtc_Word16 gatePrevious; 46 WebRtc_Word16 agcMode; 55 WebRtc_Word32 WebRtcAgc_InitDigital(DigitalAgc_t *digitalAgcInst, WebRtc_Word16 agcMode); [all …]
|
D | digital_agc.c | 59 static const WebRtc_Word16 kAvgDecayTime = 250; // frames; < 3000 62 WebRtc_Word16 digCompGaindB, // Q0 in WebRtcAgc_CalculateGainTable() 63 WebRtc_Word16 targetLevelDbfs,// Q0 in WebRtcAgc_CalculateGainTable() 65 WebRtc_Word16 analogTarget) // Q0 in WebRtcAgc_CalculateGainTable() 76 const WebRtc_Word16 kCompRatio = 3; in WebRtcAgc_CalculateGainTable() 77 const WebRtc_Word16 kSoftLimiterLeft = 1; in WebRtcAgc_CalculateGainTable() 78 WebRtc_Word16 limiterOffset = 0; // Limiter offset in WebRtcAgc_CalculateGainTable() 79 WebRtc_Word16 limiterIdx, limiterLvlX; in WebRtcAgc_CalculateGainTable() 80 WebRtc_Word16 constLinApprox, zeroGainLvl, maxGain, diffGain; in WebRtcAgc_CalculateGainTable() 81 WebRtc_Word16 i, tmp16, tmp16no1; in WebRtcAgc_CalculateGainTable() [all …]
|
/external/webrtc/src/modules/audio_processing/agc/interface/ |
D | gain_control.h | 42 WebRtc_Word16 targetLevelDbfs; // default 3 (-3 dBOv) 43 WebRtc_Word16 compressionGaindB; // default 9 dB 68 const WebRtc_Word16* inFar, 69 WebRtc_Word16 samples); 95 WebRtc_Word16* inMic, 96 WebRtc_Word16* inMic_H, 97 WebRtc_Word16 samples); 126 WebRtc_Word16* inMic, 127 WebRtc_Word16* inMic_H, 128 WebRtc_Word16 samples, [all …]
|
/external/webrtc/src/modules/audio_processing/aec/interface/ |
D | echo_cancellation.h | 38 WebRtc_Word16 nlpMode; // default kAecNlpModerate 39 WebRtc_Word16 skewMode; // default kAecFalse 40 WebRtc_Word16 metricsMode; // default kAecFalse 46 WebRtc_Word16 instant; 47 WebRtc_Word16 average; 48 WebRtc_Word16 max; 49 WebRtc_Word16 min; 127 const WebRtc_Word16 *farend, 128 WebRtc_Word16 nrOfSamples); 157 const WebRtc_Word16 *nearend, [all …]
|
/external/webrtc/src/modules/audio_processing/ns/ |
D | nsx_core.h | 26 const WebRtc_Word16* window; 27 WebRtc_Word16 analysisBuffer[ANAL_BLOCKL_MAX]; 28 WebRtc_Word16 synthesisBuffer[ANAL_BLOCKL_MAX]; 32 const WebRtc_Word16* factor2Table; 33 WebRtc_Word16 noiseEstLogQuantile[SIMULT* HALF_ANAL_BLOCKL]; 34 WebRtc_Word16 noiseEstDensity[SIMULT* HALF_ANAL_BLOCKL]; 35 WebRtc_Word16 noiseEstCounter[SIMULT]; 36 WebRtc_Word16 noiseEstQuantile[HALF_ANAL_BLOCKL]; 38 WebRtc_Word16 anaLen; 51 WebRtc_Word16 weightLogLrt; [all …]
|
/external/webrtc/src/common_audio/vad/include/ |
D | webrtc_vad.h | 40 WebRtc_Word16 WebRtcVad_get_version(char *version, size_t size_bytes); 53 WebRtc_Word16 WebRtcVad_AssignSize(int *size_in_bytes); 68 WebRtc_Word16 WebRtcVad_Assign(VadInst **vad_inst, void *vad_inst_addr); 84 WebRtc_Word16 WebRtcVad_Create(VadInst **vad_inst); 97 WebRtc_Word16 WebRtcVad_Free(VadInst *vad_inst); 113 WebRtc_Word16 WebRtcVad_Init(VadInst *vad_inst); 130 WebRtc_Word16 WebRtcVad_set_mode(VadInst *vad_inst, WebRtc_Word16 mode); 150 WebRtc_Word16 WebRtcVad_Process(VadInst *vad_inst, 151 WebRtc_Word16 fs, 152 WebRtc_Word16 *speech_frame, [all …]
|
/external/webrtc/src/common_audio/resampler/ |
D | resampler.cc | 431 int Resampler::Push(const WebRtc_Word16 * samplesIn, int lengthIn, WebRtc_Word16* samplesOut, in Push() 446 WebRtc_Word16* left = (WebRtc_Word16*)malloc(lengthIn * sizeof(WebRtc_Word16) / 2); in Push() 447 WebRtc_Word16* right = (WebRtc_Word16*)malloc(lengthIn * sizeof(WebRtc_Word16) / 2); in Push() 448 WebRtc_Word16* out_left = (WebRtc_Word16*)malloc(maxLen / 2 * sizeof(WebRtc_Word16)); in Push() 449 WebRtc_Word16* out_right = in Push() 450 (WebRtc_Word16*)malloc(maxLen / 2 * sizeof(WebRtc_Word16)); in Push() 492 WebRtc_Word16* tmp; in Push() 493 WebRtc_Word16* tmp_2; in Push() 500 memcpy(samplesOut, samplesIn, lengthIn * sizeof(WebRtc_Word16)); in Push() 540 tmp = (WebRtc_Word16*)malloc(sizeof(WebRtc_Word16) * 2 * lengthIn); in Push() [all …]
|
/external/webrtc/src/modules/audio_processing/aecm/interface/ |
D | echo_control_mobile.h | 32 WebRtc_Word16 cngMode; // AECM_FALSE, AECM_TRUE (default) 33 WebRtc_Word16 echoMode; // 0, 1, 2, 3 (default), 4 102 const WebRtc_Word16* farend, 103 WebRtc_Word16 nrOfSamples); 131 const WebRtc_Word16* nearendNoisy, 132 const WebRtc_Word16* nearendClean, 133 WebRtc_Word16* out, 134 WebRtc_Word16 nrOfSamples, 135 WebRtc_Word16 msInSndCardBuf); 245 WebRtc_Word16 len);
|