Home | History | Annotate | Download | only in tests

Lines Matching refs:pixel

46             uint8_t* pixel = img + (4 * (y*outBuffer.stride + x));
47 pixel[0] = r;
48 pixel[1] = g;
49 pixel[2] = b;
50 pixel[3] = 255;
57 // individual pixel values for testing purposes.
79 const uint8_t* pixel = img + (4 * (y * mBuf.stride + x));
80 if (r != pixel[0] || g != pixel[1] || b != pixel[2]) {
81 String8 err(String8::format("pixel @ (%3d, %3d): "
83 x, y, r, g, b, pixel[0], pixel[1], pixel[2]));