Searched refs:bestca (Results 1 – 1 of 1) sorted by relevance
1958 signed bestca, rca; /* both must fit into -255..255 */ in bmp_compress1_row() local1983 bestca=rca=-1; /* best and current advantage of c over r */ in bmp_compress1_row()1987 BMP_ASSERT(-255<=bestca && bestca<=255); in bmp_compress1_row()1992 …if (rca<=bestca-1) { r--; break; } /* fix-5 (instead of rule-4): `xyz|bbbbb|xyz|', `abcdef|ggggggg… in bmp_compress1_row()1993 if (bestca<rca) { bestca=rca; best=r-1; } /* make c as short as possible */ in bmp_compress1_row()1997 …if (rca<=bestca-2) break; /* fix-5 (instead of rule-4): `xyz|bbbbb|xyz|', `abcdef|gggggggg|abababa… in bmp_compress1_row()1998 if (bestca<rca) { bestca=rca; best=r; } /* make c as short as possible */ in bmp_compress1_row()2002 BMP_ASSERT(-255<=bestca && bestca<=255); in bmp_compress1_row()2003 if (bestca<=0 /* no possible positive advantage */ in bmp_compress1_row()