Home
last modified time | relevance | path

Searched refs:mWindowSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/voip/src/jni/rtp/
DEchoSuppressor.cpp54 mWindowSize = sampleCount >> shift; in EchoSuppressor()
59 mXs = new uint16_t[mTailLength + mWindowSize]; in EchoSuppressor()
60 memset(mXs, 0, sizeof(*mXs) * (mTailLength + mWindowSize)); in EchoSuppressor()
65 mXRecords = new uint16_t[mRecordLength * mWindowSize]; in EchoSuppressor()
66 memset(mXRecords, 0, sizeof(*mXRecords) * mRecordLength * mWindowSize); in EchoSuppressor()
82 mWeight = 1.0f / (mRecordLength * mWindowSize); in EchoSuppressor()
101 mXs[i + mWindowSize] = mXs[i]; in run()
103 for (int i = mWindowSize - 1, j = 0; i >= 0; --i, j += mScale) { in run()
115 for (int i = mTailLength - mWindowSize - 1; i >= 0; --i) { in run()
116 mXSums[i + mWindowSize] = mXSums[i]; in run()
[all …]
DEchoSuppressor.h34 int mWindowSize; variable