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.java700 Range<Integer> fpsRange; in previewFpsRangeTestByCamera() local
706 fpsRange = fpsRanges[i]; in previewFpsRangeTestByCamera()
712 maxPreviewSz = getMaxPreviewSizeForFpsRange(fpsRange); in previewFpsRangeTestByCamera()
715 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange); in previewFpsRangeTestByCamera()
735 verifyPreviewTargetFpsRange(resultListener, NUM_FRAMES_VERIFIED, fpsRange, in previewFpsRangeTestByCamera()
743 int numFramesVerified, Range<Integer> fpsRange, Size previewSz) { in verifyPreviewTargetFpsRange() argument
750 … new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())}; in verifyPreviewTargetFpsRange()
DCaptureRequestTest.java3024 Range<Integer> fpsRange;
3028 fpsRange = fpsRanges.get(i);
3029 Size previewSz = getMaxPreviewSizeForFpsRange(fpsRange);
3036 fpsRange));
3043 fpsRange, previewSz.toString()));
3045 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange);
3066 (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.java530 for (Range<Integer> fpsRange : highSpeedFpsRanges) { in verifyRecommendedVideoConfiguration()
533 fpsRange.getLower().intValue(), fpsRange.getUpper().intValue(), in verifyRecommendedVideoConfiguration()
534 cameraId), availableHighSpeedFpsRanges, fpsRange); in verifyRecommendedVideoConfiguration()
DStillCaptureTest.java1542 Range<Integer> fpsRange = request.get(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE); in getMaxExposureValue() local
1543 long maxFrameDurationUs = Math.round(1000000.0 / fpsRange.getLower()); in getMaxExposureValue()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java823 protected Size getMaxPreviewSizeForFpsRange(Range<Integer> fpsRange) { in getMaxPreviewSizeForFpsRange() argument
824 if (fpsRange == null || fpsRange.getLower() <= 0 || fpsRange.getUpper() <= 0) { in getMaxPreviewSizeForFpsRange()
833 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 …]