Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java780 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local
781 if (minDuration == null || in getMaxPreviewSizeForFpsRange()
782 minDuration == 0) { in getMaxPreviewSizeForFpsRange()
790 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
797 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local
798 if (minDuration == null || in getMaxPreviewSizeForFpsRange()
799 minDuration == 0) { in getMaxPreviewSizeForFpsRange()
807 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
/cts/tests/camera/src/android/hardware/camera2/cts/
DStaticMetadataTest.java548 Long minDuration = minFrameDurationMap.get(maxSize); in getFpsForMaxSize() local
550 Log.v(TAG, "min frame duration for size " + maxSize + " is " + minDuration); in getFpsForMaxSize()
553 minDuration != null && minDuration > 0); in getFpsForMaxSize()
555 return 1e9f / minDuration; in getFpsForMaxSize()
DRobustnessTest.java1424 Long minDuration = e.getValue(); in MaxStreamSizes() local
1425 …Log.d(TAG, String.format("Priv Size: %s, duration %d limit %d", s, minDuration, FRAME_DURATION_30F… in MaxStreamSizes()
1426 if (minDuration <= FRAME_DURATION_30FPS_NSEC) { in MaxStreamSizes()
1440 Long minDuration = e.getValue(); in MaxStreamSizes() local
1441 …Log.d(TAG, String.format("YUV Size: %s, duration %d limit %d", s, minDuration, FRAME_DURATION_30FP… in MaxStreamSizes()
1442 if (minDuration <= FRAME_DURATION_30FPS_NSEC) { in MaxStreamSizes()
1455 Long minDuration = e.getValue(); in MaxStreamSizes() local
1456 …Log.d(TAG, String.format("JPEG Size: %s, duration %d limit %d", s, minDuration, FRAME_DURATION_30F… in MaxStreamSizes()
1457 if (minDuration <= FRAME_DURATION_30FPS_NSEC) { in MaxStreamSizes()
DExtendedCameraCharacteristicsTest.java1145 long minDuration = config.getOutputMinFrameDuration(format, size); in testStreamConfigurationMap() local
1150 minDuration, in testStreamConfigurationMap()
1151 minDuration > 0); in testStreamConfigurationMap()
1154 minDuration >= 0); in testStreamConfigurationMap()
1211 long minDuration = config.getOutputMinFrameDuration(SurfaceTexture.class, size); in testStreamConfigurationMap() local
1216 minDuration > 0); in testStreamConfigurationMap()
1219 minDuration >= 0); in testStreamConfigurationMap()
DRecordingTest.java1905 long minDuration = config.getOutputMinFrameDuration(MediaRecorder.class, sz);
1906 if (minDuration == 0) {
1910 int maxFrameRate = (int) (1e9f / minDuration);