Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp410 mNumResyncSamples = 0; in reset()
444 mNumResyncSamples = 0; in beginResync()
452 size_t idx = (mFirstResyncSample + mNumResyncSamples) % MAX_RESYNC_SAMPLES; in addResyncSample()
454 if (mNumResyncSamples == 0) { in addResyncSample()
463 if (mNumResyncSamples < MAX_RESYNC_SAMPLES) { in addResyncSample()
464 mNumResyncSamples++; in addResyncSample()
528 ALOGV("[%s] updateModelLocked %zu", mName, mNumResyncSamples); in updateModelLocked()
529 if (mNumResyncSamples >= MIN_RESYNC_SAMPLES_FOR_UPDATE) { in updateModelLocked()
534 for (size_t i = 1; i < mNumResyncSamples; i++) { in updateModelLocked()
545 mPeriod = durationSum / (mNumResyncSamples - 3); in updateModelLocked()
[all …]
DDispSync.h169 size_t mNumResyncSamples; variable