Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp316 mNumResyncSamples = 0; in reset()
349 mNumResyncSamples = 0; in beginResync()
355 size_t idx = (mFirstResyncSample + mNumResyncSamples) % MAX_RESYNC_SAMPLES; in addResyncSample()
358 if (mNumResyncSamples < MAX_RESYNC_SAMPLES) { in addResyncSample()
359 mNumResyncSamples++; in addResyncSample()
418 if (mNumResyncSamples >= MIN_RESYNC_SAMPLES_FOR_UPDATE) { in updateModelLocked()
420 for (size_t i = 1; i < mNumResyncSamples; i++) { in updateModelLocked()
426 mPeriod = durationSum / (mNumResyncSamples - 1); in updateModelLocked()
431 for (size_t i = 0; i < mNumResyncSamples; i++) { in updateModelLocked()
439 sampleAvgX /= double(mNumResyncSamples); in updateModelLocked()
[all …]
DDispSync.h162 size_t mNumResyncSamples; variable