Lines Matching refs:halfway
94 int index, row, col, halfway=16;
105 if(((row/8)+(col/8))%2==0) buf[index]=(row<halfway)? 255:0;
106 else buf[index]=(row<halfway)? 76:226;
121 if(row>=halfway) buf[index*ps+3]=0;
126 if(row<halfway) buf[index*ps+1]=0;
142 if(row<halfway)
152 if(row>=halfway) buf[index*ps+goffset]=255;
189 int halfway=16*sf.num/sf.denom;
208 if(row<halfway) checkval255(k)
214 if(row<halfway) checkval0(m)
235 if(row<halfway)
248 if(row<halfway)
259 if(row<halfway)
306 int halfway=16*sf.num/sf.denom;
316 if(row<halfway) checkval255(y) else checkval0(y);
320 if(row<halfway) checkval(y, 76) else checkval(y, 226);
326 int halfway=16/vsf*sf.num/sf.denom;
339 if(row<halfway)