ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/clrtab.h
Revision: 2.1
Committed: Mon Mar 29 00:34:23 2004 UTC (20 years ago) by schorsch
Content type: text/plain
Branch: MAIN
CVS Tags: rad3R7P2, rad3R7P1, rad4R0, rad3R6, rad3R6P1, rad3R8, rad3R9
Log Message:
Continued ANSIfication. Added headerfiles pfilt.h and clrtab.h.

File Contents

# Content
1 /* RCSid: $Id$ */
2 /* 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 extern void cnt_pixel(BYTE col[]);
15 extern void cnt_colrs(COLR *cs, int n);
16 extern int new_clrtab(int ncolors);
17 extern int map_pixel(BYTE col[]);
18 extern void map_colrs(BYTE *bs, COLR *cs, int n);
19 extern void dith_colrs(BYTE *bs, COLR *cs, int n);
20
21 /* defined in neuclrtab.c */
22 extern int neu_init(long npixels);
23 extern void neu_pixel(BYTE col[]);
24 extern void neu_colrs(COLR *cs, int n);
25 extern int neu_clrtab(int ncolors);
26 extern int neu_map_pixel(BYTE col[]);
27 extern void neu_map_colrs(BYTE *bs, COLR *cs, int n);
28 extern void neu_dith_colrs(BYTE *bs, COLR *cs, int n);
29
30
31
32 #ifdef __cplusplus
33 }
34 #endif
35 #endif /* _RAD_CLRTAB_H_ */
36