Lines Matching defs:Bpp
931 uint8 cache_id, width, height, bpp, Bpp;
940 Bpp = (bpp + 7) / 8;
946 inverted = (uint8 *) xmalloc(width * height * Bpp);
949 memcpy(&inverted[(height - y - 1) * (width * Bpp)], &data[y * (width * Bpp)],
950 width * Bpp);
964 uint8 cache_id, width, height, bpp, Bpp;
976 Bpp = (bpp + 7) / 8;
999 bmpdata = (uint8 *) xmalloc(width * height * Bpp);
1001 if (bitmap_decompress(bmpdata, width, height, data, size, Bpp))
1020 uint8 cache_id, cache_idx_low, width, height, Bpp;
1026 Bpp = ((flags & MODE_MASK) >> MODE_SHIFT) - 2;
1056 DEBUG(("BMPCACHE2(compr=%d,flags=%x,cx=%d,cy=%d,id=%d,idx=%d,Bpp=%d,bs=%d)\n",
1057 compressed, flags, width, height, cache_id, cache_idx, Bpp, bufsize));
1059 bmpdata = (uint8 *) xmalloc(width * height * Bpp);
1063 if (!bitmap_decompress(bmpdata, width, height, data, bufsize, Bpp))
1073 memcpy(&bmpdata[(height - y - 1) * (width * Bpp)],
1074 &data[y * (width * Bpp)], width * Bpp);
1084 width * height * Bpp, bmpdata);
1160 process_compressed_8x8_brush_data(uint8 * in, uint8 * out, int Bpp)
1179 /* size of palette entries depends on Bpp */
1180 for (i = 0; i < Bpp; i++)
1182 out[(y * 8 + x) * Bpp + i] = pal[pal_index * Bpp + i];
1200 int Bpp;
1235 Bpp = colour_code - 2;
1237 brush_data.data_size = 8 * 8 * Bpp;
1238 brush_data.data = xmalloc(8 * 8 * Bpp);
1239 if (size == 16 + 4 * Bpp)
1241 in_uint8p(s, comp_brush, 16 + 4 * Bpp);
1242 process_compressed_8x8_brush_data(comp_brush, brush_data.data, Bpp);
1246 in_uint8a(s, brush_data.data, 8 * 8 * Bpp);