Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp461 nsecs_t sampleErr = (sample - mPhase) % mPeriod; in updateErrorLocked() local
462 if (sampleErr > mPeriod / 2) { in updateErrorLocked()
463 sampleErr -= mPeriod; in updateErrorLocked()
465 sqErrSum += sampleErr * sampleErr; in updateErrorLocked()