Lines Matching defs:pixels
101 intptr_t pixels = reinterpret_cast<intptr_t>(bmp.getPixels());
104 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel());
126 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels());
131 uint8_t* alpha = reinterpret_cast<uint8_t*>(pixels + y * bitmap->rowBytes() + x);
134 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel());
161 // checks the bitmap contains correct pixels after the readPixels
162 // if the bitmap was prefilled with pixels it checks that these weren't
337 // if the bitmap has pixels allocated before the readPixels,
355 // read pixels should never change the gen id
362 // if we had no pixels beforehand and the readPixels
363 // failed then our bitmap should still not have pixels
381 // The five reference pixels are: red, green, blue, white, black.
444 // Enough space for 5 pixels when color type is F16, more than enough space in other cases.