Home | History | Annotate | Download | only in tests

Lines Matching defs:blockHeight

229     const int blockHeight = h > 16 ? h / 16 : 1;
240 int parityY = (y / blockHeight) & 1;
259 const int blockHeight = h > 16 ? h / 16 : 1;
266 int blockY = (y / blockHeight);
287 const int blockHeight = (h > 16 ? h / 8 : 2) & ~0x1;
293 int blockY = (y / blockHeight) & 1;
313 const int blockHeight = h > 16 ? h / 16 : 1;
328 checkPixel(buf, 0, blockHeight, 63);
329 checkPixel(buf, 1, blockHeight, 63);
330 checkPixel(buf, 0, blockHeight + 1, 63);
331 checkPixel(buf, 1, blockHeight + 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);
341 const int maxBlockY = ((h-1 + (blockHeight-1)) / blockHeight) & 0x1;
350 const int blockHeight = h > 16 ? h / 16 : 1;
365 checkPixel(buf, 0, blockHeight, 63, 191, 63);
366 checkPixel(buf, 1, blockHeight, 63, 191, 63);
367 checkPixel(buf, 0, blockHeight + 1, 63, 191, 63);
368 checkPixel(buf, 1, blockHeight + 1, 63, 191, 63);
371 checkPixel(buf, blockWidth, blockHeight, 63, 63, 191);
372 checkPixel(buf, blockWidth + 1, blockHeight, 63, 63, 191);
373 checkPixel(buf, blockWidth, blockHeight + 1, 63, 63, 191);
374 checkPixel(buf, blockWidth + 1, blockHeight + 1, 63, 63, 191);
379 const int maxBlockY = ((h-1) / blockHeight);
391 const int blockHeight = (h > 16 ? h / 8 : 2) & ~0x1;
406 checkPixel(buf, 0, blockHeight, 200, 1000, 200);
407 checkPixel(buf, 1, blockHeight, 200, 1000, 200);
408 checkPixel(buf, 0, blockHeight + 1, 200, 1000, 200);
409 checkPixel(buf, 1, blockHeight + 1, 200, 1000, 200);
412 checkPixel(buf, blockWidth, blockHeight, 1000, 1000, 1000);
413 checkPixel(buf, blockWidth + 1, blockHeight, 1000, 1000, 1000);
414 checkPixel(buf, blockWidth, blockHeight + 1, 1000, 1000, 1000);
415 checkPixel(buf, blockWidth + 1, blockHeight + 1, 1000, 1000, 1000);
419 const int maxBlockY = ((w-1) / blockHeight) & 0x1;