Home | History | Annotate | Download | only in images

Lines Matching refs:bitCount

47 //helpers - my function pointer will call one of these, depending on the bitCount, each time through the inner loop
65 static int calculateRowBytesFor8888(int w, int bitCount)
71 if (4 == bitCount && (w & 0x1)) {
113 int bitCount = read2Bytes(buf, offset+14);
117 switch (bitCount)
132 SkDEBUGF(("Image with %ibpp not supported\n", bitCount));
161 int bitCount = read2Bytes(buf, offset+14);
166 switch (bitCount)
189 SkDEBUGF(("Decoding %ibpp is unimplemented\n", bitCount));
218 int bitWidth = w*bitCount;
222 int lineWidth = lineBitWidth/bitCount;
226 int andOffset = xorOffset + ((lineWidth*h*bitCount) >> 3);
238 bm->setConfig(SkBitmap::kARGB_8888_Config, w, h, calculateRowBytesFor8888(w, bitCount));
248 bm->setConfig(SkBitmap::kARGB_8888_Config, w, h, calculateRowBytesFor8888(w, bitCount));
286 //function to place the pixel, determined by the bitCount