• Home
  • Raw
  • Download

Lines Matching refs:col

160     int index, row, col, halfway = 16;  in initBuf()  local
165 for (col = 0; col < w; col++) { in initBuf()
167 index = pitch * (h - row - 1) + col; in initBuf()
169 index = pitch * row + col; in initBuf()
170 if (((row / 8) + (col / 8)) % 2 == 0) in initBuf()
181 for (col = 0; col < w; col++) { in initBuf()
183 index = (h - row - 1) * w + col; in initBuf()
185 index = row * w + col; in initBuf()
186 if (((row / 8) + (col / 8)) % 2 == 0) { in initBuf()
200 for (col = 0; col < w; col++) { in initBuf()
202 index = pitch * (h - row - 1) + col * ps; in initBuf()
204 index = pitch * row + col * ps; in initBuf()
205 if (((row / 8) + (col / 8)) % 2 == 0) { in initBuf()
228 int index, row, col, halfway = 16; in initIntBuf() local
232 for (col = 0; col < w; col++) { in initIntBuf()
234 index = pitch * (h - row - 1) + col; in initIntBuf()
236 index = pitch * row + col; in initIntBuf()
237 if (((row / 8) + (col / 8)) % 2 == 0) { in initIntBuf()
277 private static void checkVal(int row, int col, int v, String vname, int cv) in checkVal() argument
281 throw new Exception("Comp. " + vname + " at " + row + "," + col + in checkVal()
286 private static void checkVal0(int row, int col, int v, String vname) in checkVal0() argument
290 throw new Exception("Comp. " + vname + " at " + row + "," + col + in checkVal0()
295 private static void checkVal255(int row, int col, int v, String vname) in checkVal255() argument
299 throw new Exception("Comp. " + vname + " at " + row + "," + col + in checkVal255()
312 int index, row, col, retval = 1; in checkBuf() local
320 for (col = 0; col < w; col++) { in checkBuf()
322 index = (h - row - 1) * w + col; in checkBuf()
324 index = row * w + col; in checkBuf()
329 checkVal255(row, col, c, "C"); in checkBuf()
330 if (((row / blockSize) + (col / blockSize)) % 2 == 0) { in checkBuf()
331 checkVal255(row, col, m, "M"); in checkBuf()
332 checkVal255(row, col, y, "Y"); in checkBuf()
334 checkVal255(row, col, k, "K"); in checkBuf()
336 checkVal0(row, col, k, "K"); in checkBuf()
338 checkVal0(row, col, y, "Y"); in checkBuf()
339 checkVal255(row, col, k, "K"); in checkBuf()
341 checkVal0(row, col, m, "M"); in checkBuf()
343 checkVal255(row, col, m, "M"); in checkBuf()
351 for (col = 0; col < w; col++) { in checkBuf()
353 index = pitch * (h - row - 1) + col * ps; in checkBuf()
355 index = pitch * row + col * ps; in checkBuf()
360 if (((row / blockSize) + (col / blockSize)) % 2 == 0) { in checkBuf()
362 checkVal255(row, col, r, "R"); in checkBuf()
363 checkVal255(row, col, g, "G"); in checkBuf()
364 checkVal255(row, col, b, "B"); in checkBuf()
366 checkVal0(row, col, r, "R"); in checkBuf()
367 checkVal0(row, col, g, "G"); in checkBuf()
368 checkVal0(row, col, b, "B"); in checkBuf()
373 checkVal(row, col, r, "R", 76); in checkBuf()
374 checkVal(row, col, g, "G", 76); in checkBuf()
375 checkVal(row, col, b, "B", 76); in checkBuf()
377 checkVal(row, col, r, "R", 226); in checkBuf()
378 checkVal(row, col, g, "G", 226); in checkBuf()
379 checkVal(row, col, b, "B", 226); in checkBuf()
382 checkVal255(row, col, r, "R"); in checkBuf()
384 checkVal0(row, col, g, "G"); in checkBuf()
386 checkVal255(row, col, g, "G"); in checkBuf()
388 checkVal0(row, col, b, "B"); in checkBuf()
391 checkVal255(row, col, a, "A"); in checkBuf()
401 for (col = 0; col < w; col++) { in checkBuf()
403 int c = buf[pitch * row + col * ps]; in checkBuf()
404 int m = buf[pitch * row + col * ps + 1]; in checkBuf()
405 int y = buf[pitch * row + col * ps + 2]; in checkBuf()
406 int k = buf[pitch * row + col * ps + 3]; in checkBuf()
413 int r = buf[pitch * row + col * ps + roffset]; in checkBuf()
414 int g = buf[pitch * row + col * ps + goffset]; in checkBuf()
415 int b = buf[pitch * row + col * ps + boffset]; in checkBuf()
435 int index, row, col, retval = 1; in checkIntBuf() local
441 for (col = 0; col < w; col++) { in checkIntBuf()
443 index = pitch * (h - row - 1) + col; in checkIntBuf()
445 index = pitch * row + col; in checkIntBuf()
450 if (((row / blockSize) + (col / blockSize)) % 2 == 0) { in checkIntBuf()
452 checkVal255(row, col, r, "R"); in checkIntBuf()
453 checkVal255(row, col, g, "G"); in checkIntBuf()
454 checkVal255(row, col, b, "B"); in checkIntBuf()
456 checkVal0(row, col, r, "R"); in checkIntBuf()
457 checkVal0(row, col, g, "G"); in checkIntBuf()
458 checkVal0(row, col, b, "B"); in checkIntBuf()
463 checkVal(row, col, r, "R", 76); in checkIntBuf()
464 checkVal(row, col, g, "G", 76); in checkIntBuf()
465 checkVal(row, col, b, "B", 76); in checkIntBuf()
467 checkVal(row, col, r, "R", 226); in checkIntBuf()
468 checkVal(row, col, g, "G", 226); in checkIntBuf()
469 checkVal(row, col, b, "B", 226); in checkIntBuf()
472 checkVal255(row, col, r, "R"); in checkIntBuf()
474 checkVal0(row, col, g, "G"); in checkIntBuf()
476 checkVal255(row, col, g, "G"); in checkIntBuf()
478 checkVal0(row, col, b, "B"); in checkIntBuf()
481 checkVal255(row, col, a, "A"); in checkIntBuf()
491 for (col = 0; col < w; col++) { in checkIntBuf()
492 int r = (buf[pitch * row + col] >> rshift) & 0xFF; in checkIntBuf()
493 int g = (buf[pitch * row + col] >> gshift) & 0xFF; in checkIntBuf()
494 int b = (buf[pitch * row + col] >> bshift) & 0xFF; in checkIntBuf()
538 int row, col; in checkBufYUV() local
555 for (col = 0; col < pw; col++) { in checkBufYUV()
556 byte y = buf[ypitch * row + col]; in checkBufYUV()
557 if (((row / blockSize) + (col / blockSize)) % 2 == 0) { in checkBufYUV()
559 checkVal255(row, col, y, "Y"); in checkBufYUV()
561 checkVal0(row, col, y, "Y"); in checkBufYUV()
564 checkVal(row, col, y, "Y", 76); in checkBufYUV()
566 checkVal(row, col, y, "Y", 226); in checkBufYUV()
573 for (col = 0; col < cw; col++) { in checkBufYUV()
574 byte u = buf[ypitch * ph + (uvpitch * row + col)], in checkBufYUV()
575 v = buf[ypitch * ph + uvpitch * ch + (uvpitch * row + col)]; in checkBufYUV()
576 if (((row * vsf / blockSize) + (col * hsf / blockSize)) % 2 == 0) { in checkBufYUV()
577 checkVal(row, col, u, "U", 128); in checkBufYUV()
578 checkVal(row, col, v, "V", 128); in checkBufYUV()
581 checkVal(row, col, u, "U", 85); in checkBufYUV()
582 checkVal255(row, col, v, "V"); in checkBufYUV()
584 checkVal0(row, col, u, "U"); in checkBufYUV()
585 checkVal(row, col, v, "V", 149); in checkBufYUV()
598 for (col = 0; col < pw; col++) { in checkBufYUV()
599 int y = buf[ypitch * row + col]; in checkBufYUV()
607 for (col = 0; col < cw; col++) { in checkBufYUV()
608 int u = buf[ypitch * ph + (uvpitch * row + col)]; in checkBufYUV()
616 for (col = 0; col < cw; col++) { in checkBufYUV()
617 int v = buf[ypitch * ph + uvpitch * ch + (uvpitch * row + col)]; in checkBufYUV()