Lines Matching refs:BitsPerPixel
26 int bitsPerPixel, int y, const SkPMColor ctable[]) {
30 const uint32_t pixelsPerByte = 8 / bitsPerPixel;
32 const uint8_t mask = (1 << bitsPerPixel) - 1;
37 uint8_t index = (pixelData >> (8 - bitsPerPixel)) & mask;
40 pixelData <<= bitsPerPixel;
49 int bitsPerPixel, int y, const SkPMColor ctable[]) {
53 const uint32_t pixelsPerByte = 8 / bitsPerPixel;
55 const uint8_t mask = (1 << bitsPerPixel) - 1;
60 uint8_t index = (pixelData >> (8 - bitsPerPixel)) & mask;
64 pixelData <<= bitsPerPixel;
255 int width, int bitsPerPixel,
408 int deltaSrc = SkIsAlign8(BitsPerPixel(sc)) ? BytesPerPixel(sc) :
409 BitsPerPixel(sc);