Lines Matching refs:halfway
109 int index, row, col, halfway = 16; in initBuf() local
118 buf[index] = (row < halfway) ? 255 : 0; in initBuf()
119 else buf[index] = (row < halfway) ? 76 : 226; in initBuf()
129 if (row >= halfway) buf[index * ps + 3] = 0; in initBuf()
132 if (row < halfway) buf[index * ps + 1] = 0; in initBuf()
143 if (row < halfway) { in initBuf()
150 if (row >= halfway) buf[index * ps + goffset] = 255; in initBuf()
192 int halfway = 16 * sf.num / sf.denom; in checkBuf() local
210 if (row < halfway) CHECKVAL255(k) in checkBuf()
214 if (row < halfway) CHECKVAL0(m) in checkBuf()
233 if (row < halfway) { in checkBuf()
240 if (row < halfway) { in checkBuf()
246 if (row < halfway) { in checkBuf()
289 int halfway = 16 * sf.num / sf.denom; in checkBufYUV() local
297 if (row < halfway) CHECKVAL255(y) in checkBufYUV()
300 if (row < halfway) CHECKVAL(y, 76) in checkBufYUV()
306 halfway = 16 / vsf * sf.num / sf.denom; in checkBufYUV()
316 if (row < halfway) { in checkBufYUV()