Lines Matching refs:cutoff
538 register unsigned int i, lowmax, highmax, cutoff, span; in cvt_rawdcf() local
567 cutoff = 0; in cvt_rawdcf()
592 cutoff += i; in cvt_rawdcf()
614 cutoff /= lowmax; in cvt_rawdcf()
618 … cutoff = 4; /* doesn't really matter - it'll fail anyway, but gives error output */ in cvt_rawdcf()
621 DPRINTF(("parse: cvt_rawdcf: average bit count: %d\n", cutoff)); in cvt_rawdcf()
630 for (i = 0; i <= cutoff; i++) in cvt_rawdcf()
658 cutoff = 0; /* bitcount */ in cvt_rawdcf()
666 cutoff +=histbuf[i]; in cvt_rawdcf()
674 if (cutoff) in cvt_rawdcf()
676 highmax /= cutoff; in cvt_rawdcf()
693 span = cutoff = lowmax; in cvt_rawdcf()
696 if (histbuf[cutoff] > histbuf[i]) in cvt_rawdcf()
702 cutoff = span = i; in cvt_rawdcf()
705 if (histbuf[cutoff] == histbuf[i]) in cvt_rawdcf()
719 cutoff = (cutoff + span) / 2; in cvt_rawdcf()
721 …(("parse: cvt_rawdcf: lower maximum %d, higher maximum %d, cutoff %d\n", lowmax, highmax, cutoff)); in cvt_rawdcf()
741 *s = (*s >= cutoff) ? *b : *c; in cvt_rawdcf()