Home
last modified time | relevance | path

Searched refs:WebRtc_UWord16 (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/src/modules/interface/
Dmodule_common_types.h21 WebRtc_UWord16 sequenceNumber;
27 WebRtc_UWord16 headerLength;
106 WebRtc_UWord16 width; // size
107 WebRtc_UWord16 height;
182 fragmentationTimeDiff = new WebRtc_UWord16[header.fragmentationVectorSize];
209 header.fragmentationVectorSize * sizeof(WebRtc_UWord16));
219 void VerifyAndAllocateFragmentationHeader( const WebRtc_UWord16 size) in VerifyAndAllocateFragmentationHeader()
223 WebRtc_UWord16 oldVectorSize = fragmentationVectorSize; in VerifyAndAllocateFragmentationHeader()
246 WebRtc_UWord16* oldTimeDiffs = fragmentationTimeDiff; in VerifyAndAllocateFragmentationHeader()
247 fragmentationTimeDiff = new WebRtc_UWord16[size]; in VerifyAndAllocateFragmentationHeader()
[all …]
/external/webrtc/src/
Dcommon_types.h251 WebRtc_UWord16 currentBufferSize;
253 WebRtc_UWord16 preferredBufferSize;
257 WebRtc_UWord16 currentPacketLossRate;
259 WebRtc_UWord16 currentDiscardRate;
262 WebRtc_UWord16 currentExpandRate;
265 WebRtc_UWord16 currentPreemptiveRate;
267 WebRtc_UWord16 currentAccelerateRate;
Dtypedefs.h119 typedef uint16_t WebRtc_UWord16; typedef
135 typedef uint16_t WebRtc_UWord16; typedef
/external/webrtc/src/system_wrappers/source/
Dtrace_impl.h93 const WebRtc_UWord16 writtenSoFar) const;
97 const WebRtc_UWord16 length,
123 WebRtc_UWord16 _nextFreeIdx[WEBRTC_TRACE_NUM_ARRAY];
125 WebRtc_UWord16 _length[WEBRTC_TRACE_NUM_ARRAY][WEBRTC_TRACE_MAX_QUEUE];
Dtrace_impl.cc398 const WebRtc_UWord16 writtenSoFar) const in AddMessage()
431 const WebRtc_UWord16 length, in AddMessageToList()
465 WebRtc_UWord16 idx = _nextFreeIdx[_activeQueue]; in AddMessageToList()
507 WebRtc_UWord16 localNextFreeIdx = 0; in WriteToFile()
532 for(WebRtc_UWord16 idx = 0; idx <localNextFreeIdx; idx++) in WriteToFile()
594 WebRtc_UWord16 length = _length[localQueueActive][idx]; in WriteToFile()
647 len = AddMessage(meassagePtr, msg, (WebRtc_UWord16)ackLen); in AddImpl()
653 AddMessageToList(traceMessage,(WebRtc_UWord16)ackLen, level); in AddImpl()
Dsort.cc119 COMPARE_FOR_QSORT(x, y, WebRtc_UWord16); in CompareUWord16()
169 COMPARE_KEY_FOR_QSORT(sortKeyX, sortKeyY, WebRtc_UWord16); in CompareKeyUWord16()
357 qsort(data, numOfElements, sizeof(WebRtc_UWord16), CompareUWord16); in Sort()
395 IntegerSort<WebRtc_UWord16>(data, numOfElements); in Sort()
462 KEY_QSORT(ptrSortKey, key, numOfElements, WebRtc_UWord16, in KeySort()
528 return IntegerKeySort<WebRtc_UWord16>(data, key, numOfElements, in KeySort()
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core.c68 static const WebRtc_UWord16 kAlpha1 = 32584;
70 static const WebRtc_UWord16 kBeta1 = 4249;
72 static const WebRtc_UWord16 kAlpha2 = 30879;
74 static const WebRtc_UWord16 kBeta2 = 11072;
76 static const WebRtc_UWord16 kAlpha3 = 26951;
78 static const WebRtc_UWord16 kBeta3 = 18927;
201 const WebRtc_UWord16* dfa,
481 const WebRtc_UWord16* far_spectrum, in CalcLinearEnergiesC()
503 const WebRtc_UWord16* far_spectrum, in StoreAdaptiveChannelC()
855 const WebRtc_UWord16* far_spectrum, in WebRtcAecm_CalcEnergies()
[all …]
Daecm_core.h127 WebRtc_UWord16 currentDelay;
341 const WebRtc_UWord16* far_spectrum,
350 const WebRtc_UWord16* far_spectrum,
Daecm_core_neon.c191 const WebRtc_UWord16* far_spectrum, in CalcLinearEnergiesNeon()
255 const WebRtc_UWord16* far_spectrum, in StoreAdaptiveChannelNeon()
/external/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h70 ((WebRtc_UWord32) (WebRtc_UWord16)(a) * (WebRtc_UWord16)(b))
72 (((WebRtc_UWord32) (WebRtc_UWord16)(a) * (WebRtc_UWord16)(b)) >> 16)
74 ((WebRtc_UWord32) ((WebRtc_UWord32)(a) * (WebRtc_UWord16)(b)))
76 ((WebRtc_UWord32) ((WebRtc_UWord32)(a) * (WebRtc_UWord16)(b)) >> 16)
78 ((WebRtc_Word32)(WebRtc_Word16)(a) * (WebRtc_UWord16)(b))
103 + (((WEBRTC_SPL_MUL_16_U16(a, (WebRtc_UWord16)(b)) >> 1) + 0x0200) >> 10))
106 + (((WEBRTC_SPL_MUL_16_U16(a, (WebRtc_UWord16)(b)) >> 1) + 0x1000) >> 13))
109 + (((WEBRTC_SPL_MUL_16_U16(a, (WebRtc_UWord16)(b)) >> 1) + 0x2000) >> 14))
153 #define WEBRTC_SPL_RSHIFT_U16(x, c) ((WebRtc_UWord16)(x) >> (c))
154 #define WEBRTC_SPL_LSHIFT_U16(x, c) ((WebRtc_UWord16)(x) << (c))
[all …]
/external/webrtc/src/modules/audio_processing/ns/
Dnsx_core.h29 WebRtc_UWord16 noiseSupFilter[HALF_ANAL_BLOCKL];
30 WebRtc_UWord16 overdrive; /* Q8 */
31 WebRtc_UWord16 denoiseBound; /* Q14 */
76 WebRtc_UWord16 prevMagnU16[HALF_ANAL_BLOCKL]; //magnitude spectrum from previous frame
Dnsx_core.c1127 void WebRtcNsx_ComputeSpectralFlatness(NsxInst_t* inst, WebRtc_UWord16* magn) { in WebRtcNsx_ComputeSpectralFlatness()
1197 void WebRtcNsx_ComputeSpectralDifference(NsxInst_t* inst, WebRtc_UWord16* magnIn) { in WebRtcNsx_ComputeSpectralDifference()
1292 void WebRtcNsx_SpeechNoiseProb(NsxInst_t* inst, WebRtc_UWord16* nonSpeechProbFinal, in WebRtcNsx_SpeechNoiseProb()
1472 memset(nonSpeechProbFinal, 0, sizeof(WebRtc_UWord16) * inst->magnLen); in WebRtcNsx_SpeechNoiseProb()
1513 nonSpeechProbFinal[i] = (WebRtc_UWord16)WEBRTC_SPL_DIV(tmp32no1, in WebRtcNsx_SpeechNoiseProb()
1522 void WebRtcNsx_DataAnalysis(NsxInst_t* inst, short* speechFrame, WebRtc_UWord16* magnU16) { in WebRtcNsx_DataAnalysis()
1531 WebRtc_UWord16 sum_log_magn_u16 = 0; in WebRtcNsx_DataAnalysis()
1532 WebRtc_UWord16 tmp_u16 = 0; in WebRtcNsx_DataAnalysis()
1588 magnU16[0] = (WebRtc_UWord16)WEBRTC_SPL_ABS_W16(inst->real[0]); // Q(normData-stages) in WebRtcNsx_DataAnalysis()
1589 magnU16[inst->anaLen2] = (WebRtc_UWord16)WEBRTC_SPL_ABS_W16(inst->real[inst->anaLen2]); in WebRtcNsx_DataAnalysis()
[all …]
/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c40 static const WebRtc_UWord16 kGenFuncTable[kGenFuncTableSize] = {
71 const WebRtc_UWord16 kLog10 = 54426; // log2(10) in Q14 in WebRtcAgc_CalculateGainTable()
72 const WebRtc_UWord16 kLog10_2 = 49321; // 10*log10(2) in Q14 in WebRtcAgc_CalculateGainTable()
73 const WebRtc_UWord16 kLogE_1 = 23637; // log2(e) in Q14 in WebRtcAgc_CalculateGainTable()
74 WebRtc_UWord16 constMaxGain; in WebRtcAgc_CalculateGainTable()
75 WebRtc_UWord16 tmpU16, intPart, fracPart; in WebRtcAgc_CalculateGainTable()
153 intPart = (WebRtc_UWord16)WEBRTC_SPL_RSHIFT_U32(absInLevel, 14); in WebRtcAgc_CalculateGainTable()
154 fracPart = (WebRtc_UWord16)(absInLevel & 0x00003FFF); // extract the fractional part in WebRtcAgc_CalculateGainTable()
235 fracPart = (WebRtc_UWord16)(tmp32 & 0x00003FFF); // in Q14 in WebRtcAgc_CalculateGainTable()
249 fracPart = (WebRtc_UWord16)tmp32no2; in WebRtcAgc_CalculateGainTable()
[all …]
Danalog_agc.h70 WebRtc_UWord16 targetIdx; // Table index for corresponding target level
72 WebRtc_UWord16 targetIdxOffset; // Table index offset for level compensation
105 WebRtc_UWord16 gainTableIdx; // Current position in virtual gain table
Danalog_agc.c75 static const WebRtc_UWord16 kGainTableAnalog[GAIN_TBL_LEN] = {4096, 4251, 4412, 4579, 4752,
80 static const WebRtc_UWord16 kGainTableVirtualMic[128] = {1052, 1081, 1110, 1141, 1172, 1204,
91 static const WebRtc_UWord16 kSuppressionTableVirtualMic[128] = {1024, 1006, 988, 970, 952,
118 WebRtc_UWord16 targetGainIdx, gain; in WebRtcAgc_AddMic()
211 targetGainIdx = (WebRtc_UWord16)WEBRTC_SPL_DIV(tmp32, tmp16); in WebRtcAgc_AddMic()
401 WebRtc_UWord16 gain; in WebRtcAgc_VirtualMic()
/external/webrtc/src/common_audio/signal_processing/
Dsplitting_filter.c25 static const WebRtc_UWord16 WebRtcSpl_kAllPassFilter1[3] = {6418, 36982, 57261};
26 static const WebRtc_UWord16 WebRtcSpl_kAllPassFilter2[3] = {21333, 49062, 63010};
47 WebRtc_Word32* out_data, const WebRtc_UWord16* filter_coefficients, in WebRtcSpl_AllPassQMF()
Dresample_by_2.c58 static const WebRtc_UWord16 kResampleAllpass1[3] = {3284, 24441, 49528};
59 static const WebRtc_UWord16 kResampleAllpass2[3] = {12199, 37471, 60255};
Ddivision_operations.c26 WebRtc_UWord32 WebRtcSpl_DivU32U16(WebRtc_UWord32 num, WebRtc_UWord16 den) in WebRtcSpl_DivU32U16()
Dsignal_processing_unittest.cc132 WebRtc_UWord16 denU = 5; in TEST_F()
/external/webrtc/src/system_wrappers/test/TestSort/
DTestSort.cpp251 RunSortTest<WebRtc_UWord16>(webrtc::TYPE_UWord16, keySort); in main()