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