Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DVideoFrameScheduler2.cpp56 int mNumSamples; member in android::VsyncTracker
68 : mNumSamples(0), in VsyncTracker()
112 if (mNumSamples == 0) { in addSample()
116 int idx = (mFirstSample + mNumSamples) % kMaxSamples; in addSample()
118 if (mNumSamples < kMaxSamples) { in addSample()
119 mNumSamples++; in addSample()
127 if (mNumSamples < kMinSamplesForUpdate) { in updateModelLocked()
134 for (int i = 1; i < mNumSamples; i++) { in updateModelLocked()
144 mPeriod = durationSum / (mNumSamples - 3); in updateModelLocked()
150 for (int i = 1; i < mNumSamples; i++) { in updateModelLocked()
[all …]
DVideoFrameSchedulerBase.cpp64 mNumSamples(0) { in PLL()
88 mNumSamples = 0; in restart()
104 mNumSamples = 8;
125 if (numSamplesToUse > mNumSamples) { in fit()
126 numSamplesToUse = mNumSamples; in fit()
143 size_t ix = (mNumSamples - numSamplesToUse + i) % kHistorySize; in fit()
181 if (numSamplesToUse > mNumSamples) { in prime()
182 numSamplesToUse = mNumSamples; in prime()
191 size_t index = (mNumSamples - numSamplesToUse + i) % kHistorySize; in prime()
274 mTimes[mNumSamples % kHistorySize] = time; in addSample()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DVideoFrameSchedulerBase.h79 size_t mNumSamples; // can go past kHistorySize member