Home | History | Annotate | Download | only in images

Lines Matching full:bitcount

44 //helpers - my function pointer will call one of these, depending on the bitCount, each time through the inner loop
62 static int calculateRowBytesFor8888(int w, int bitCount)
68 if (4 == bitCount && (w & 0x1)) {
111 int bitCount = read2Bytes(buf, offset+14);
115 switch (bitCount)
130 SkDEBUGF(("Image with %ibpp not supported\n", bitCount));
173 int bitCount = read2Bytes(buf, offset+14);
178 switch (bitCount)
201 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount));
230 int bitWidth = w*bitCount;
234 int lineWidth = lineBitWidth/bitCount;
238 int andOffset = xorOffset + ((lineWidth*h*bitCount) >> 3);
249 bm->setConfig(SkBitmap::kARGB_8888_Config, w, h, calculateRowBytesFor8888(w, bitCount));
292 //function to place the pixel, determined by the bitCount