Searched refs:minDuration (Results 1 – 4 of 4) sorted by relevance
835 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local836 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() local853 if (minDuration == null || in getMaxPreviewSizeForFpsRange()854 minDuration == 0) { in getMaxPreviewSizeForFpsRange()862 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
550 Long minDuration = minFrameDurationMap.get(maxSize); in getFpsForMaxSize() local552 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()
1835 long minDuration = config.getOutputMinFrameDuration(format, size); in testStreamConfigurationMap() local1840 minDuration, in testStreamConfigurationMap()1841 minDuration > 0); in testStreamConfigurationMap()1844 minDuration >= 0); in testStreamConfigurationMap()1901 long minDuration = config.getOutputMinFrameDuration(SurfaceTexture.class, size); in testStreamConfigurationMap() local1906 minDuration > 0); in testStreamConfigurationMap()1909 minDuration >= 0); in testStreamConfigurationMap()
2062 long minDuration = config.getOutputMinFrameDuration(MediaRecorder.class, sz);2063 if (minDuration == 0) {2067 int maxFrameRate = (int) (1e9f / minDuration);