Home
last modified time | relevance | path

Searched refs:frameInterval (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/libs/hwui/
DJankTracker.cpp51 [](nsecs_t frameInterval) { return static_cast<int64_t>(.5 * frameInterval); }, in __anon909821eb0202()
55 [](nsecs_t frameInterval) { return static_cast<int64_t>(.2 * frameInterval); }, in __anon909821eb0302()
59 [](nsecs_t frameInterval) { return static_cast<int64_t>(.75 * frameInterval); }, in __anon909821eb0402()
192 int64_t frameInterval = frame[FrameInfoIndex::FrameInterval]; in finishFrame() local
197 > (frameInterval * 0.1); in finishFrame()
216 mNextFrameStartUnstuffed += frameInterval; in finishFrame()
227 nsecs_t lastFrameOffset = jitterNanos % frameInterval; in finishFrame()
232 - lastFrameOffset + frameInterval; in finishFrame()
234 recomputeThresholds(frameInterval); in finishFrame()
DFrameInfo.h97 int64_t vsyncId, int64_t frameDeadline, nsecs_t frameInterval) { in setVsync() argument
108 set(FrameInfoIndex::FrameInterval) = frameInterval; in setVsync()
DFrameInfoVisualizer.h42 explicit FrameInfoVisualizer(FrameInfoSource& source, nsecs_t frameInterval);
DJankTracker.h75 void recomputeThresholds(int64_t frameInterval);
DFrameInfoVisualizer.cpp70 FrameInfoVisualizer::FrameInfoVisualizer(FrameInfoSource& source, nsecs_t frameInterval) in FrameInfoVisualizer() argument
71 : mFrameSource(source), mFrameInterval(frameInterval) { in FrameInfoVisualizer()
/frameworks/base/libs/hwui/renderthread/
DTimeLord.cpp32 int64_t frameDeadline, nsecs_t frameInterval) { in vsyncReceived() argument
41 if (frameInterval > 0) { in vsyncReceived()
42 mFrameIntervalNanos = frameInterval; in vsyncReceived()
DRenderThread.cpp126 int64_t frameInterval = AChoreographer_getFrameInterval(rt->mChoreographer); in extendedFrameCallback() local
127 rt->frameCallback(vsyncId, frameDeadline, frameTimeNanos, frameInterval); in extendedFrameCallback()
131 int64_t frameInterval) { in frameCallback() argument
134 frameInterval) && in frameCallback()
DTimeLord.h36 int64_t frameDeadline, nsecs_t frameInterval);
DDrawFrameTask.cpp239 int64_t frameInterval = mFrameInfo[static_cast<int>(FrameInfoIndex::FrameInterval)]; in syncFrameState() local
241 frameInterval); in syncFrameState()
DCanvasContext.cpp319 nsecs_t frameInterval = mRenderThread.timeLord().frameIntervalNanos(); in isSwapChainStuffed() local
333 if (std::abs(swapA.swapCompletedTime - swapB.swapCompletedTime) > frameInterval * 3) { in isSwapChainStuffed()
806 int64_t frameInterval = mRenderThread.timeLord().frameIntervalNanos(); in prepareAndDraw() local
810 .setVsync(vsync, vsync, vsyncId, frameDeadline, frameInterval); in prepareAndDraw()
DRenderThread.h216 int64_t frameInterval);
/frameworks/base/core/java/android/view/
DDisplayEventReceiver.java170 public final long frameInterval; field in DisplayEventReceiver.VsyncEventData
179 long frameInterval) { in VsyncEventData() argument
182 this.frameInterval = frameInterval; in VsyncEventData()
186 this.frameInterval = -1; in VsyncEventData()
DChoreographer.java745 final long frameIntervalNanos = vsyncEventData.frameInterval; in doFrame()
814 vsyncEventData.frameInterval); in doFrame()
/frameworks/native/libs/gui/tests/
DVsyncEventData_test.cpp33 data.vsync.frameInterval = 789; in TEST()
46 ASSERT_EQ(data.vsync.frameInterval, data2.vsync.frameInterval); in TEST()
DDisplayEventStructLayout_test.cpp36 CHECK_OFFSET(DisplayEventReceiver::Event::VSync, vsyncData.frameInterval, 8); in TEST()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp361 nsecs_t frameInterval = mGetVsyncPeriodFunction(connection->mOwnerUid); in getLatestVsyncEventData() local
362 vsyncEventData.frameInterval = frameInterval; in getLatestVsyncEventData()
368 generateFrameTimeline(vsyncEventData, frameInterval, systemTime(SYSTEM_TIME_MONOTONIC), in getLatestVsyncEventData()
605 void EventThread::generateFrameTimeline(VsyncEventData& outVsyncEventData, nsecs_t frameInterval, in generateFrameTimeline() argument
612 nsecs_t deadlineTimestamp = preferredDeadlineTimestamp + multiplier * frameInterval; in generateFrameTimeline()
619 preferredExpectedPresentationTime + multiplier * frameInterval; in generateFrameTimeline()
635 const int64_t frameInterval = mGetVsyncPeriodFunction(consumer->mOwnerUid); in dispatchEvent() local
636 copy.vsync.vsyncData.frameInterval = frameInterval; in dispatchEvent()
637 generateFrameTimeline(copy.vsync.vsyncData, frameInterval, copy.header.timestamp, in dispatchEvent()
DEventThread.h223 void generateFrameTimeline(VsyncEventData& outVsyncEventData, nsecs_t frameInterval,
/frameworks/base/graphics/java/android/graphics/
DFrameInfo.java102 long frameDeadline, long frameStartTime, long frameInterval) { in setVsync() argument
109 frameInfo[FRAME_INTERVAL] = frameInterval; in setVsync()
/frameworks/native/libs/gui/
DVsyncEventData.cpp44 SAFE_PARCEL(parcel->readInt64, &vsync.frameInterval); in readFromParcel()
59 SAFE_PARCEL(parcel->writeInt64, vsync.frameInterval); in writeToParcel()
/frameworks/native/libs/gui/include/gui/
DVsyncEventData.h31 int64_t frameInterval; member
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DNative.java31 String codecName, String mime, int bitRate, int colorFormat, int frameInterval, in Encode() argument
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp1436 nsecs_t minPresentT = mLastPresentTime + vsyncEventData.frameInterval / 2; in syncTimestampToDisplayLocked()
1464 return presentT - vsyncEventData.frameInterval/3; in syncTimestampToDisplayLocked()
1482 int minVsyncs = (mMinExpectedDuration - vsyncEventData.frameInterval / 2) / in syncTimestampToDisplayLocked()
1483 vsyncEventData.frameInterval; in syncTimestampToDisplayLocked()
1485 nsecs_t minInterval = minVsyncs * vsyncEventData.frameInterval; in syncTimestampToDisplayLocked()
1504 float captureToVsyncIntervalRatio = 1.0f * mMinExpectedDuration / vsyncEventData.frameInterval; in syncTimestampToDisplayLocked()
1574 expectedPresentT += vsyncEventData.frameInterval; in syncTimestampToDisplayLocked()
1584 return expectedPresentT - vsyncEventData.frameInterval/3; in syncTimestampToDisplayLocked()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DEncoderTest.java130 int frameInterval, int profile, int level, int samplerate, in EncoderTest() argument
135 this.mIFrameInterval = frameInterval; in EncoderTest()
/frameworks/base/core/jni/
Dandroid_view_DisplayEventReceiver.cpp134 vsyncEventData.frameInterval); in createJavaVsyncEventData()
/frameworks/native/libs/nativedisplay/
DAChoreographer.cpp448 return mLastVsyncEventData.frameInterval; in getFrameInterval()

12