Lines Matching refs:header
63 TranslatorBitmap header;
64 memset(&header, 0, sizeof(TranslatorBitmap));
66 // read in the rest of the header
68 if (file.Read(reinterpret_cast<uint8 *> (&header), size) != size) {
70 "header.\n"));
78 if (swap_data(B_UINT32_TYPE, &header, sizeof(TranslatorBitmap),
84 printf(B_TRANSLATE("\nBe bitmap (\"bits\") header for: %s\n\n"),
89 if (header.magic == kbitsmagic)
91 header.magic);
94 "0x%.8lx)\n"), header.magic, kbitsmagic);
96 header.bounds.left, header.bounds.top,
97 header.bounds.right, header.bounds.bottom);
99 static_cast<int>(header.bounds.Width() + 1),
100 static_cast<int>(header.bounds.Height() + 1));
103 static_cast<unsigned int>(header.rowBytes));
157 if (header.colors == colorspaces[i].id) {
164 static_cast<unsigned long>(header.colors));
167 static_cast<unsigned int>(header.dataSize));
172 switch (header.colors) {
191 uint8 *prow = new uint8[header.rowBytes];
200 while ((ret = file.Read(prow, header.rowBytes)) > 0) {