#include <stdlib.h>#include <stdio.h>#include "OSGConfig.h"#include "OSGBMPImageFileType.h"#include <OSGLog.h>#include <iostream>Go to the source code of this file.
Namespaces | |
| namespace | osg |
Classes | |
| struct | osg::BITMAPFILEHEADER |
| struct | osg::BITMAPINFOHEADER |
| struct | osg::RGB |
Functions | |
| static UInt32 | osg::parseUInt32 (char *&ptr) |
| static UInt16 | osg::parseUInt16 (char *&ptr) |
| static bool | osg::readBitmapFileHeader (std::istream &is, BITMAPFILEHEADER &header) |
| static bool | osg::readBitmapInfoHeader (std::istream &is, BITMAPINFOHEADER &infoHeader) |
| static bool | osg::readColorMap (std::istream &is, const BITMAPFILEHEADER &fileHeader, const BITMAPINFOHEADER &infoHeader, RGB colorMap[256]) |
| static bool | osg::parseUncompressedPaletteImage (std::istream &is, const BITMAPINFOHEADER &infoHeader, const RGB colorMap[256], ImagePtr &image) |
| static bool | osg::parseRLEImage (std::istream &is, const BITMAPINFOHEADER &infoHeader, const RGB colorMap[256], ImagePtr &image) |
| static int | osg::calcShift (UInt32 mask) |
| static bool | osg::parseTrueColorImage (std::istream &is, const BITMAPINFOHEADER &infoHeader, ImagePtr &image) |
| static bool | osg::parse24bitImage (std::istream &is, const BITMAPINFOHEADER &infoHeader, ImagePtr &image) |
| static void | osg::u_short_int_write (unsigned short int u_short_int_val, std::ostream &os) |
| static void | osg::long_int_write (long int long_int_val, std::ostream &os) |
| static void | osg::u_long_int_write (unsigned long int u_long_int_val, std::ostream &os) |
| static void | osg::bmp_header1_write (std::ostream &os, unsigned short int filetype, unsigned long int filesize, unsigned short int reserved1, unsigned short int reserved2, unsigned long int bitmapoffset) |
| static void | osg::bmp_header2_write (std::ostream &os, unsigned long int size, unsigned long int width, long int height, unsigned short int planes, unsigned short int bitsperpixel, unsigned long int compression, unsigned long int sizeofbitmap, unsigned long int horzresolution, unsigned long int vertresolution, unsigned long int colorsused, unsigned long int colorsimportant) |
| static void | osg::bmp_24_data_write (std::ostream &os, unsigned long int width, long int height, unsigned char *data) |
Variables | |
| static bool | osg::_bmp_byte_swap = true |
| static const Char8 * | osg::suffixArray [] |
1.5.5