ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/clrtab.h
Revision: 2.2
Committed: Fri May 20 02:06:39 2011 UTC (12 years, 11 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad4R2P2, rad5R0, rad5R1, rad4R2, rad4R1, rad4R2P1, rad5R3, HEAD
Changes since 2.1: +9 -9 lines
Log Message:
Changed every instance of BYTE to uby8 to avoid conflicts

File Contents

# User Rev Content
1 greg 2.2 /* RCSid: $Id: clrtab.h,v 2.1 2004/03/29 00:34:23 schorsch Exp $ */
2 schorsch 2.1 /* color table routines
3     */
4    
5     #ifndef _RAD_CLRTAB_H_
6     #define _RAD_CLRTAB_H_
7    
8     #ifdef __cplusplus
9     extern "C" {
10     #endif
11    
12     /* defined in clrtab.c */
13     extern int new_histo(int n);
14 greg 2.2 extern void cnt_pixel(uby8 col[]);
15 schorsch 2.1 extern void cnt_colrs(COLR *cs, int n);
16     extern int new_clrtab(int ncolors);
17 greg 2.2 extern int map_pixel(uby8 col[]);
18     extern void map_colrs(uby8 *bs, COLR *cs, int n);
19     extern void dith_colrs(uby8 *bs, COLR *cs, int n);
20 schorsch 2.1
21     /* defined in neuclrtab.c */
22     extern int neu_init(long npixels);
23 greg 2.2 extern void neu_pixel(uby8 col[]);
24 schorsch 2.1 extern void neu_colrs(COLR *cs, int n);
25     extern int neu_clrtab(int ncolors);
26 greg 2.2 extern int neu_map_pixel(uby8 col[]);
27     extern void neu_map_colrs(uby8 *bs, COLR *cs, int n);
28     extern void neu_dith_colrs(uby8 *bs, COLR *cs, int n);
29 schorsch 2.1
30    
31    
32     #ifdef __cplusplus
33     }
34     #endif
35     #endif /* _RAD_CLRTAB_H_ */
36