Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp341 const int maxBlockY = ((h-1 + (blockHeight-1)) / blockHeight) & 0x1; in checkGreyscaleBuffer() local
342 uint32_t pixelValue = ((maxBlockX % 2) == (maxBlockY % 2)) ? 191 : 63; in checkGreyscaleBuffer()
381 const int maxBlockY = ((h-1) / blockHeight); 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()
423 const int maxBlockY = ((w-1) / blockHeight) & 0x1; in checkBayerRawBuffer() local
424 unsigned short maxR = (maxBlockX == maxBlockY) ? 1000 : 200; in checkBayerRawBuffer()
425 unsigned short maxG = maxBlockY ? 1000: 200; in checkBayerRawBuffer()