Searched refs:WebRtc_Word16 (Results 1 - 25 of 70) sorted by relevance

123

/external/webrtc/src/common_audio/signal_processing/
H A Dilbc_specific_functions.c27 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 *ou
[all...]
H A Dcopy_set_operations.c31 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 lengt
[all...]
H A Dspl_version.c21 WebRtc_Word16 WebRtcSpl_get_version(char* version, WebRtc_Word16 length_in_bytes)
H A Dfilter_ar_fast_q12.c20 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)((
[all...]
H A Dvector_scaling_operations.c27 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)((*i
[all...]
H A Ddownsample_fast.c20 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_pt
[all...]
H A Dfilter_ma_fast_q12.c20 void WebRtcSpl_FilterMAFastQ12(WebRtc_Word16* in_ptr,
21 WebRtc_Word16* out_ptr,
22 WebRtc_Word16* B,
23 WebRtc_Word16 B_length,
24 WebRtc_Word16 length)
30 G_CONST WebRtc_Word16* b_ptr = &B[0];
31 G_CONST WebRtc_Word16* x_ptr = &in_ptr[i];
46 *out_ptr++ = (WebRtc_Word16)((o + (WebRtc_Word32)2048) >> 12);
H A Dsqrt_of_one_minus_x_squared.c20 void WebRtcSpl_SqrtOfOneMinusXSquared(WebRtc_Word16 *xQ15, int vector_length,
21 WebRtc_Word16 *yQ15)
25 WebRtc_Word16 tmp;
33 yQ15[m] = (WebRtc_Word16)sq;
H A Drandomization_functions.c25 static const WebRtc_Word16 kRandNTable[] = {
98 WebRtc_Word16 WebRtcSpl_RandU(WebRtc_UWord32 *seed)
100 return (WebRtc_Word16)(WebRtcSpl_IncreaseSeed(seed) >> 16);
103 WebRtc_Word16 WebRtcSpl_RandN(WebRtc_UWord32 *seed)
109 WebRtc_Word16 WebRtcSpl_RandUArray(WebRtc_Word16* vector,
110 WebRtc_Word16 vector_length,
H A Dmin_max_operations.c34 WebRtc_Word16 WebRtcSpl_MaxAbsValueW16(const WebRtc_Word16 *vector, WebRtc_Word16 length)
38 WebRtc_Word16 totMax;
40 G_CONST WebRtc_Word16 *tmpvector = vector;
51 totMax = (WebRtc_Word16)WEBRTC_SPL_MIN(tempMax, WEBRTC_SPL_WORD16_MAX);
58 WebRtc_Word16 WebRtcSpl_MaxAbsIndexW16(G_CONST WebRtc_Word16* vector, WebRtc_Word16 length)
60 WebRtc_Word16 tempMa
[all...]
H A Dfilter_ar.c20 int WebRtcSpl_FilterAR(G_CONST WebRtc_Word16* a,
22 G_CONST WebRtc_Word16* x,
24 WebRtc_Word16* state,
26 WebRtc_Word16* state_low,
28 WebRtc_Word16* filtered,
29 WebRtc_Word16* filtered_low,
35 G_CONST WebRtc_Word16* x_ptr = &x[0];
36 WebRtc_Word16* filteredFINAL_ptr = filtered;
37 WebRtc_Word16* filteredFINAL_LOW_ptr = filtered_low;
42 G_CONST WebRtc_Word16* a_pt
[all...]
H A Dget_hanning_window.c21 static const WebRtc_Word16 kHanningTable[] = {
56 void WebRtcSpl_GetHanningWindow(WebRtc_Word16 *v, WebRtc_Word16 size)
59 WebRtc_Word16 *vptr1;
H A Ddivision_operations.c38 WebRtc_Word32 WebRtcSpl_DivW32W16(WebRtc_Word32 num, WebRtc_Word16 den)
50 WebRtc_Word16 WebRtcSpl_DivW32W16ResW16(WebRtc_Word32 num, WebRtc_Word16 den)
55 return (WebRtc_Word16)(num / den);
58 return (WebRtc_Word16)0x7FFF;
100 WebRtc_Word32 WebRtcSpl_DivW32HiLow(WebRtc_Word32 num, WebRtc_Word16 den_hi,
101 WebRtc_Word16 den_low)
103 WebRtc_Word16 approx, tmp_hi, tmp_low, num_hi, num_low;
106 approx = (WebRtc_Word16)WebRtcSpl_DivW32W16((WebRtc_Word32)0x1FFFFFFF, den_hi);
117 tmp_hi = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W3
[all...]
/external/webrtc/src/common_audio/vad/include/
H A Dwebrtc_vad.h40 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 f
[all...]
/external/webrtc/src/common_audio/vad/
H A Dvad_core.h25 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_valu
[all...]
/external/webrtc/src/modules/audio_processing/
H A Dsplitting_filter.h34 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,
H A Dsplitting_filter.cc16 void SplittingFilterAnalysis(const WebRtc_Word16* in_data,
17 WebRtc_Word16* low_band,
18 WebRtc_Word16* high_band,
25 void SplittingFilterSynthesis(const WebRtc_Word16* low_band,
26 const WebRtc_Word16* high_band,
27 WebRtc_Word16* out_data,
/external/webrtc/src/modules/audio_processing/aecm/
H A Daecm_core.h100 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 dfaNoisyQDomai
[all...]
/external/webrtc/src/modules/audio_processing/agc/
H A Ddigital_agc.h28 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 agcMod
[all...]
H A Danalog_agc.h38 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 lastErro
[all...]
/external/webrtc/src/common_audio/signal_processing/include/
H A Dsignal_processing_library.h38 (((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)(
[all...]
/external/webrtc/src/modules/audio_processing/agc/interface/
H A Dgain_control.h42 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 sample
[all...]
/external/webrtc/src/modules/audio_processing/aec/interface/
H A Decho_cancellation.h38 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;
117 * WebRtc_Word16 *farend In buffer containing one frame of
119 * WebRtc_Word16 nrOfSamples Number of samples in farend buffer
127 const WebRtc_Word16 *faren
[all...]
/external/webrtc/src/modules/audio_processing/aecm/interface/
H A Decho_control_mobile.h32 WebRtc_Word16 cngMode; // AECM_FALSE, AECM_TRUE (default)
33 WebRtc_Word16 echoMode; // 0, 1, 2, 3 (default), 4
92 * WebRtc_Word16 *farend In buffer containing one frame of
94 * WebRtc_Word16 nrOfSamples Number of samples in farend buffer
102 const WebRtc_Word16* farend,
103 WebRtc_Word16 nrOfSamples);
111 * WebRtc_Word16 *nearendNoisy In buffer containing one frame of
115 * WebRtc_Word16 *nearendClean In buffer containing one frame of
120 * WebRtc_Word16 nrOfSamples Number of samples in nearend buffer
121 * WebRtc_Word16 msInSndCardBu
[all...]
/external/webrtc/src/modules/audio_processing/ns/
H A Dnsx_core.h26 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 weightLogLr
[all...]

Completed in 194 milliseconds

123