Home
last modified time | relevance | path

Searched refs:minDiff (Results 1 – 11 of 11) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DSonic.java55 private int minDiff; field in Sonic
151 minDiff = 0; in flush()
229 int minDiff = 1; in findPitchPeriodInRange() local
242 if (diff * bestPeriod < minDiff * period) { in findPitchPeriodInRange()
243 minDiff = diff; in findPitchPeriodInRange()
251 this.minDiff = minDiff / bestPeriod; in findPitchPeriodInRange()
260 private boolean previousPeriodBetter(int minDiff, int maxDiff) { in previousPeriodBetter() argument
261 if (minDiff == 0 || prevPeriod == 0) { in previousPeriodBetter()
264 if (maxDiff > minDiff * 3) { in previousPeriodBetter()
268 if (minDiff * 2 <= prevMinDiff * 3) { in previousPeriodBetter()
[all …]
/external/sonic/
DSonic.java522 int minDiff = 1, maxDiff = 0; in findPitchPeriodInRange() local
535 if(diff*bestPeriod < minDiff*period) { in findPitchPeriodInRange()
536 minDiff = diff; in findPitchPeriodInRange()
544 retMinDiff = minDiff/bestPeriod; in findPitchPeriodInRange()
553 int minDiff, in prevPeriodBetter() argument
557 if(minDiff == 0 || prevPeriod == 0) { in prevPeriodBetter()
561 if(maxDiff > minDiff*3) { in prevPeriodBetter()
565 if(minDiff*2 <= prevMinDiff*3) { in prevPeriodBetter()
570 if(minDiff <= prevMinDiff) { in prevPeriodBetter()
586 Integer minDiff = new Integer(0); in findPitchPeriod() local
[all …]
Dsonic.c619 unsigned long diff, minDiff = 1, maxDiff = 0; in findPitchPeriodInRange() local
635 if(diff*bestPeriod < minDiff*period) { in findPitchPeriodInRange()
636 minDiff = diff; in findPitchPeriodInRange()
644 *retMinDiff = minDiff/bestPeriod; in findPitchPeriodInRange()
654 int minDiff, in prevPeriodBetter() argument
658 if(minDiff == 0 || stream->prevPeriod == 0) { in prevPeriodBetter()
662 if(maxDiff > minDiff*3) { in prevPeriodBetter()
666 if(minDiff*2 <= stream->prevMinDiff*3) { in prevPeriodBetter()
671 if(minDiff <= stream->prevMinDiff) { in prevPeriodBetter()
690 int minDiff, maxDiff, retPeriod; in findPitchPeriod() local
[all …]
/external/freetype/src/psaux/
Dpsblues.c285 CF2_Fixed minDiff; in cf2_blues_init() local
297 minDiff = CF2_FIXED_MAX; in cf2_blues_init()
306 if ( diff < minDiff && diff < csUnitsPerPixel ) in cf2_blues_init()
309 minDiff = diff; in cf2_blues_init()
324 if ( diff < minDiff && diff < csUnitsPerPixel ) in cf2_blues_init()
335 minDiff = CF2_FIXED_MAX; in cf2_blues_init()
347 if ( diff < minDiff && diff < csUnitsPerPixel ) in cf2_blues_init()
350 minDiff = diff; in cf2_blues_init()
/external/swiftshader/third_party/marl/tools/cmd/benchdiff/
Dmain.go34minDiff = flag.Duration("min-diff", time.Microsecond*10, "Filter away time diffs less than this… var
120 if absDiff < *minDiff {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java55 BigInteger minDiff = ONE.shiftLeft(mindiffbits); in generateKeyPair() local
74 if (diff.bitLength() < mindiffbits || diff.compareTo(minDiff) <= 0) in generateKeyPair()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java57 BigInteger minDiff = ONE.shiftLeft(mindiffbits); in generateKeyPair() local
76 if (diff.bitLength() < mindiffbits || diff.compareTo(minDiff) <= 0) in generateKeyPair()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java57 BigInteger minDiff = ONE.shiftLeft(mindiffbits); in generateKeyPair() local
76 if (diff.bitLength() < mindiffbits || diff.compareTo(minDiff) <= 0) in generateKeyPair()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp1587 const T minDiff = minValue<T>() > minQuadSize in createQuads() local
1600 x1 = roundTo(minDiff, getRandom<T>(rnd, min, max)); in createQuads()
1601 x2 = roundTo(minDiff, getRandom<T>(rnd, minDiff, abs<T>(max - x1))); in createQuads()
1603 y1 = roundTo(minDiff, getRandom<T>(rnd, min, max)); in createQuads()
1604 y2 = roundTo(minDiff, getRandom<T>(rnd, minDiff, abs<T>(max - y1))); in createQuads()
1606 z = (componentCount > 2) ? roundTo(minDiff, (getRandom<T>(rnd, min, max))) : (T::create(0)); in createQuads()
1607 w = (componentCount > 3) ? roundTo(minDiff, (getRandom<T>(rnd, min, max))) : (T::create(1)); in createQuads()
1614 …if ((deFloatAbs(x2.template to<float>() + z.template to<float>()) < minDiff.template to<float>()) … in createQuads()
1615 (deFloatAbs(y2.template to<float>() + w.template to<float>()) < minDiff.template to<float>())) in createQuads()
/external/aac/libAACdec/src/
Dconceal.cpp1266 FIXP_SGL minDiff = (FIXP_SGL)MAXVAL_SGL; in findEquiFadeFrame() local
1292 if (diff < minDiff) { in findEquiFadeFrame()
1293 minDiff = diff; in findEquiFadeFrame()
/external/llvm-project/mlir/lib/Analysis/
DAffineStructures.cpp2184 Optional<int64_t> minDiff = None; in getConstantBoundOnDimSize() local
2204 if (minDiff == None || diff < minDiff) { in getConstantBoundOnDimSize()
2205 minDiff = diff; in getConstantBoundOnDimSize()
2211 if (lb && minDiff.hasValue()) { in getConstantBoundOnDimSize()
2239 return minDiff; in getConstantBoundOnDimSize()