• Home
  • Raw
  • Download

Lines Matching refs:col

152     int index, row, col, halfway = 16;  in initBuf()  local
157 for (col = 0; col < w; col++) { in initBuf()
159 index = pitch * (h - row - 1) + col; in initBuf()
161 index = pitch * row + col; in initBuf()
162 if (((row / 8) + (col / 8)) % 2 == 0) in initBuf()
173 for (col = 0; col < w; col++) { in initBuf()
175 index = (h - row - 1) * w + col; in initBuf()
177 index = row * w + col; in initBuf()
178 if (((row / 8) + (col / 8)) % 2 == 0) { in initBuf()
192 for (col = 0; col < w; col++) { in initBuf()
194 index = pitch * (h - row - 1) + col * ps; in initBuf()
196 index = pitch * row + col * ps; in initBuf()
197 if (((row / 8) + (col / 8)) % 2 == 0) { in initBuf()
220 int index, row, col, halfway = 16; in initIntBuf() local
224 for (col = 0; col < w; col++) { in initIntBuf()
226 index = pitch * (h - row - 1) + col; in initIntBuf()
228 index = pitch * row + col; in initIntBuf()
229 if (((row / 8) + (col / 8)) % 2 == 0) { in initIntBuf()
269 static void checkVal(int row, int col, int v, String vname, int cv) in checkVal() argument
273 throw new Exception("Comp. " + vname + " at " + row + "," + col + in checkVal()
278 static void checkVal0(int row, int col, int v, String vname) in checkVal0() argument
282 throw new Exception("Comp. " + vname + " at " + row + "," + col + in checkVal0()
287 static void checkVal255(int row, int col, int v, String vname) in checkVal255() argument
291 throw new Exception("Comp. " + vname + " at " + row + "," + col + in checkVal255()
303 int index, row, col, retval = 1; in checkBuf() local
314 for (col = 0; col < w; col++) { in checkBuf()
316 index = (h - row - 1) * w + col; in checkBuf()
318 index = row * w + col; in checkBuf()
323 checkVal255(row, col, c, "C"); in checkBuf()
324 if (((row / blockSize) + (col / blockSize)) % 2 == 0) { in checkBuf()
325 checkVal255(row, col, m, "M"); in checkBuf()
326 checkVal255(row, col, y, "Y"); in checkBuf()
328 checkVal255(row, col, k, "K"); in checkBuf()
330 checkVal0(row, col, k, "K"); in checkBuf()
332 checkVal0(row, col, y, "Y"); in checkBuf()
333 checkVal255(row, col, k, "K"); in checkBuf()
335 checkVal0(row, col, m, "M"); in checkBuf()
337 checkVal255(row, col, m, "M"); in checkBuf()
345 for (col = 0; col < w; col++) { in checkBuf()
347 index = pitch * (h - row - 1) + col * ps; in checkBuf()
349 index = pitch * row + col * ps; in checkBuf()
354 if (((row / blockSize) + (col / blockSize)) % 2 == 0) { in checkBuf()
356 checkVal255(row, col, r, "R"); in checkBuf()
357 checkVal255(row, col, g, "G"); in checkBuf()
358 checkVal255(row, col, b, "B"); in checkBuf()
360 checkVal0(row, col, r, "R"); in checkBuf()
361 checkVal0(row, col, g, "G"); in checkBuf()
362 checkVal0(row, col, b, "B"); in checkBuf()
367 checkVal(row, col, r, "R", 76); in checkBuf()
368 checkVal(row, col, g, "G", 76); in checkBuf()
369 checkVal(row, col, b, "B", 76); in checkBuf()
371 checkVal(row, col, r, "R", 226); in checkBuf()
372 checkVal(row, col, g, "G", 226); in checkBuf()
373 checkVal(row, col, b, "B", 226); in checkBuf()
376 checkVal255(row, col, r, "R"); in checkBuf()
378 checkVal0(row, col, g, "G"); in checkBuf()
380 checkVal255(row, col, g, "G"); in checkBuf()
382 checkVal0(row, col, b, "B"); in checkBuf()
385 checkVal255(row, col, a, "A"); in checkBuf()
395 for (col = 0; col < w; col++) { in checkBuf()
397 int c = buf[pitch * row + col * ps]; in checkBuf()
398 int m = buf[pitch * row + col * ps + 1]; in checkBuf()
399 int y = buf[pitch * row + col * ps + 2]; in checkBuf()
400 int k = buf[pitch * row + col * ps + 3]; in checkBuf()
407 int r = buf[pitch * row + col * ps + roffset]; in checkBuf()
408 int g = buf[pitch * row + col * ps + goffset]; in checkBuf()
409 int b = buf[pitch * row + col * ps + boffset]; in checkBuf()
429 int index, row, col, retval = 1; in checkIntBuf() local
435 for (col = 0; col < w; col++) { in checkIntBuf()
437 index = pitch * (h - row - 1) + col; in checkIntBuf()
439 index = pitch * row + col; in checkIntBuf()
444 if (((row / blockSize) + (col / blockSize)) % 2 == 0) { in checkIntBuf()
446 checkVal255(row, col, r, "R"); in checkIntBuf()
447 checkVal255(row, col, g, "G"); in checkIntBuf()
448 checkVal255(row, col, b, "B"); in checkIntBuf()
450 checkVal0(row, col, r, "R"); in checkIntBuf()
451 checkVal0(row, col, g, "G"); in checkIntBuf()
452 checkVal0(row, col, b, "B"); in checkIntBuf()
457 checkVal(row, col, r, "R", 76); in checkIntBuf()
458 checkVal(row, col, g, "G", 76); in checkIntBuf()
459 checkVal(row, col, b, "B", 76); in checkIntBuf()
461 checkVal(row, col, r, "R", 226); in checkIntBuf()
462 checkVal(row, col, g, "G", 226); in checkIntBuf()
463 checkVal(row, col, b, "B", 226); in checkIntBuf()
466 checkVal255(row, col, r, "R"); in checkIntBuf()
468 checkVal0(row, col, g, "G"); in checkIntBuf()
470 checkVal255(row, col, g, "G"); in checkIntBuf()
472 checkVal0(row, col, b, "B"); in checkIntBuf()
475 checkVal255(row, col, a, "A"); in checkIntBuf()
485 for (col = 0; col < w; col++) { in checkIntBuf()
486 int r = (buf[pitch * row + col] >> rshift) & 0xFF; in checkIntBuf()
487 int g = (buf[pitch * row + col] >> gshift) & 0xFF; in checkIntBuf()
488 int b = (buf[pitch * row + col] >> bshift) & 0xFF; in checkIntBuf()
531 int row, col; in checkBufYUV() local
548 for (col = 0; col < pw; col++) { in checkBufYUV()
549 byte y = buf[ypitch * row + col]; in checkBufYUV()
550 if (((row / blockSize) + (col / blockSize)) % 2 == 0) { in checkBufYUV()
552 checkVal255(row, col, y, "Y"); in checkBufYUV()
554 checkVal0(row, col, y, "Y"); in checkBufYUV()
557 checkVal(row, col, y, "Y", 76); in checkBufYUV()
559 checkVal(row, col, y, "Y", 226); in checkBufYUV()
566 for (col = 0; col < cw; col++) { in checkBufYUV()
567 byte u = buf[ypitch * ph + (uvpitch * row + col)], in checkBufYUV()
568 v = buf[ypitch * ph + uvpitch * ch + (uvpitch * row + col)]; in checkBufYUV()
569 if (((row * vsf / blockSize) + (col * hsf / blockSize)) % 2 == 0) { in checkBufYUV()
570 checkVal(row, col, u, "U", 128); in checkBufYUV()
571 checkVal(row, col, v, "V", 128); in checkBufYUV()
574 checkVal(row, col, u, "U", 85); in checkBufYUV()
575 checkVal255(row, col, v, "V"); in checkBufYUV()
577 checkVal0(row, col, u, "U"); in checkBufYUV()
578 checkVal(row, col, v, "V", 149); in checkBufYUV()
591 for (col = 0; col < pw; col++) { in checkBufYUV()
592 int y = buf[ypitch * row + col]; in checkBufYUV()
600 for (col = 0; col < cw; col++) { in checkBufYUV()
601 int u = buf[ypitch * ph + (uvpitch * row + col)]; in checkBufYUV()
609 for (col = 0; col < cw; col++) { in checkBufYUV()
610 int v = buf[ypitch * ph + uvpitch * ch + (uvpitch * row + col)]; in checkBufYUV()