Lines Matching refs:maxDiff
522 int minDiff = 1, maxDiff = 0; in findPitchPeriodInRange() local
539 if(diff*worstPeriod > maxDiff*period) { in findPitchPeriodInRange()
540 maxDiff = diff; in findPitchPeriodInRange()
545 retMaxDiff = maxDiff/worstPeriod; in findPitchPeriodInRange()
554 int maxDiff, in prevPeriodBetter() argument
561 if(maxDiff > minDiff*3) { in prevPeriodBetter()
587 Integer maxDiff = new Integer(0); in findPitchPeriod() local
595 … period = findPitchPeriodInRange(samples, position, minPeriod, maxPeriod, minDiff, maxDiff); in findPitchPeriod()
599 maxPeriod/skip, minDiff, maxDiff); in findPitchPeriod()
611 … period = findPitchPeriodInRange(samples, position, minP, maxP, minDiff, maxDiff); in findPitchPeriod()
614 … period = findPitchPeriodInRange(downSampleBuffer, 0, minP, maxP, minDiff, maxDiff); in findPitchPeriod()
618 if(prevPeriodBetter(period, minDiff, maxDiff, preferNewPeriod)) { in findPitchPeriod()