Searched refs:mPeriod (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSync.cpp | 68 mPeriod(0), in DispSyncThread() 88 if (mPeriod != 0 && mPeriod != period && mReferenceTime != 0) { in updateModel() 93 const nsecs_t numOldPeriods = baseTime / mPeriod; in updateModel() 94 mReferenceTime = mReferenceTime + (numOldPeriods)*mPeriod; in updateModel() 96 mPeriod = period; in updateModel() 98 ATRACE_INT64("DispSync:Period", mPeriod); in updateModel() 99 ATRACE_INT64("DispSync:Phase", mPhase + mPeriod / 2); in updateModel() 104 mName, ns2us(mPeriod), ns2us(mPhase), ns2us(mReferenceTime)); in updateModel() 147 if (mPeriod == 0) { in threadLoop() 225 if (mPeriod != 0) { in addEventListener() [all …]
|
D | DispSync.h | 206 nsecs_t mPeriod; variable
|
/frameworks/av/media/libstagefright/ |
D | VideoFrameSchedulerBase.cpp | 59 : mPeriod(-1), in PLL() 75 mPeriod = -1; in reset() 79 mPeriod = (nsecs_t)(1e9 / fps + 0.5); in reset() 258 mPeriod = delta; in prime() 263 numSamplesToUse, (long long)mPhase, (long long)mPeriod); in prime() 278 if ((mPeriod <= 0 || !mPrimed) && mNumSamples >= kMinSamplesToStartPrime) { in addSample() 283 if (mPeriod > 0 && mNumSamples >= kMinSamplesToEstimatePeriod) { in addSample() 289 int64_t err = periodicError(time - mPhase, mPeriod); in addSample() 290 doFit = err > mPeriod / kReFitThresholdDiv; in addSample() 295 if (!fit(mPhase, mPeriod, kMaxSamplesToEstimatePeriod, &a, &b, &err)) { in addSample() [all …]
|
D | VideoFrameScheduler2.cpp | 60 nsecs_t mPeriod; member in android::VsyncTracker 72 mPeriod(0) { in VsyncTracker() 80 return mPeriod; in getVsyncPeriod() 90 nsecs_t result = (now - phase) / mPeriod; in getVsyncTime() 96 if (result > LONG_LONG_MAX / mPeriod) { in getVsyncTime() 99 result *= mPeriod; in getVsyncTime() 144 mPeriod = durationSum / (mNumSamples - 3); in updateModelLocked() 148 double scale = 2.0 * M_PI / (double) mPeriod; in updateModelLocked() 153 double samplePhase = (double) (sample % mPeriod) * scale; in updateModelLocked()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipWakeupTimer.java | 96 e.mPeriod = e.mMaxPeriod / minPeriod * minPeriod; in recalculatePeriods() 118 event.mTriggerTime = now + event.mPeriod; in insertEvent() 123 int minPeriod = firstEvent.mPeriod; in insertEvent() 125 event.mPeriod = event.mMaxPeriod / minPeriod * minPeriod; in insertEvent() 132 long triggerTime = now + event.mPeriod; in insertEvent() 135 event.mLastTriggerTime -= event.mPeriod; in insertEvent() 195 firstEvent.mPeriod = firstEvent.mMaxPeriod; in cancel() 197 + firstEvent.mPeriod; in cancel() 263 event.mTriggerTime += event.mPeriod; in execute() 288 int mPeriod; field in SipWakeupTimer.MyEvent [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/ |
D | ThroughputFilter.java | 34 private int mPeriod = 5; field in ThroughputFilter 87 if ((curTime - mLastTime) >= (mPeriod * 1000)) { in process() 92 mPeriod, in process()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ThroughputFilter.java | 27 private int mPeriod = 3; field in ThroughputFilter 79 if ((curTime - mLastTime) >= (mPeriod * 1000)) { in onProcess()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | VideoFrameSchedulerBase.h | 70 nsecs_t mPeriod;
|