Home
last modified time | relevance | path

Searched refs:fpsRange (Results 1 – 8 of 8) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java384 Range<Integer> fpsRange = getHighestHighSpeedFixedFpsRangeForSize(config, size); in testAbandonedHighSpeedRequest() local
386 "size " + size, fpsRange); in testAbandonedHighSpeedRequest()
387 if (fpsRange == null) { in testAbandonedHighSpeedRequest()
391 int captureRate = fpsRange.getLower(); in testAbandonedHighSpeedRequest()
394 if (fpsRange.getUpper() > getFpsFromHighSpeedProfileForSize(size)) { in testAbandonedHighSpeedRequest()
417 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest()
449 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in testAbandonedHighSpeedRequest()
584 Range<Integer> fpsRange = null; in videoPreviewSurfaceSharingTestByCamera() local
599 fpsRange = Range.create(minFps, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
611 /*useVideoStab*/false, fpsRange)) { in videoPreviewSurfaceSharingTestByCamera()
[all …]
DSurfaceViewPreviewTest.java694 Range<Integer> fpsRange; in previewFpsRangeTestByCamera() local
700 fpsRange = fpsRanges[i]; in previewFpsRangeTestByCamera()
706 maxPreviewSz = getMaxPreviewSizeForFpsRange(fpsRange); in previewFpsRangeTestByCamera()
709 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in previewFpsRangeTestByCamera()
729 verifyPreviewTargetFpsRange(resultListener, NUM_FRAMES_VERIFIED, fpsRange, in previewFpsRangeTestByCamera()
737 int numFramesVerified, Range<Integer> fpsRange, Size previewSz) { in verifyPreviewTargetFpsRange() argument
744 … new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in verifyPreviewTargetFpsRange()
DCaptureRequestTest.java2890 Range<Integer> fpsRange;
2894 fpsRange = fpsRanges.get(i);
2895 Size previewSz = getMaxPreviewSizeForFpsRange(fpsRange);
2902 fpsRange));
2909 fpsRange, previewSz.toString()));
2911 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange);
2932 (long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())};
DCameraDeviceTest.java1905 Range<Integer> fpsRange; in checkFpsRange() local
1906 if ((fpsRange = mCollector.expectKeyValueNotNull(request, fpsRangeKey)) == null) { in checkFpsRange()
1910 int minFps = fpsRange.getLower(); in checkFpsRange()
1911 int maxFps = fpsRange.getUpper(); in checkFpsRange()
DExtendedCameraCharacteristicsTest.java527 for (Range<Integer> fpsRange : highSpeedFpsRanges) { in verifyRecommendedVideoConfiguration()
530 fpsRange.getLower().intValue(), fpsRange.getUpper().intValue(), in verifyRecommendedVideoConfiguration()
531 cameraId), availableHighSpeedFpsRanges, fpsRange); in verifyRecommendedVideoConfiguration()
DStillCaptureTest.java1467 Range<Integer> fpsRange = request.get(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE); in getMaxExposureValue() local
1468 long maxFrameDurationUs = Math.round(1000000.0 / fpsRange.getLower()); in getMaxExposureValue()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java815 protected Size getMaxPreviewSizeForFpsRange(Range<Integer> fpsRange) { in getMaxPreviewSizeForFpsRange() argument
816 if (fpsRange == null || fpsRange.getLower() <= 0 || fpsRange.getUpper() <= 0) { in getMaxPreviewSizeForFpsRange()
825 new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in getMaxPreviewSizeForFpsRange()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1913 for (Range<Integer> fpsRange : fpsRanges) { in getTargetFpsRangesUpTo30()
1914 if (fpsRange.getUpper() <= 30) { in getTargetFpsRangesUpTo30()
1915 fpsRangesUpTo30.add(fpsRange); in getTargetFpsRangesUpTo30()
1930 for (Range<Integer> fpsRange : fpsRanges) { in getTargetFpsRangesGreaterThan30()
1931 if (fpsRange.getUpper() > 30) { in getTargetFpsRangesGreaterThan30()
1932 fpsRangesGreaterThan30.add(fpsRange); in getTargetFpsRangesGreaterThan30()
2949 for (Range<Integer> fpsRange : fpsRanges) { in getSuitableFpsRangeForDuration()
2950 if (fpsRange.getLower() == minBurstFps && fpsRange.getUpper() == minBurstFps) { in getSuitableFpsRangeForDuration()
2952 targetRange = fpsRange; in getSuitableFpsRangeForDuration()
2953 } else if (isExternalCamera && fpsRange.getUpper() == minBurstFps) { in getSuitableFpsRangeForDuration()
[all …]