Home
last modified time | relevance | path

Searched refs:windowSize (Results 1 – 16 of 16) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DDescriptiveStatistics.java74 protected int windowSize = INFINITE_WINDOW; field in DescriptiveStatistics
159 if (windowSize != INFINITE_WINDOW) { in addValue()
160 if (getN() == windowSize) { in addValue()
162 } else if (getN() < windowSize) { in addValue()
309 return windowSize; in getWindowSize()
321 public void setWindowSize(int windowSize) { in setWindowSize() argument
322 if (windowSize < 1) { in setWindowSize()
323 if (windowSize != INFINITE_WINDOW) { in setWindowSize()
325 LocalizedFormats.NOT_POSITIVE_WINDOW_SIZE, windowSize); in setWindowSize()
329 this.windowSize = windowSize; in setWindowSize()
[all …]
DSynchronizedDescriptiveStatistics.java129 public synchronized void setWindowSize(int windowSize) { in setWindowSize() argument
130 super.setWindowSize(windowSize); in setWindowSize()
/external/adhd/scripts/mic_testing/frontend/
Drecorder.js124 var windowSize = 10, windowSum = 0, i;
126 for (i = 0; i < freqList.length && i < windowSize; i++) {
129 if (checkFreq(windowSum / Math.min(windowSize, freqList.length))) {
134 windowSum = windowSum + freqList[i][0] - freqList[i - windowSize][0];
135 if (checkFreq(windowSum / windowSize)) {
167 var windowSize = 10, windowSum;
176 for (j = scanRange[i][0], k = 0; k < windowSize && j != scanRange[i][1];
182 freqList[j - scanRange[i][2] * windowSize][0];
183 var avg = windowSum / windowSize;
/external/lzma/Java/SevenZip/Compression/LZ/
DOutWindow.java15 public void Create(int windowSize) in Create() argument
17 if (_buffer == null || _windowSize != windowSize) in Create()
18 _buffer = new byte[windowSize]; in Create()
19 _windowSize = windowSize; in Create()
/external/lzma/CS/7zip/Compress/LZ/
DLzOutWindow.cs15 public void Create(uint windowSize) in Create() argument
17 if (_windowSize != windowSize) in Create()
20 _buffer = new byte[windowSize]; in Create()
22 _windowSize = windowSize; in Create()
/external/speex/libspeex/
Dnb_celp.c135 st->windowSize = st->frameSize+st->subframeSize; in nb_encoder_init()
159 st->winBuf = (spx_word16_t*)speex_alloc((st->windowSize-st->frameSize)*sizeof(spx_word16_t)); in nb_encoder_init()
304 ALLOC(w_sig, st->windowSize, spx_word16_t); in nb_encode()
307 for (i=0;i<st->windowSize-st->frameSize;i++) in nb_encode()
309 for (;i<st->windowSize;i++) in nb_encode()
310 …w_sig[i] = EXTRACT16(SHR32(MULT16_16(in[i-st->windowSize+st->frameSize],st->window[i]),SIG_SHIFT)); in nb_encode()
312 _spx_autocorr(w_sig, autocorr, st->lpcSize+1, st->windowSize); in nb_encode()
339 int diff = st->windowSize-st->frameSize; in nb_encode()
558 SPEEX_COPY(st->winBuf, in+2*st->frameSize-st->windowSize, st->windowSize-st->frameSize); in nb_encode()
708 speex_assert(st->windowSize-st->frameSize == st->subframeSize); in nb_encode()
[all …]
Dsb_celp.c216 st->windowSize = st->frame_size+st->subframeSize; in sb_encoder_init()
233 st->high=(spx_word16_t*)speex_alloc((st->windowSize-st->frame_size)*sizeof(spx_word16_t)); in sb_encoder_init()
356 high = high - (st->windowSize-st->frame_size); in sb_encode()
357 SPEEX_COPY(high, st->high, st->windowSize-st->frame_size); in sb_encode()
358 SPEEX_COPY(st->high, &high[st->frame_size], st->windowSize-st->frame_size); in sb_encode()
387 ALLOC(w_sig, st->windowSize, spx_word16_t); in sb_encode()
392 for (i=0;i<st->windowSize;i++) in sb_encode()
395 for (i=0;i<st->windowSize;i++) in sb_encode()
399 _spx_autocorr(w_sig, autocorr, st->lpcSize+1, st->windowSize); in sb_encode()
Dsb_celp.h51 int windowSize; /**< Length of high-band LPC window*/ member
Dnb_celp.h56 int windowSize; /**< Analysis (LPC) window length */ member
/external/skia/src/effects/
DSkBlurMask.cpp404 int windowSize = SkScalarCeilToInt(sigma*6); in BlurGroundTruth() local
406 windowSize |= 1; in BlurGroundTruth()
408 SkAutoTMalloc<float> gaussWindow(windowSize); in BlurGroundTruth()
410 int halfWindow = windowSize >> 1; in BlurGroundTruth()
/external/skqp/src/effects/
DSkBlurMask.cpp402 int windowSize = SkScalarCeilToInt(sigma*6); in BlurGroundTruth() local
404 windowSize |= 1; in BlurGroundTruth()
406 SkAutoTMalloc<float> gaussWindow(windowSize); in BlurGroundTruth()
408 int halfWindow = windowSize >> 1; in BlurGroundTruth()
/external/brotli/go/cbrotli/
Dcbrotli_test.go95 windowSize := int(math.Pow(2, lgWin))
96 input := make([]byte, 8*windowSize)
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java516 int windowSize = okHttpSettings.getInitialWindowSize(Settings.DEFAULT_INITIAL_WINDOW_SIZE); in sendConnectionPreface() local
517 if (windowSize != Settings.DEFAULT_INITIAL_WINDOW_SIZE) { in sendConnectionPreface()
518 frameWriter.windowUpdate(0, windowSize - Settings.DEFAULT_INITIAL_WINDOW_SIZE); in sendConnectionPreface()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2ConnectionTest.java231 int windowSize = 100;
250 connection.okHttpSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, windowSize);
DSpdy3ConnectionTest.java1108 int windowSize = 100;
1127 connection.okHttpSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, windowSize);
/external/brotli/research/
Dbrotlidump.py1583 self.windowSize = self.verboseRead(WindowSizeAlphabet())
1854 maxDistance = min(len(self.output), self.windowSize)