/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | SurfaceUtils.java | 238 Range<Integer> fpsRange, StreamConfigurationMap config) { in checkConstrainedHighSpeedSurfaces() argument 245 if (fpsRange == null) { in checkConstrainedHighSpeedSurfaces() 250 if(!Arrays.asList(highSpeedFpsRanges).contains(fpsRange)) { in checkConstrainedHighSpeedSurfaces() 251 throw new IllegalArgumentException("Fps range " + fpsRange.toString() + " in the" in checkConstrainedHighSpeedSurfaces() 255 highSpeedSizes = Arrays.asList(config.getHighSpeedVideoSizesFor(fpsRange)); in checkConstrainedHighSpeedSurfaces()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 228 for (Range<Integer> fpsRange : fixedFpsRanges) { in constrainedHighSpeedRecording() 229 int captureRate = fpsRange.getLower(); in constrainedHighSpeedRecording() 232 if (fpsRange.getUpper() > getFpsFromHighSpeedProfileForSize(size)) { in constrainedHighSpeedRecording() 249 captureRate, fpsRange, resultListener, in constrainedHighSpeedRecording() 310 int captureRate, Range<Integer> fpsRange, in startSlowMotionRecording() argument 330 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in startSlowMotionRecording() 352 recordingRequestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in startSlowMotionRecording() 355 recordingOnlyBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in startSlowMotionRecording() 395 Range<Integer> fpsRange = new Range(profile.videoFrameRate, profile.videoFrameRate); in basicRecordingTestByCamera() local 408 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId + in basicRecordingTestByCamera() [all …]
|
D | Camera2SwitchPreviewTest.java | 353 Range<Integer> fpsRange = new Range(profile.videoFrameRate, profile.videoFrameRate); in basicRecordingPreviewTestByCamera() local 366 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId + in basicRecordingPreviewTestByCamera() 368 fpsRanges.contains(fpsRange)); in basicRecordingPreviewTestByCamera()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 96 Range<Integer> fpsRange = request.get(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE); in createHighSpeedRequestList() local 99 SurfaceUtils.checkConstrainedHighSpeedSurfaces(outputSurfaces, fpsRange, config); in createHighSpeedRequestList() 121 int requestListSize = fpsRange.getUpper() / previewFps; in createHighSpeedRequestList() 123 if (fpsRange.getUpper() > fpsRange.getLower()) { in createHighSpeedRequestList()
|
D | CameraOfflineSessionImpl.java | 257 final Range<Integer> fpsRange = in onCaptureStarted() 264 NANO_PER_SECOND/fpsRange.getUpper(); in onCaptureStarted() 373 final Range<Integer> fpsRange = in onResultReceived() local 392 NANO_PER_SECOND/fpsRange.getUpper()); in onResultReceived()
|
D | CameraDeviceImpl.java | 2085 final Range<Integer> fpsRange = in onCaptureStarted() 2092 NANO_PER_SECOND / fpsRange.getUpper(), in onCaptureStarted() 2099 NANO_PER_SECOND / fpsRange.getUpper(), in onCaptureStarted() 2237 final Range<Integer> fpsRange = in onResultReceived() local 2254 NANO_PER_SECOND/fpsRange.getUpper()); in onResultReceived()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2Capabilities.java | 46 for (Range<Integer> fpsRange : p.get(CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES)) { in AndroidCamera2Capabilities() 47 mSupportedPreviewFpsRange.add(new int[] { fpsRange.getLower(), fpsRange.getUpper() }); in AndroidCamera2Capabilities()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 730 protected Size getMaxPreviewSizeForFpsRange(Range<Integer> fpsRange) { in getMaxPreviewSizeForFpsRange() argument 731 if (fpsRange == null || fpsRange.getLower() <= 0 || fpsRange.getUpper() <= 0) { in getMaxPreviewSizeForFpsRange() 740 new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in getMaxPreviewSizeForFpsRange()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfigurationMap.java | 317 Range<Integer> fpsRange = config.getFpsRange(); in StreamConfigurationMap() local 323 Integer sizeCount = mHighSpeedVideoFpsRangeMap.get(fpsRange); in StreamConfigurationMap() 327 mHighSpeedVideoFpsRangeMap.put(fpsRange, sizeCount + 1); in StreamConfigurationMap() 817 public Size[] getHighSpeedVideoSizesFor(Range<Integer> fpsRange) { in getHighSpeedVideoSizesFor() argument 818 Integer sizeCount = mHighSpeedVideoFpsRangeMap.get(fpsRange); in getHighSpeedVideoSizesFor() 821 "FpsRange %s does not support high speed video recording", fpsRange)); in getHighSpeedVideoSizesFor() 827 if (fpsRange.equals(config.getFpsRange())) { in getHighSpeedVideoSizesFor()
|
D | RecommendedStreamConfigurationMap.java | 386 public @Nullable Set<Size> getHighSpeedVideoSizesFor(@NonNull Range<Integer> fpsRange) { in getHighSpeedVideoSizesFor() argument 387 return getUnmodifiableSizeSet(mRecommendedMap.getHighSpeedVideoSizesFor(fpsRange)); in getHighSpeedVideoSizesFor()
|
/frameworks/native/services/surfaceflinger/ |
D | RefreshRateOverlay.cpp | 231 RefreshRateOverlay::RefreshRateOverlay(FpsRange fpsRange, bool showSpinner) in RefreshRateOverlay() argument 232 : mFpsRange(fpsRange), in RefreshRateOverlay()
|
D | DisplayDevice.cpp | 487 const auto fpsRange = mRefreshRateConfigs->getSupportedRefreshRateRange(); in enableRefreshRateOverlay() local 488 mRefreshRateOverlay = std::make_unique<RefreshRateOverlay>(fpsRange, showSpinnner); in enableRefreshRateOverlay()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 1086 FpsRange fpsRange = {availableFpsRanges.data.i32[i], availableFpsRanges.data.i32[i+1]}; in buildFastInfo() local 1087 supportedPreviewFpsRanges.add(fpsRange); in buildFastInfo() 1415 const char *fpsRange, *fpsSingle; in set() local 1418 fpsRange = newParams.get(CameraParameters::KEY_PREVIEW_FPS_RANGE); in set() 1425 if (fpsRange == NULL && fpsSingle == NULL) { in set() 1430 } else if (fpsRange == NULL) { in set()
|