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.java835 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local
836 if (minDuration == null || in getMaxPreviewSizeForFpsRange()
837 minDuration == 0) { in getMaxPreviewSizeForFpsRange()
845 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
852 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local
853 if (minDuration == null || in getMaxPreviewSizeForFpsRange()
854 minDuration == 0) { in getMaxPreviewSizeForFpsRange()
862 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java550 Long minDuration = minFrameDurationMap.get(maxSize); in getFpsForMaxSize() local
552 Log.v(TAG, "min frame duration for size " + maxSize + " is " + minDuration); in getFpsForMaxSize()
555 minDuration != null && minDuration > 0); in getFpsForMaxSize()
557 return 1e9f / minDuration; in getFpsForMaxSize()
DExtendedCameraCharacteristicsTest.java1835 long minDuration = config.getOutputMinFrameDuration(format, size); in testStreamConfigurationMap() local
1840 minDuration, in testStreamConfigurationMap()
1841 minDuration > 0); in testStreamConfigurationMap()
1844 minDuration >= 0); in testStreamConfigurationMap()
1901 long minDuration = config.getOutputMinFrameDuration(SurfaceTexture.class, size); in testStreamConfigurationMap() local
1906 minDuration > 0); in testStreamConfigurationMap()
1909 minDuration >= 0); in testStreamConfigurationMap()
DRecordingTest.java2062 long minDuration = config.getOutputMinFrameDuration(MediaRecorder.class, sz);
2063 if (minDuration == 0) {
2067 int maxFrameRate = (int) (1e9f / minDuration);