Lines Matching defs:bitsHeader
645 TranslatorBitmap bitsHeader;
650 result = identify_bits_header(inSource, NULL, &bitsHeader);
666 uint32 width = bitsHeader.bounds.IntegerWidth() + 1;
667 uint32 height = bitsHeader.bounds.IntegerHeight() + 1;
668 uint32 dataSize = bitsHeader.dataSize;
669 uint32 bytesPerRow = bitsHeader.rowBytes;
714 switch (bitsHeader.colors) {
728 ret = write_tif_stream(tif, inSource, bitsHeader.colors,
764 ret = write_tif_stream(tif, inSource, bitsHeader.colors,
776 ret = write_tif_stream(tif, inSource, bitsHeader.colors,
848 TranslatorBitmap bitsHeader;
849 bitsHeader.magic = B_TRANSLATOR_BITMAP;
850 bitsHeader.bounds.left = 0;
851 bitsHeader.bounds.top = 0;
852 bitsHeader.bounds.right = width - 1;
853 bitsHeader.bounds.bottom = height - 1;
854 bitsHeader.rowBytes = 4 * width;
855 bitsHeader.colors = B_RGBA32;
856 bitsHeader.dataSize = bitsHeader.rowBytes * height;
857 if (swap_data(B_UINT32_TYPE, &bitsHeader,
862 outDestination->Write(&bitsHeader, sizeof(TranslatorBitmap));