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

/frameworks/native/libs/gui/tests/
H A DSRGB_test.cpp42 PIXEL_SIZE = 4, // bytes or components enumerator in enum:android::SRGBTest::__anon1329
43 DISPLAY_SIZE = DISPLAY_WIDTH * DISPLAY_HEIGHT * PIXEL_SIZE,
123 int offset = (y * DISPLAY_WIDTH + x) * PIXEL_SIZE;
310 int colOffset = (rowOffset + x) * PIXEL_SIZE; // bytes
311 for (int c = 0; c < PIXEL_SIZE; ++c) {
324 PIXEL_SIZE;
342 int colOffset = (rowOffset + x) * PIXEL_SIZE; // bytes
345 for (int c = 0; c < (PIXEL_SIZE - 1); ++c) {
385 PIXEL_SIZE;
387 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 2219 milliseconds