Searched refs:minDuration (Results 1 – 4 of 4) sorted by relevance
772 Long minDuration = mMinPreviewFrameDurationMap.get(size); in getMaxPreviewSizeForFpsRange() local773 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() local790 if (minDuration == null || in getMaxPreviewSizeForFpsRange()791 minDuration == 0) { in getMaxPreviewSizeForFpsRange()799 if (minDuration <= (frameDurationRange[0] + MIN_FRAME_DURATION_ERROR_MARGIN)) { in getMaxPreviewSizeForFpsRange()
540 Long minDuration = minFrameDurationMap.get(maxSize); in getFpsForMaxSize() local542 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()
1048 long minDuration = config.getOutputMinFrameDuration(format, size); in testStreamConfigurationMap() local1053 minDuration, in testStreamConfigurationMap()1054 minDuration > 0); in testStreamConfigurationMap()1057 minDuration >= 0); in testStreamConfigurationMap()1114 long minDuration = config.getOutputMinFrameDuration(SurfaceTexture.class, size); in testStreamConfigurationMap() local1119 minDuration > 0); in testStreamConfigurationMap()1122 minDuration >= 0); in testStreamConfigurationMap()
1629 long minDuration = config.getOutputMinFrameDuration(MediaRecorder.class, sz);1630 if (minDuration == 0) {1634 int maxFrameRate = (int) (1e9f / minDuration);