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.java772 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local
773 if (minDuration == null || in getMaxPreviewSizeForFpsRange()
774 minDuration == 0) { in getMaxPreviewSizeForFpsRange()
782 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
789 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local
790 if (minDuration == null || in getMaxPreviewSizeForFpsRange()
791 minDuration == 0) { in getMaxPreviewSizeForFpsRange()
799 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java540 Long minDuration = minFrameDurationMap.get(maxSize); in getFpsForMaxSize() local
542 Log.v(TAG, "min frame duration for size " + maxSize + " is " + minDuration); in getFpsForMaxSize()
545 minDuration != null && minDuration > 0); in getFpsForMaxSize()
547 return 1e9f / minDuration; in getFpsForMaxSize()
DExtendedCameraCharacteristicsTest.java1048 long minDuration = config.getOutputMinFrameDuration(format, size); in testStreamConfigurationMap() local
1053 minDuration, in testStreamConfigurationMap()
1054 minDuration > 0); in testStreamConfigurationMap()
1057 minDuration >= 0); in testStreamConfigurationMap()
1114 long minDuration = config.getOutputMinFrameDuration(SurfaceTexture.class, size); in testStreamConfigurationMap() local
1119 minDuration > 0); in testStreamConfigurationMap()
1122 minDuration >= 0); in testStreamConfigurationMap()
DRecordingTest.java1629 long minDuration = config.getOutputMinFrameDuration(MediaRecorder.class, sz);
1630 if (minDuration == 0) {
1634 int maxFrameRate = (int) (1e9f / minDuration);