Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp340 const int maxBlockX = ((w-1 + (blockWidth-1)) / blockWidth) & 0x1; in checkGreyscaleBuffer() local
342 uint32_t pixelValue = ((maxBlockX % 2) == (maxBlockY % 2)) ? 191 : 63; in checkGreyscaleBuffer()
380 const int maxBlockX = ((w-1) / blockWidth); in checkRgba8888Buffer() local
382 uint8_t r = chooseColorRgba8888(maxBlockX, maxBlockY, 0); in checkRgba8888Buffer()
383 uint8_t g = chooseColorRgba8888(maxBlockX, maxBlockY, 1); in checkRgba8888Buffer()
384 uint8_t b = chooseColorRgba8888(maxBlockX, maxBlockY, 2); in checkRgba8888Buffer()
422 const int maxBlockX = ((w-1) / blockWidth) & 0x1; in checkBayerRawBuffer() local
424 unsigned short maxR = (maxBlockX == maxBlockY) ? 1000 : 200; in checkBayerRawBuffer()
426 unsigned short maxB = maxBlockX ? 1000: 200; in checkBayerRawBuffer()