Lines Matching defs:bitsHeader
275 TranslatorBitmap bitsHeader;
279 status_t ret = identify_bits_header(inSource, NULL, &bitsHeader);
287 uint32 width = bitsHeader.bounds.IntegerWidth() + 1;
288 uint32 height = bitsHeader.bounds.IntegerHeight() + 1;
289 uint32 bytesPerRow = bitsHeader.rowBytes;
291 color_space format = bitsHeader.colors;
497 TranslatorBitmap bitsHeader;
498 bitsHeader.magic = B_TRANSLATOR_BITMAP;
499 bitsHeader.bounds.left = 0;
500 bitsHeader.bounds.top = 0;
501 bitsHeader.bounds.right = width - 1;
502 bitsHeader.bounds.bottom = height - 1;
503 bitsHeader.rowBytes = bytesPerRow;
504 bitsHeader.colors = format;
505 bitsHeader.dataSize = bitsHeader.rowBytes * height;
506 if ((ret = swap_data(B_UINT32_TYPE, &bitsHeader,
510 ret = outDestination->Write(&bitsHeader,