Home
last modified time | relevance | path

Searched refs:fps (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateStats.h111 uint32_t fps = 0; in flushTime() local
118 fps = mRefreshRateConfigs.getRefreshRateFromConfigId(mCurrentConfigMode).fps; in flushTime()
122 mTimeStats.recordRefreshRate(fps, timeElapsed); in flushTime()
DRefreshRateConfigs.h48 uint32_t fps = 0; member
142 const float fps = 1e9 / vsyncPeriod; in init() local
143 return {configId, base::StringPrintf("%2.ffps", fps), static_cast<uint32_t>(fps), in init()
DLayerInfo.cpp53 const int fps = 1e9f / refreshDuration; in setLastPresentTime() local
54 mRefreshRateHistory.insertRefreshRate(fps); in setLastPresentTime()
DScheduler.cpp331 defaultFps = mRefreshRateConfigs.getRefreshRateFromType(RefreshRateType::DEFAULT).fps; in registerLayer()
337 .fps; in registerLayer()
339 defaultFps = mRefreshRateConfigs.getCurrentRefreshRate().second.fps; in registerLayer()
555 return std::abs(l.second.fps - static_cast<float>(rate)) < in calculateRefreshRateType()
556 std::abs(r.second.fps - static_cast<float>(rate)); in calculateRefreshRateType()
564 float ratio = mRefreshRateConfigs.getRefreshRateFromType(currRefreshRateType).fps / in calculateRefreshRateType()
568 ratio = iter->second.fps / float(mContentRefreshRate); in calculateRefreshRateType()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java137 float fps = 0f; in drawBall() local
145 fps = 1f * SEC_TO_NANOS / tDiff; in drawBall()
149 if (Math.abs(mFps - fps) > FPS_UPDATE_THRESHOLD) { in drawBall()
150 mFps = fps; in drawBall()
270 int fps = (int) displayMode.getRefreshRate(); in updateDisplayMode() local
271 menuItem.setTitle(fps + "hz"); in updateDisplayMode()
/frameworks/av/services/mediaanalytics/
Dstatsd_nuplayer.cpp95 double fps = -1.0; in statsd_nuplayer() local
96 if (item->getDouble("android.media.mediaplayer.fps", &fps)) { in statsd_nuplayer()
97 metrics_proto.set_framerate(fps); in statsd_nuplayer()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp408 seen_fps.emplace(bucket.config().fps()); in TEST_F()
409 if (fpsOne == bucket.config().fps()) { in TEST_F()
411 } else if (fpsTwo == bucket.config().fps()) { in TEST_F()
414 FAIL() << "Unknown fps: " << bucket.config().fps(); in TEST_F()
423 uint32_t fps = 30; in TEST_F() local
427 mTimeStats->recordRefreshRate(fps, ms2ns(millisOne)); in TEST_F()
428 mTimeStats->recordRefreshRate(fps, ms2ns(millisTwo)); in TEST_F()
433 EXPECT_EQ(fps, globalProto.display_config_stats().Get(0).config().fps()); in TEST_F()
DRefreshRateConfigsTest.cpp51 ASSERT_EQ(left.fps, right.fps); in assertRatesEqual()
/frameworks/av/media/libmedia/omx/1.0/
DWGraphicBufferSource.cpp56 double fps, double captureFps) { in setTimeLapseConfig() argument
57 return toBinderStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java53 float fps = 1000000.f / elapsedTime_us; in registerTime() local
55 Log.v(TAG, "Long frame: " + elapsedTime_us/1000.f + " ms (" + fps + " fps)"); in registerTime()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DCameraSource.java316 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { in findClosestFpsRange() argument
320 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && in findClosestFpsRange()
321 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] > fps*1000 && in findClosestFpsRange()
329 if (mLogVerbose) Log.v(TAG, "Requested fps: " + fps in findClosestFpsRange()
/frameworks/base/libs/hwui/
DDeviceInfo.cpp70 return sDummyDisplay.fps; in QueryMaxRefreshRate()
84 max = std::max(max, info.fps); in QueryMaxRefreshRate()
/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp67 void VideoFrameSchedulerBase::PLL::reset(float fps) { in reset() argument
74 if (fps <= 0.f) { in reset()
78 ALOGV("reset at %.1f fps", fps); in reset()
79 mPeriod = (nsecs_t)(1e9 / fps + 0.5); in reset()
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayInfo.h32 float fps{0};
/frameworks/native/libs/ui/include/ui/
DDisplayInfo.h32 float fps{0};
/frameworks/av/media/libmedia/aidl/android/
DIGraphicBufferSource.aidl31 void setTimeLapseConfig(double fps, double captureFps); in setTimeLapseConfig() argument
/frameworks/av/media/codec2/sfplugin/
DOmx2IGraphicBufferSource.cpp109 double fps, double captureFps) { in setTimeLapseConfig() argument
110 return BnStatus::fromStatusT(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
DOmx2IGraphicBufferSource.h35 BnStatus setTimeLapseConfig(double fps, double captureFps) override;
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h67 virtual void recordRefreshRate(uint32_t fps, nsecs_t duration) = 0;
139 void recordRefreshRate(uint32_t fps, nsecs_t duration) override;
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java394 Measurement(int surfaceCnt, double fps) { in Measurement() argument
396 mFPS = fps; in Measurement()
426 double fps = mViews.get(0).measureFPS(mRefreshRate * 0.8, mRefreshRate * 0.999); in measureFPS() local
431 return fps; in measureFPS()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp107 for (const auto& [fps, duration] : refreshRateStats) { in toString()
108 StringAppendF(&result, "%dfps=%ldms ", fps, ns2ms(duration)); in toString()
/frameworks/av/cmds/stagefright/
Drecordvideo.cpp60 DummySource(int width, int height, int nFrames, int fps, int colorFormat) in DummySource() argument
64 mFrameRate(fps), in DummySource()
/frameworks/av/media/libstagefright/omx/1.0/
DWGraphicBufferSource.cpp207 double fps, double captureFps) { in setTimeLapseConfig() argument
208 return toStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
/frameworks/av/media/libstagefright/include/media/stagefright/
DVideoFrameSchedulerBase.h62 void reset(float fps = -1);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h70 void setVideoFrameRate(float fps);
265 void onSetVideoFrameRate(float fps);

123