CrystalSpace

Public API Reference

csgfx/inv_cmap.h

Go to the documentation of this file.
00001 /*
00002  * This software is copyrighted as noted below.  It may be freely copied,
00003  * modified, and redistributed, provided that the copyright notice is
00004  * preserved on all copies.
00005  *
00006  * There is no warranty or other guarantee of fitness for this software,
00007  * it is provided solely "as is".  Bug reports or fixes may be sent
00008  * to the author, who may or may not act on them as he desires.
00009  *
00010  * You may not include this software in a program or other software product
00011  * without supplying the source, or without informing the end-user that the
00012  * source is available for no extra charge.
00013  *
00014  * If you modify this software, you should include a notice giving the
00015  * name of the person performing the modification, the date of modification,
00016  * and the reason for such modification.
00017  */
00018 
00019 /*
00020  * inv_cmap.c - Compute an inverse colormap.
00021  *
00022  * Author:      Spencer W. Thomas
00023  *              EECS Dept.
00024  *              University of Michigan
00025  * Date:        Thu Sep 20 1990
00026  * Copyright (c) 1990, University of Michigan
00027  *
00028  * Modified:    12 Oct 1998 by G. C. Ewing
00029  *              Allow for different numbers of bits for r, g, and b.
00030  *              Convert to C++.
00031  */
00032 
00033 #ifndef __CS_INV_CMAP_H__
00034 #define __CS_INV_CMAP_H__
00035 
00040 #include "csextern.h"
00041 
00042 #include "rgbpixel.h"
00043 
00090 extern CS_CRYSTALSPACE_EXPORT void csInverseColormap (int colors, 
00091   csRGBpixel *colormap, int rbits, int gbits, int bbits, uint8 *&rgbmap,
00092   uint32 *dist_buf = 0);
00093 
00094 #endif // __CS_INV_CMAP_H__

Generated for Crystal Space 1.0.2 by doxygen 1.4.7