Home
last modified time | relevance | path

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

123

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h49 uint32_t fps = 0; member
106 const float fps = 1e9 / vsyncPeriod; in populate() local
110 RefreshRate{configId, base::StringPrintf("%2.ffps", fps), in populate()
111 static_cast<uint32_t>(fps), in populate()
123 const float fps = 1e9 / vsyncPeriod; in populate() local
127 RefreshRate{configId, base::StringPrintf("%2.ffps", fps), in populate()
128 static_cast<uint32_t>(fps), in populate()
DScheduler.cpp327 const uint32_t fps = (refreshRate) ? refreshRate->fps : 0; in registerLayer() local
328 return mLayerHistory.createLayer(name, fps); in registerLayer()
519 if (iter->second->fps >= mContentRefreshRate * (1 - MARGIN)) { in calculateRefreshRateType()
529 float ratio = mRefreshRateConfigs.getRefreshRate(currRefreshRateType)->fps / in calculateRefreshRateType()
533 ratio = iter->second->fps / float(mContentRefreshRate); in calculateRefreshRateType()
/frameworks/opt/gamesdk/src/tuningfork/
Dtuningfork_extra.cpp157 std::vector<AAsset*> fps; in GetFidelityParamsSerialization() local
163 fps.push_back(fp); in GetFidelityParamsSerialization()
165 *fp_count = fps.size(); in GetFidelityParamsSerialization()
170 AAsset* asset = fps[i]; in GetFidelityParamsSerialization()
307 CProtobufSerialization* fps, int* fp_count) { in TuningFork_findFidelityParamsInAPK() argument
308 GetFidelityParamsSerialization(env, activity, fps, fp_count); in TuningFork_findFidelityParamsInAPK()
343 std::vector<CProtobufSerialization> fps(nfps); in TuningFork_initFromAssetsWithSwappy() local
344 TuningFork_findFidelityParamsInAPK(env, activity, fps.data(), &nfps); in TuningFork_initFromAssetsWithSwappy()
348 defaultParams = fps[i]; in TuningFork_initFromAssetsWithSwappy()
350 CProtobufSerialization_Free(&fps[i]); in TuningFork_initFromAssetsWithSwappy()
/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/opt/gamesdk/samples/bouncyball/app/src/main/java/com/prefabulated/bouncyball/
DSettingsFragment.java61 float fps = refreshRate / (interval + 1); in onCreatePreferences() local
62 float ms = 1000 / fps; in onCreatePreferences()
64 entries[interval] = String.format(Locale.US, "%.2fms (%.0ffps)", ms, fps); in onCreatePreferences()
/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/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()
/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/libs/hwui/
DDeviceInfo.cpp70 return sDummyDisplay.fps; in QueryMaxRefreshRate()
84 max = std::max(max, info.fps); in QueryMaxRefreshRate()
/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/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/cpp/
Dtftestapp.cpp212 CProtobufSerialization fps = {}; in Java_com_google_tuningfork_TFTestActivity_initTuningFork() local
216 if (TuningFork_getFidelityParameters(defaultFP, &fps, 1000)) { in Java_com_google_tuningfork_TFTestActivity_initTuningFork()
217 SetFidelityParams(&fps); in Java_com_google_tuningfork_TFTestActivity_initTuningFork()
218 tuningfork::CProtobufSerialization_Free(&fps); in Java_com_google_tuningfork_TFTestActivity_initTuningFork()
/frameworks/av/media/libmedia/aidl/android/
DIGraphicBufferSource.aidl31 void setTimeLapseConfig(double fps, double captureFps); in setTimeLapseConfig() argument
/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/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/opt/gamesdk/include/tuningfork/
Dtuningfork_extra.h42 CProtobufSerialization* fps,
/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/av/media/libstagefright/include/media/stagefright/
DVideoFrameSchedulerBase.h62 void reset(float fps = -1);
/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/cmds/stagefright/
Drecordvideo.cpp62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) in DummySource() argument
66 mFrameRate(fps), in DummySource()
/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/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()

123