Home
last modified time | relevance | path

Searched refs:maxBlockX (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp341 const int maxBlockX = ((w-1 + (blockWidth-1)) / blockWidth) & 0x1; in checkGreyscaleBuffer() local
343 uint32_t pixelValue = ((maxBlockX % 2) == (maxBlockY % 2)) ? 191 : 63; in checkGreyscaleBuffer()
381 const int maxBlockX = ((w-1) / blockWidth); in checkRgba8888Buffer() local
383 uint8_t r = chooseColorRgba8888(maxBlockX, maxBlockY, 0); in checkRgba8888Buffer()
384 uint8_t g = chooseColorRgba8888(maxBlockX, maxBlockY, 1); in checkRgba8888Buffer()
385 uint8_t b = chooseColorRgba8888(maxBlockX, maxBlockY, 2); in checkRgba8888Buffer()
423 const int maxBlockX = ((w-1) / blockWidth) & 0x1; in checkBayerRawBuffer() local
425 unsigned short maxR = (maxBlockX == maxBlockY) ? 1000 : 200; in checkBayerRawBuffer()
427 unsigned short maxB = maxBlockX ? 1000: 200; in checkBayerRawBuffer()