Searched refs:targetExtent (Results 1 – 2 of 2) sorted by relevance
55 public static int findOptimalSampleSize(int originalSmallerExtent, int targetExtent) { in findOptimalSampleSize() argument57 if (targetExtent < 1) { in findOptimalSampleSize()71 while ((extent >> 1) >= targetExtent * 0.8f) { in findOptimalSampleSize()
58 public static int findOptimalSampleSize(int originalSmallerExtent, int targetExtent) { in findOptimalSampleSize() argument60 if (targetExtent < 1) return 1; in findOptimalSampleSize()70 while ((extent >> 1) >= targetExtent * 0.8f) { in findOptimalSampleSize()