Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h104 nsecs_t vsyncPeriod = configIdToVsyncPeriod[0].second; in populate() local
105 if (vsyncPeriod != 0) { in populate()
106 const float fps = 1e9 / vsyncPeriod; in populate()
121 vsyncPeriod = configIdToVsyncPeriod[1].second; in populate()
122 if (vsyncPeriod != 0) { in populate()
123 const float fps = 1e9 / vsyncPeriod; in populate()
DEventThread.cpp49 auto vsyncPeriod(VSyncRequest request) { in vsyncPeriod() function
60 return StringPrintf("VSyncRequest::Periodic{period=%d}", vsyncPeriod(request)); in toString()
414 return event.vsync.count % vsyncPeriod(connection->vsyncRequest) == 0; in shouldConsumeEvent()
DScheduler.cpp205 stats->vsyncPeriod = mPrimaryDispSync->getPeriod(); in getDisplayStatInfo()
/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp52 (long long)stats.vsyncTime, (long long)stats.vsyncPeriod); in updateVsync()
54 mVsyncPeriod = stats.vsyncPeriod; in updateVsync()
DVideoFrameScheduler2.cpp201 nsecs_t vsyncPeriod = (nsecs_t) (kOneSecInNanosec / (float) javaRefreshRate); in getVsyncOffset() local
213 *sfVsyncOffsetPtr = vsyncPeriod - ((nsecs_t) javaPresentationDeadline - kOneMillisecInNanosec); in getVsyncOffset()
/frameworks/base/core/java/com/android/internal/view/
DSurfaceFlingerVsyncChoreographer.java66 long vsyncPeriod = (long) (ONE_S_IN_NS / display.getRefreshRate()); in calculateAppSurfaceFlingerVsyncOffsetMs() local
67 long sfVsyncOffset = vsyncPeriod - (display.getPresentationDeadlineNanos() - ONE_MS_IN_NS); in calculateAppSurfaceFlingerVsyncOffsetMs()
/frameworks/native/libs/ui/include/ui/
DDisplayStatInfo.h26 nsecs_t vsyncPeriod{0};
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayStatInfo.h26 nsecs_t vsyncPeriod{0};
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1615 const nsecs_t vsyncPeriod = getVsyncPeriod(); in updateVrFlinger() local
1616 mAnimFrameTracker.setDisplayRefreshPeriod(vsyncPeriod); in updateVrFlinger()
1624 DisplayStatInfo stats{0 /* vsyncTime */, vsyncPeriod}; in updateVrFlinger()
1627 mScheduler->resyncToHardwareVsync(false, vsyncPeriod); in updateVrFlinger()
1987 ? (stats.vsyncPeriod - (mPhaseOffsets->getCurrentSfOffset() % stats.vsyncPeriod)) in setCompositorTimingSnapped()
1988 : ((-mPhaseOffsets->getCurrentSfOffset()) % stats.vsyncPeriod); in setCompositorTimingSnapped()
1992 idealLatency = stats.vsyncPeriod; in setCompositorTimingSnapped()
2001 nsecs_t bias = stats.vsyncPeriod / 2; in setCompositorTimingSnapped()
2002 int64_t extraVsyncs = (compositeToPresentLatency - idealLatency + bias) / stats.vsyncPeriod; in setCompositorTimingSnapped()
2004 (extraVsyncs > 0) ? idealLatency + (extraVsyncs * stats.vsyncPeriod) : idealLatency; in setCompositorTimingSnapped()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.h153 Builder& setVsyncPeriod(int32_t vsyncPeriod) { in setVsyncPeriod() argument
154 mConfig->mVsyncPeriod = vsyncPeriod; in setVsyncPeriod()
DHWComposer.cpp275 auto vsyncPeriod = getActiveConfig(displayId)->getVsyncPeriod(); in getRefreshTimestamp() local
276 return now - ((now - displayData.lastHwVsync) % vsyncPeriod); in getRefreshTimestamp()
/frameworks/native/libs/gui/
DSurface.cpp166 *outRefreshDuration = stats.vsyncPeriod; in getDisplayRefreshCycleDuration()