Home
last modified time | relevance | path

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

/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/cff/
Dcf2blues.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/pdfium/third_party/freetype/src/cff/
Dcf2blues.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/aac/libAACdec/src/
Dconceal.cpp1454 FIXP_SGL minDiff = (FIXP_SGL)MAXVAL_SGL; in findEquiFadeFrame() local
1476 if (diff < minDiff) { in findEquiFadeFrame()
1477 minDiff = diff; in findEquiFadeFrame()