/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | Fps.h | 66 struct FpsRange { struct 71 bool includes(FpsRange) const; argument 76 FpsRange physical; 80 FpsRange render; 148 inline bool operator==(FpsRange lhs, FpsRange rhs) { 152 inline bool operator!=(FpsRange lhs, FpsRange rhs) { 174 inline bool FpsRange::includes(Fps fps) const { in includes() 179 inline bool FpsRange::includes(FpsRange range) const { in includes() 201 inline std::string to_string(FpsRange range) { in to_string()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FpsTest.cpp | 74 EXPECT_TRUE((FpsRange{60.000004_Hz, 60.000004_Hz}.includes(fps))); in TEST() 75 EXPECT_TRUE((FpsRange{59_Hz, 60.1_Hz}.includes(fps))); in TEST() 76 EXPECT_FALSE((FpsRange{75_Hz, 90_Hz}.includes(fps))); in TEST() 77 EXPECT_FALSE((FpsRange{60.0011_Hz, 90_Hz}.includes(fps))); in TEST() 78 EXPECT_FALSE((FpsRange{50_Hz, 59.998_Hz}.includes(fps))); in TEST()
|
D | RefreshRateSelectorTest.cpp | 2376 constexpr FpsRange k90 = {90_Hz, 90_Hz}; in TEST_P() 2377 constexpr FpsRange k60_90 = {60_Hz, 90_Hz}; in TEST_P() 2400 constexpr FpsRange k60 = {60_Hz, 60_Hz}; in TEST_P() 2401 constexpr FpsRange k60_90 = {60_Hz, 90_Hz}; in TEST_P() 2607 constexpr FpsRange k90 = {90_Hz, 90_Hz}; in TEST_P() 2608 constexpr FpsRange k60_90 = {60_Hz, 90_Hz}; in TEST_P() 2947 constexpr FpsRange k30_60 = {30_Hz, 60_Hz}; in TEST_P() 2948 constexpr FpsRange k30_90 = {30_Hz, 90_Hz}; in TEST_P() 3892 const FpsRange physical = {60_Hz, 60_Hz}; in TEST_P() 3893 const FpsRange render = {60_Hz, 120_Hz}; in TEST_P() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | RefreshRateOverlay.h | 52 static std::unique_ptr<RefreshRateOverlay> create(FpsRange, ftl::Flags<Features>); 62 RefreshRateOverlay(ConstructorTag, FpsRange, ftl::Flags<Features>); 98 const FpsRange mFpsRange; // For color interpolation.
|
D | RefreshRateOverlay.cpp | 158 std::unique_ptr<RefreshRateOverlay> RefreshRateOverlay::create(FpsRange range, in create() 170 RefreshRateOverlay::RefreshRateOverlay(ConstructorTag, FpsRange fpsRange, in RefreshRateOverlay()
|
D | SurfaceFlinger.cpp | 1400 const FpsRange physical = {fps, fps}; in setActiveModeFromBackdoor() 1401 const FpsRange render = {minFps.isValid() ? minFps : fps, maxFps.isValid() ? maxFps : fps}; in setActiveModeFromBackdoor() 8780 FpsRange translate(const gui::DisplayModeSpecs::RefreshRateRanges::RefreshRateRange& aidlRange) { in translate() 8781 return FpsRange{Fps::fromValue(aidlRange.min), Fps::fromValue(aidlRange.max)}; in translate() 8788 gui::DisplayModeSpecs::RefreshRateRanges::RefreshRateRange translate(const FpsRange& range) { in translate()
|
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/ |
D | GraphicsActivity.java | 62 static class FpsRange { class in GraphicsActivity 67 FpsRange(double min, double max) { in FpsRange() method in GraphicsActivity.FpsRange 77 private static final FpsRange FRAME_RATE_CATEGORY_HIGH = new FpsRange(90, 120); 78 private static final FpsRange FRAME_RATE_CATEGORY_NORMAL = new FpsRange(60, 90); 79 private static final FpsRange FRAME_RATE_CATEGORY_LOW = new FpsRange(30, 30); 847 FpsRange categoryRange = convertCategory(category); in getExpectedFrameRateForCategory() 856 private FpsRange convertCategory(int category) { in convertCategory() 869 return new FpsRange(0, 0); in convertCategory()
|
/frameworks/av/services/camera/virtualcamera/util/ |
D | Util.h | 147 struct FpsRange { struct 151 bool operator<(const FpsRange& other) const { argument
|
D | MetadataUtil.h | 263 const std::vector<FpsRange>& fpsRanges); 266 MetadataBuilder& setControlAeTargetFpsRange(FpsRange fpsRange); 469 std::optional<FpsRange> getFpsRange(
|
D | MetadataUtil.cc | 259 const std::vector<FpsRange>& fpsRanges) { in setControlAeAvailableFpsRanges() 262 for (const FpsRange fpsRange : fpsRanges) { in setControlAeAvailableFpsRanges() 271 const FpsRange fpsRange) { in setControlAeTargetFpsRange() 855 std::optional<FpsRange> getFpsRange( in getFpsRange() 867 FpsRange range{.minFps = entry.data.i32[0], .maxFps = entry.data.i32[1]}; in getFpsRange()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.h | 75 Policy(DisplayModeId defaultMode, FpsRange range, 262 FpsRange getSupportedRefreshRateRange() const EXCLUDES(mLock) { in getSupportedRefreshRateRange() 372 static FpsRange getFrameRateCategoryRange(FrameRateCategory category); 522 const FpsRange&) const REQUIRES(mLock);
|
D | RefreshRateSelector.cpp | 107 std::pair<unsigned, unsigned> divisorRange(Fps vsyncRate, Fps peakFps, FpsRange range, in divisorRange() 162 const FpsRange& renderRange) const -> std::vector<FrameRateMode> { in createFrameRateModes() 434 FpsRange categoryRange = getFrameRateCategoryRange(layer.frameRateCategory); in calculateLayerScoreLocked() 1636 FpsRange RefreshRateSelector::getFrameRateCategoryRange(FrameRateCategory category) { in getFrameRateCategoryRange() 1639 return FpsRange{90_Hz, 120_Hz}; in getFrameRateCategoryRange() 1641 return FpsRange{60_Hz, 120_Hz}; in getFrameRateCategoryRange() 1643 return FpsRange{30_Hz, 120_Hz}; in getFrameRateCategoryRange()
|
/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraDevice.cc | 129 std::vector<FpsRange> fpsRangesForInputConfig( in fpsRangesForInputConfig() 131 std::set<FpsRange> availableRanges; in fpsRangesForInputConfig() 150 return std::vector<FpsRange>(availableRanges.begin(), availableRanges.end()); in fpsRangesForInputConfig()
|
D | VirtualCameraRenderThread.h | 64 std::optional<FpsRange> fpsRange;
|
D | VirtualCameraSession.cc | 150 .setControlAeTargetFpsRange(FpsRange{maxFps, maxFps}) in createDefaultRequestSettings()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.h | 120 struct FpsRange { struct
|
D | Parameters.cpp | 1079 Vector<FpsRange> supportedPreviewFpsRanges; in buildFastInfo() 1093 FpsRange fpsRange = {availableFpsRanges.data.i32[i], availableFpsRanges.data.i32[i+1]}; in buildFastInfo()
|