/external/webrtc/src/common_audio/signal_processing_library/main/source/ |
cos_table.c | 19 WebRtc_Word16 WebRtcSpl_kCosTable[] = {
|
hanning_table.c | 20 WebRtc_Word16 WebRtcSpl_kHanningTable[] = {
|
randn_table.c | 19 WebRtc_Word16 WebRtcSpl_kRandNTable[] =
|
sin_table.c | 19 WebRtc_Word16 WebRtcSpl_kSinTable[] = {
|
sin_table_1024.c | 19 WebRtc_Word16 WebRtcSpl_kSinTable1024[] =
|
ilbc_specific_functions.c | 27 void WebRtcSpl_ScaleAndAddVectorsWithRound(WebRtc_Word16 *vector1, WebRtc_Word16 scale1, 28 WebRtc_Word16 *vector2, WebRtc_Word16 scale2, 29 WebRtc_Word16 right_shifts, WebRtc_Word16 *out, 30 WebRtc_Word16 vector_length) 33 WebRtc_Word16 roundVal; 38 out[i] = (WebRtc_Word16)((WEBRTC_SPL_MUL_16_16(vector1[i], scale1) 43 void WebRtcSpl_ReverseOrderMultArrayElements(WebRtc_Word16 *out, G_CONST WebRtc_Word16 *in [all...] |
sub_sat_w16.c | 23 WebRtc_Word16 WebRtcSpl_SubSatW16(WebRtc_Word16 var1, WebRtc_Word16 var2) 26 WebRtc_Word16 s_diff; 32 s_diff = (WebRtc_Word16)l_diff; 36 s_diff = (WebRtc_Word16)32767; 40 s_diff = (WebRtc_Word16)-32768;
|
copy_set_operations.c | 31 void WebRtcSpl_MemSetW16(WebRtc_Word16 *ptr, WebRtc_Word16 set_value, int length) 34 WebRtc_Word16 *arrptr = ptr; 53 void WebRtcSpl_MemCpyReversedOrder(WebRtc_Word16* dest, WebRtc_Word16* source, int length) 56 WebRtc_Word16* destPtr = dest; 57 WebRtc_Word16* sourcePtr = source; 65 WebRtc_Word16 WebRtcSpl_CopyFromEndW16(G_CONST WebRtc_Word16 *vector_in, 66 WebRtc_Word16 length [all...] |
spl_version.c | 21 WebRtc_Word16 WebRtcSpl_get_version(char* version, WebRtc_Word16 length_in_bytes)
|
filter_ar_fast_q12.c | 20 void WebRtcSpl_FilterARFastQ12(WebRtc_Word16 *in, WebRtc_Word16 *out, WebRtc_Word16 *A, 21 WebRtc_Word16 A_length, WebRtc_Word16 length) 26 WebRtc_Word16 *x_ptr = &in[0]; 27 WebRtc_Word16 *filtered_ptr = &out[0]; 32 G_CONST WebRtc_Word16 *a_ptr = &A[0]; 33 WebRtc_Word16 *state_ptr = &out[i - 1]; 45 *filtered_ptr++ = (WebRtc_Word16)((o + (WebRtc_Word32)2048) >> 12) [all...] |
downsample_fast.c | 20 int WebRtcSpl_DownsampleFast(WebRtc_Word16 *in_ptr, WebRtc_Word16 in_length, 21 WebRtc_Word16 *out_ptr, WebRtc_Word16 out_length, 22 WebRtc_Word16 *B, WebRtc_Word16 B_length, WebRtc_Word16 factor, 23 WebRtc_Word16 delay) 28 WebRtc_Word16 *downsampled_ptr = out_ptr; 29 WebRtc_Word16 *b_ptr [all...] |
vector_scaling_operations.c | 27 void WebRtcSpl_VectorBitShiftW16(WebRtc_Word16 *res, 28 WebRtc_Word16 length, 29 G_CONST WebRtc_Word16 *in, 30 WebRtc_Word16 right_shifts) 50 WebRtc_Word16 vector_length, 52 WebRtc_Word16 right_shifts) 71 void WebRtcSpl_VectorBitShiftW32ToW16(WebRtc_Word16 *res, 72 WebRtc_Word16 length, 74 WebRtc_Word16 right_shifts) 82 (*res++) = (WebRtc_Word16)((*in++) >> right_shifts) [all...] |
randomization_functions.c | 31 WebRtc_Word16 WebRtcSpl_RandU(WebRtc_UWord32 *seed) 33 return (WebRtc_Word16)(WebRtcSpl_IncreaseSeed(seed) >> 16); 36 WebRtc_Word16 WebRtcSpl_RandN(WebRtc_UWord32 *seed) 42 WebRtc_Word16 WebRtcSpl_RandUArray(WebRtc_Word16* vector, 43 WebRtc_Word16 vector_length,
|
/external/webrtc/src/common_audio/vad/main/source/ |
vad_const.c | 18 const WebRtc_Word16 kSpectrumWeight[6] = {6, 8, 10, 12, 14, 16}; 20 const WebRtc_Word16 kCompVar = 22005; 23 const WebRtc_Word16 kLogConst = 24660; 26 const WebRtc_Word16 kLog10Const = 5909; 29 const WebRtc_Word16 kNoiseUpdateConst = 655; 30 const WebRtc_Word16 kSpeechUpdateConst = 6554; 33 const WebRtc_Word16 kBackEta = 154; 36 const WebRtc_Word16 kHpZeroCoefs[3] = {6631, -13262, 6631}; 37 const WebRtc_Word16 kHpPoleCoefs[3] = {16384, -7756, 5620}; 41 const WebRtc_Word16 kAllPassCoefsQ15[2] = {20972, 5571} [all...] |
vad_const.h | 25 extern const WebRtc_Word16 kSpectrumWeight[]; 26 extern const WebRtc_Word16 kCompVar; 28 extern const WebRtc_Word16 kLogConst; 29 extern const WebRtc_Word16 kLog10Const; 31 extern const WebRtc_Word16 kNoiseUpdateConst; 32 extern const WebRtc_Word16 kSpeechUpdateConst; 34 extern const WebRtc_Word16 kBackEta; 36 extern const WebRtc_Word16 kHpZeroCoefs[]; 37 extern const WebRtc_Word16 kHpPoleCoefs[]; 39 extern const WebRtc_Word16 kAllPassCoefsQ15[] [all...] |
vad_filterbank.h | 37 void WebRtcVad_HpOutput(WebRtc_Word16* in_vector, 38 WebRtc_Word16 in_vector_length, 39 WebRtc_Word16* out_vector, 40 WebRtc_Word16* filter_state); 61 void WebRtcVad_Allpass(WebRtc_Word16* in_vector, 62 WebRtc_Word16* outw16, 63 WebRtc_Word16 filter_coefficients, 65 WebRtc_Word16* filter_state); 86 void WebRtcVad_SplitFilter(WebRtc_Word16* in_vector, 87 WebRtc_Word16* out_vector_hp [all...] |
vad_gmm.h | 42 WebRtc_Word32 WebRtcVad_GaussianProbability(WebRtc_Word16 in_sample, 43 WebRtc_Word16 mean, 44 WebRtc_Word16 std, 45 WebRtc_Word16 *delta);
|
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]; 32 WebRtc_Word16 over_hang; // Over Hang 33 WebRtc_Word16 num_of_speech; 34 WebRtc_Word16 index_vector[16 * NUM_CHANNELS]; 35 WebRtc_Word16 low_value_vector[16 * NUM_CHANNELS]; 36 WebRtc_Word16 mean_value[NUM_CHANNELS] [all...] |
vad_sp.h | 37 void WebRtcVad_Downsampling(WebRtc_Word16* signal_in, 38 WebRtc_Word16* signal_out, 58 WebRtc_Word16 WebRtcVad_FindMinimum(VadInstT* inst, WebRtc_Word16 feature_value, int channel);
|
/external/webrtc/src/common_audio/vad/main/interface/ |
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 [all...] |
/external/webrtc/src/modules/audio_processing/main/source/ |
splitting_filter.h | 34 void SplittingFilterAnalysis(const WebRtc_Word16* in_data, 35 WebRtc_Word16* low_band, 36 WebRtc_Word16* high_band, 56 void SplittingFilterSynthesis(const WebRtc_Word16* low_band, 57 const WebRtc_Word16* high_band, 58 WebRtc_Word16* out_data,
|
/external/webrtc/src/modules/audio_processing/aecm/main/source/ |
aecm_core.h | 119 WebRtc_Word16 xBuf[PART_LEN2]; // farend 120 WebRtc_Word16 dBufClean[PART_LEN2]; // nearend 121 WebRtc_Word16 dBufNoisy[PART_LEN2]; // nearend 122 WebRtc_Word16 outBuf[PART_LEN]; 124 WebRtc_Word16 farBuf[FAR_BUF_LEN]; 126 WebRtc_Word16 mult; 134 WebRtc_Word16 delHistoryPos; 138 WebRtc_Word16 delayAdjust; 140 WebRtc_Word16 nlpFlag; 141 WebRtc_Word16 fixedDelay [all...] |
/external/webrtc/src/modules/audio_processing/agc/main/source/ |
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...] |
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...] |
/external/webrtc/src/common_audio/signal_processing_library/main/interface/ |
signal_processing_library.h | 43 (((WebRtc_Word16)a >= 0) ? ((WebRtc_Word16)a) : -((WebRtc_Word16)a)) 53 ((((WebRtc_Word16 *)a)[nr >> 1]) >> (((nr + 1) & 0x1) * 8) & 0x00ff) 55 ((WebRtc_Word16 *)d_ptr)[index >> 1] = \ 56 ((((WebRtc_Word16 *)d_ptr)[index >> 1]) \ 60 ((((WebRtc_Word16 *)(a))[(nr) >> 1]) >> (((nr) & 0x1) * 8) & 0x00ff) 62 ((WebRtc_Word16 *)(d_ptr))[(index) >> 1] = \ 63 ((((WebRtc_Word16 *)(d_ptr))[(index) >> 1]) \ 86 ((WebRtc_Word32)(WebRtc_Word16)(a) * (WebRtc_UWord16)(b) [all...] |