/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateStats.h | 111 uint32_t fps = 0; in flushTime() local 118 fps = mRefreshRateConfigs.getRefreshRateFromConfigId(mCurrentConfigMode).fps; in flushTime() 122 mTimeStats.recordRefreshRate(fps, timeElapsed); in flushTime()
|
D | RefreshRateConfigs.h | 48 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()
|
D | LayerInfo.cpp | 53 const int fps = 1e9f / refreshDuration; in setLastPresentTime() local 54 mRefreshRateHistory.insertRefreshRate(fps); in setLastPresentTime()
|
D | Scheduler.cpp | 331 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/ |
D | TouchLatencyActivity.java | 137 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/ |
D | statsd_nuplayer.cpp | 95 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/ |
D | TimeStatsTest.cpp | 408 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()
|
D | RefreshRateConfigsTest.cpp | 51 ASSERT_EQ(left.fps, right.fps); in assertRatesEqual()
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WGraphicBufferSource.cpp | 56 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/ |
D | TestFramerateView.java | 53 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/ |
D | CameraSource.java | 316 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/ |
D | DeviceInfo.cpp | 70 return sDummyDisplay.fps; in QueryMaxRefreshRate() 84 max = std::max(max, info.fps); in QueryMaxRefreshRate()
|
/frameworks/av/media/libstagefright/ |
D | VideoFrameSchedulerBase.cpp | 67 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/ |
D | DisplayInfo.h | 32 float fps{0};
|
/frameworks/native/libs/ui/include/ui/ |
D | DisplayInfo.h | 32 float fps{0};
|
/frameworks/av/media/libmedia/aidl/android/ |
D | IGraphicBufferSource.aidl | 31 void setTimeLapseConfig(double fps, double captureFps); in setTimeLapseConfig() argument
|
/frameworks/av/media/codec2/sfplugin/ |
D | Omx2IGraphicBufferSource.cpp | 109 double fps, double captureFps) { in setTimeLapseConfig() argument 110 return BnStatus::fromStatusT(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
|
D | Omx2IGraphicBufferSource.h | 35 BnStatus setTimeLapseConfig(double fps, double captureFps) override;
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 67 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/ |
D | SurfaceCompositionMeasuringActivity.java | 394 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/ |
D | TimeStatsHelper.cpp | 107 for (const auto& [fps, duration] : refreshRateStats) { in toString() 108 StringAppendF(&result, "%dfps=%ldms ", fps, ns2ms(duration)); in toString()
|
/frameworks/av/cmds/stagefright/ |
D | recordvideo.cpp | 60 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/ |
D | WGraphicBufferSource.cpp | 207 double fps, double captureFps) { in setTimeLapseConfig() argument 208 return toStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | VideoFrameSchedulerBase.h | 62 void reset(float fps = -1);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.h | 70 void setVideoFrameRate(float fps); 265 void onSetVideoFrameRate(float fps);
|