Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp331 mVsyncPeriod(0), in VideoFrameSchedulerBase()
354 if (mVsyncPeriod > 0) { in getVsyncPeriod()
355 return mVsyncPeriod; in getVsyncPeriod()
377 if (mVsyncPeriod == 0) { in schedule()
383 if (mVsyncTime > renderTime - 4 * mVsyncPeriod) { in schedule()
385 ((mVsyncTime - renderTime) / mVsyncPeriod + 5) * mVsyncPeriod; in schedule()
390 renderTime -= mVsyncPeriod / 2; in schedule()
397 abs(((videoPeriod * 5 + mVsyncPeriod) % (mVsyncPeriod * 6)) - mVsyncPeriod) in schedule()
398 / (mVsyncPeriod / 100); in schedule()
408 (renderTime + mTimeCorrection + videoPeriod * i - mVsyncTime) % mVsyncPeriod; in schedule()
[all …]
DVideoFrameScheduler.cpp40 mVsyncPeriod = 0; in updateVsync()
55 mVsyncPeriod = stats.vsyncPeriod; in updateVsync()
/frameworks/base/libs/hwui/
DDeviceInfo.h45 static int64_t getVsyncPeriod() { return get()->mVsyncPeriod; } in getVsyncPeriod()
53 get()->mVsyncPeriod = static_cast<int64_t>(1000000000 / refreshRate); in setRefreshRate()
105 return mVsyncPeriod - (mPresentationDeadlineNanos - 1000000); in getCompositorOffsetInternal()
121 int64_t mVsyncPeriod = 16666666; variable
DDeviceInfo.cpp120 mVsyncPeriod = vsyncPeriod; in onRefreshRateChanged()
/frameworks/av/media/libstagefright/include/media/stagefright/
DVideoFrameSchedulerBase.h54 nsecs_t mVsyncPeriod; member
/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp82 void SetUp() override { mVsyncPeriod = VSYNC_PERIOD; } in SetUp()
148 std::chrono::nanoseconds mVsyncPeriod; member in android::EventThreadTest
191 return mVsyncPeriod; in getVsyncPeriod()
326 scheduler::VsyncConfig::kEarlyLatchMaxThreshold / mVsyncPeriod; in expectVsyncEventDataFrameTimelinesValidLength()
464 mVsyncPeriod = (scheduler::VsyncConfig::kEarlyLatchMaxThreshold / in TEST_F()
DTestableSurfaceFlinger.h826 mVsyncPeriod = vsyncPeriod; in setVsyncPeriod()
898 .WillRepeatedly(DoAll(SetArgPointee<3>(static_cast<int32_t>(mVsyncPeriod)), in inject()
937 nsecs_t mVsyncPeriod = DEFAULT_VSYNC_PERIOD; variable