Home
last modified time | relevance | path

Searched refs:maxFps (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/av/services/camera/virtualcamera/util/
DUtil.h119 ::aidl::android::companion::virtualcamera::Format format, int maxFps);
149 int32_t maxFps; member
152 return maxFps == other.maxFps ? minFps < other.minFps
153 : maxFps < other.maxFps;
DUtil.cc134 const Format format, const int maxFps) { in isFormatSupportedForInput() argument
145 if (maxFps <= 0 || maxFps > kMaxFpsUpperLimit) { in isFormatSupportedForInput()
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraDevice.cc135 {.minFps = VirtualCameraDevice::kMinFps, .maxFps = config.maxFps}); in fpsRangesForInputConfig()
136 availableRanges.insert({.minFps = config.maxFps, .maxFps = config.maxFps}); in fpsRangesForInputConfig()
141 return config.maxFps >= k30Fps; in fpsRangesForInputConfig()
146 {.minFps = VirtualCameraDevice::kMinFps, .maxFps = k30Fps}); in fpsRangesForInputConfig()
147 availableRanges.insert({.minFps = k30Fps, .maxFps = k30Fps}); in fpsRangesForInputConfig()
180 resolutionToMaxFpsMap[resolution] = config.maxFps; in getResolutionToMaxFpsMap()
183 resolutionToMaxFpsMap[resolution] = std::max(currentMaxFps, config.maxFps); in getResolutionToMaxFpsMap()
191 for (const auto& [resolution, maxFps] : resolutionToMaxFpsMap) { in getResolutionToMaxFpsMap()
207 additionalResolutionToMaxFpsMap[outputResolution] = maxFps; in getResolutionToMaxFpsMap()
229 config.maxFps); in initCameraCharacteristics()
[all …]
DVirtualCameraSession.cc135 [](const SupportedStreamConfiguration& config) { return config.maxFps; }); in getMaxFps()
141 int maxFps = getMaxFps(inputConfigs); in createDefaultRequestSettings() local
150 .setControlAeTargetFpsRange(FpsRange{maxFps, maxFps}) in createDefaultRequestSettings()
/frameworks/av/services/camera/libcameraservice/utils/
DSessionStatsBuilder.cpp59 int32_t minFps = 0, maxFps = 0; in buildAndReset() local
68 maxFps = mostCommonIt->first & 0xFFFF'FFFFU; in buildAndReset()
70 *mostRequestedFpsRange = std::make_pair(minFps, maxFps); in buildAndReset()
144 void SessionStatsBuilder::incFpsRequestedCount(int32_t minFps, int32_t maxFps, in incFpsRequestedCount() argument
150 currentFpsTarget = currentFpsTarget << 32 | maxFps; in incFpsRequestedCount()
DSessionStatsBuilder.h87 void incFpsRequestedCount(int32_t minFps, int32_t maxFps, int64_t frameNumber);
/frameworks/av/services/camera/virtualcamera/tests/
DVirtualCameraSessionTest.cc156 .maxFps = kMaxFps}, in SetUp()
161 .maxFps = kMaxFps}}, in SetUp()
333 .maxFps = kMaxFps}, in TEST_F()
337 .maxFps = kMaxFps}}); in TEST_F()
361 .maxFps = kMaxFps}, in TEST_F()
365 .maxFps = kMaxFps}}); in TEST_F()
388 .maxFps = kMaxFps}, in TEST_F()
392 .maxFps = kMaxFps}}); in TEST_F()
432 .maxFps = kMaxFps}, in TEST_F()
436 .maxFps = kMaxFps}}); in TEST_F()
DVirtualCameraDeviceTest.cc174 .maxFps = kMaxFps}},
215 .maxFps = kMaxFps},
220 .maxFps = kMaxFps}},
301 .maxFps = kMaxFps}}, in SetUp()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockDisplayModeSpecs.h27 float maxFps) { in createDisplayModeSpecs() argument
32 specs.primaryRanges.physical.max = maxFps; in createDisplayModeSpecs()
/frameworks/native/libs/nativedisplay/
DADisplay.cpp226 float maxFps = 0.0; in ADisplay_getMaxSupportedFps() local
228 maxFps = std::max(maxFps, impl->configs[i].fps); in ADisplay_getMaxSupportedFps()
230 return maxFps; in ADisplay_getMaxSupportedFps()
/frameworks/av/media/libmedia/omx/1.0/
DWGraphicBufferSource.cpp51 BnStatus LWGraphicBufferSource::setMaxFps(float maxFps) { in setMaxFps() argument
52 return toBinderStatus(mBase->setMaxFps(maxFps)); in setMaxFps()
/frameworks/av/camera/tests/fuzzer/
Dcamera_Parameters_fuzzer.cpp64 int32_t maxFps = mFDP->ConsumeIntegral<int32_t>(); in initCameraParameters() local
71 params += '=' + to_string(minFps) + ',' + to_string(maxFps) + ';'; in initCameraParameters()
218 int32_t maxFps = mFDP->ConsumeIntegral<int32_t>(); in callCameraParametersAPIs() local
219 mCameraParameters2->setPreviewFpsRange(minFps, maxFps); in callCameraParametersAPIs()
/frameworks/base/core/java/android/companion/virtual/camera/
DVirtualCameraStreamConfig.java64 @IntRange(from = 1) int maxFps) { in VirtualCameraStreamConfig()
68 this.mMaxFps = maxFps; in VirtualCameraStreamConfig()
/frameworks/av/services/camera/virtualcamera/aidl/android/companion/virtualcamera/
DSupportedStreamConfiguration.aidl30 int maxFps;
/frameworks/av/media/libmedia/aidl/android/
DIGraphicBufferSource.aidl30 void setMaxFps(float maxFps); in setMaxFps() argument
/frameworks/av/media/module/aidlpersistentsurface/aidl/android/media/
DIAidlGraphicBufferSource.aidl33 void setMaxFps(float maxFps); in setMaxFps() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/camera/
DVirtualCameraControllerTest.java212 int maxFps, int sensorOrientation, int lensFacing) { in assertVirtualCameraConfiguration() argument
216 assertThat(configuration.supportedStreamConfigs[0].maxFps).isEqualTo(maxFps); in assertVirtualCameraConfiguration()
/frameworks/av/media/codec2/sfplugin/
DOmx2IGraphicBufferSource.cpp104 BnStatus Omx2IGraphicBufferSource::setMaxFps(float maxFps) { in setMaxFps() argument
105 return BnStatus::fromStatusT(mBase->setMaxFps(maxFps)); in setMaxFps()
DOmx2IGraphicBufferSource.h34 BnStatus setMaxFps(float maxFps) override;
/frameworks/base/core/java/android/hardware/
DCameraSessionStats.java199 int maxFps = in.readInt(); in readFromParcel() local
200 mMostRequestedFpsRange = new Range<Integer>(minFps, maxFps); in readFromParcel()
/frameworks/av/media/module/aidlpersistentsurface/wrapper/
DWAidlGraphicBufferSource.cpp190 ::ndk::ScopedAStatus WAidlGraphicBufferSource::setMaxFps(float maxFps) { in setMaxFps() argument
191 return toAidlStatus(mBase->setMaxFps(maxFps)); in setMaxFps()
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp221 const int maxFps = mFpsRange.max.getIntValue(); in getOrCreateBuffers() local
225 const int refreshIntFps = std::clamp(refreshRate.getIntValue(), 0, maxFps); in getOrCreateBuffers()
227 const float fpsScale = static_cast<float>(refreshIntFps) / maxFps; in getOrCreateBuffers()
/frameworks/av/media/module/aidlpersistentsurface/include/media/stagefright/aidlpersistentsurface/wrapper/
DWAidlGraphicBufferSource.h49 ::ndk::ScopedAStatus setMaxFps(float maxFps) override;
/frameworks/av/media/libstagefright/omx/1.0/
DWGraphicBufferSource.cpp224 Return<Status> TWGraphicBufferSource::setMaxFps(float maxFps) { in setMaxFps() argument
225 return toStatus(mBase->setMaxFps(maxFps)); in setMaxFps()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWGraphicBufferSource.h73 BnStatus setMaxFps(float maxFps) override;

12