Home
last modified time | relevance | path

Searched refs:minDuration (Results 1 – 4 of 4) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java740 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local
741 if (minDuration == null || in getMaxPreviewSizeForFpsRange()
742 minDuration == 0) { in getMaxPreviewSizeForFpsRange()
750 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
757 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local
758 if (minDuration == null || in getMaxPreviewSizeForFpsRange()
759 minDuration == 0) { in getMaxPreviewSizeForFpsRange()
767 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java544 Long minDuration = minFrameDurationMap.get(maxSize); in getFpsForMaxSize() local
546 Log.v(TAG, "min frame duration for size " + maxSize + " is " + minDuration); in getFpsForMaxSize()
549 minDuration != null && minDuration > 0); in getFpsForMaxSize()
551 return 1e9f / minDuration; in getFpsForMaxSize()
DExtendedCameraCharacteristicsTest.java1049 long minDuration = config.getOutputMinFrameDuration(format, size); in testStreamConfigurationMap() local
1054 minDuration, in testStreamConfigurationMap()
1055 minDuration > 0); in testStreamConfigurationMap()
1058 minDuration >= 0); in testStreamConfigurationMap()
1115 long minDuration = config.getOutputMinFrameDuration(SurfaceTexture.class, size); in testStreamConfigurationMap() local
1120 minDuration > 0); in testStreamConfigurationMap()
1123 minDuration >= 0); in testStreamConfigurationMap()
DRecordingTest.java1446 long minDuration = config.getOutputMinFrameDuration(MediaRecorder.class, sz);
1447 if (minDuration == 0) {
1451 int maxFrameRate = (int) (1e9f / minDuration);