Home | History | Annotate | Download | only in tests

Lines Matching refs:blockWidth

226     const int blockWidth = w > 16 ? w / 16 : 1;
237 int parityX = (x / blockWidth) & 1;
256 const int blockWidth = w > 16 ? w / 16 : 1;
263 int blockX = (x / blockWidth);
284 const int blockWidth = (w > 16 ? w / 8 : 2) & ~0x1;
290 int blockX = (x / blockWidth ) & 1;
310 const int blockWidth = w > 16 ? w / 16 : 1;
313 const int blockCols = w / blockWidth;
322 checkPixel(buf, blockWidth, 0, 63);
323 checkPixel(buf, blockWidth + 1, 0, 63);
324 checkPixel(buf, blockWidth, 1, 63);
325 checkPixel(buf, blockWidth + 1, 1, 63);
334 checkPixel(buf, blockWidth, blockHeight, 191);
335 checkPixel(buf, blockWidth + 1, blockHeight, 191);
336 checkPixel(buf, blockWidth, blockHeight + 1, 191);
337 checkPixel(buf, blockWidth + 1, blockHeight + 1, 191);
340 const int maxBlockX = ((w-1 + (blockWidth-1)) / blockWidth) & 0x1;
349 const int blockWidth = w > 16 ? w / 16 : 1;
352 const int blockCols = w / blockWidth;
361 checkPixel(buf, blockWidth, 0, 63, 191, 63);
362 checkPixel(buf, blockWidth + 1, 0, 63, 191, 63);
363 checkPixel(buf, blockWidth, 1, 63, 191, 63);
364 checkPixel(buf, blockWidth + 1, 1, 63, 191, 63);
373 checkPixel(buf, blockWidth, blockHeight, 63, 63, 191);
374 checkPixel(buf, blockWidth + 1, blockHeight, 63, 63, 191);
375 checkPixel(buf, blockWidth, blockHeight + 1, 63, 63, 191);
376 checkPixel(buf, blockWidth + 1, blockHeight + 1, 63, 63, 191);
380 const int maxBlockX = ((w-1) / blockWidth);
392 const int blockWidth = (w > 16 ? w / 8 : 2) & ~0x1;
395 const int blockCols = w / blockWidth;
404 checkPixel(buf, blockWidth, 0, 200, 200, 1000);
405 checkPixel(buf, blockWidth + 1, 0, 200, 200, 1000);
406 checkPixel(buf, blockWidth, 1, 200, 200, 1000);
407 checkPixel(buf, blockWidth + 1, 1, 200, 200, 1000);
416 checkPixel(buf, blockWidth, blockHeight, 1000, 1000, 1000);
417 checkPixel(buf, blockWidth + 1, blockHeight, 1000, 1000, 1000);
418 checkPixel(buf, blockWidth, blockHeight + 1, 1000, 1000, 1000);
419 checkPixel(buf, blockWidth + 1, blockHeight + 1, 1000, 1000, 1000);
422 const int maxBlockX = ((w-1) / blockWidth) & 0x1;