Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

inv_cmap.h

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 __INV_CMAP_H__
00034 #define __INV_CMAP_H__
00035 
00036 #include "rgbpixel.h"
00037 
00086 extern void csInverseColormap (int colors, csRGBpixel *colormap,
00087   int rbits, int gbits, int bbits, uint8 *&rgbmap,
00088   uint32 *dist_buf = NULL);
00089 
00090 #endif // __INV_CMAP_H__

Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000