Lines Matching refs:cutoff
536 register unsigned int i, lowmax, highmax, cutoff, span; in cvt_rawdcf() local
565 cutoff = 0; in cvt_rawdcf()
590 cutoff += i; in cvt_rawdcf()
612 cutoff /= lowmax; in cvt_rawdcf()
616 cutoff = 4; /* doesn't really matter - it'll fail anyway, but gives error output */ in cvt_rawdcf()
619 DPRINTF(("parse: cvt_rawdcf: average bit count: %d\n", cutoff)); in cvt_rawdcf()
628 for (i = 0; i <= cutoff; i++) in cvt_rawdcf()
656 cutoff = 0; /* bitcount */ in cvt_rawdcf()
664 cutoff +=histbuf[i]; in cvt_rawdcf()
672 if (cutoff) in cvt_rawdcf()
674 highmax /= cutoff; in cvt_rawdcf()
691 span = cutoff = lowmax; in cvt_rawdcf()
694 if (histbuf[cutoff] > histbuf[i]) in cvt_rawdcf()
700 cutoff = span = i; in cvt_rawdcf()
703 if (histbuf[cutoff] == histbuf[i]) in cvt_rawdcf()
717 cutoff = (cutoff + span) / 2; in cvt_rawdcf()
719 …(("parse: cvt_rawdcf: lower maximum %d, higher maximum %d, cutoff %d\n", lowmax, highmax, cutoff)); in cvt_rawdcf()
739 *s = (*s >= cutoff) ? *b : *c; in cvt_rawdcf()