Searched refs:minDuration (Results 1 – 4 of 4) sorted by relevance
740 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local741 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() local758 if (minDuration == null || in getMaxPreviewSizeForFpsRange()759 minDuration == 0) { in getMaxPreviewSizeForFpsRange()767 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
544 Long minDuration = minFrameDurationMap.get(maxSize); in getFpsForMaxSize() local546 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()
1049 long minDuration = config.getOutputMinFrameDuration(format, size); in testStreamConfigurationMap() local1054 minDuration, in testStreamConfigurationMap()1055 minDuration > 0); in testStreamConfigurationMap()1058 minDuration >= 0); in testStreamConfigurationMap()1115 long minDuration = config.getOutputMinFrameDuration(SurfaceTexture.class, size); in testStreamConfigurationMap() local1120 minDuration > 0); in testStreamConfigurationMap()1123 minDuration >= 0); in testStreamConfigurationMap()
1446 long minDuration = config.getOutputMinFrameDuration(MediaRecorder.class, sz);1447 if (minDuration == 0) {1451 int maxFrameRate = (int) (1e9f / minDuration);