Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DSRGB_test.cpp42 PIXEL_SIZE = 4, // bytes or components enumerator
43 DISPLAY_SIZE = DISPLAY_WIDTH * DISPLAY_HEIGHT * PIXEL_SIZE,
123 int offset = (y * DISPLAY_WIDTH + x) * PIXEL_SIZE; in fillTexture()
310 int colOffset = (rowOffset + x) * PIXEL_SIZE; // bytes in createDebugSurface()
311 for (int c = 0; c < PIXEL_SIZE; ++c) { in createDebugSurface()
324 PIXEL_SIZE; in copyToDebugSurface()
342 int colOffset = (rowOffset + x) * PIXEL_SIZE; // bytes in copyToDebugSurface()
345 for (int c = 0; c < (PIXEL_SIZE - 1); ++c) { in copyToDebugSurface()
385 PIXEL_SIZE; in TEST_F()
387 midRGBOffset += (DISPLAY_WIDTH / 2) * PIXEL_SIZE; in TEST_F()
[all …]
DSurfaceTextureFBO.h61 const size_t PIXEL_SIZE = 4; in fillRGBA8BufferSolid() local
64 off_t offset = (y * stride + x) * PIXEL_SIZE; in fillRGBA8BufferSolid()
DFillBuffer.cpp79 const size_t PIXEL_SIZE = 4; in fillRGBA8Buffer() local
82 off_t offset = (y * stride + x) * PIXEL_SIZE; in fillRGBA8Buffer()