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

/frameworks/native/libs/gui/tests/
H A DSRGB_test.cpp48 PIXEL_SIZE = 4, // bytes or components enumerator in enum:android::SRGBTest::__anon1461
49 DISPLAY_SIZE = DISPLAY_WIDTH * DISPLAY_HEIGHT * PIXEL_SIZE,
129 int offset = (y * DISPLAY_WIDTH + x) * PIXEL_SIZE;
317 int colOffset = (rowOffset + x) * PIXEL_SIZE; // bytes
318 for (int c = 0; c < PIXEL_SIZE; ++c) {
331 PIXEL_SIZE;
350 int colOffset = (rowOffset + x) * PIXEL_SIZE; // bytes
353 for (int c = 0; c < (PIXEL_SIZE - 1); ++c) {
394 PIXEL_SIZE;
396 midRGBOffset += (DISPLAY_WIDTH / 2) * PIXEL_SIZE;
[all...]
H A DSurfaceTextureFBO.h61 const size_t PIXEL_SIZE = 4; local
64 off_t offset = (y * stride + x) * PIXEL_SIZE;
H A DFillBuffer.cpp79 const size_t PIXEL_SIZE = 4;
82 off_t offset = (y * stride + x) * PIXEL_SIZE;

Completed in 64 milliseconds