| 21 |
|
/* image resolution */ |
| 22 |
|
extern int xmax,ymax; |
| 23 |
|
|
| 24 |
+ |
/* defined in closest.c */ |
| 25 |
+ |
extern void initializeclosest(void); |
| 26 |
+ |
extern int closest(int r, int g, int b); |
| 27 |
+ |
|
| 28 |
+ |
/* defined in cut.c */ |
| 29 |
+ |
extern int makecm(int nw, int *na); |
| 30 |
+ |
|
| 31 |
+ |
/* defined in ciq.c */ |
| 32 |
+ |
extern void ciq(int dith, int nw, int synth, colormap cm); |
| 33 |
+ |
|
| 34 |
+ |
/* defined in biq.c */ |
| 35 |
+ |
extern void biq(int dith, int nw, int synth, colormap cm); |
| 36 |
+ |
|
| 37 |
+ |
/* defined in in the calling program */ |
| 38 |
+ |
extern void picreadcm(colormap map); |
| 39 |
+ |
extern void picwritecm(colormap cm); |
| 40 |
+ |
extern void picwriteline(int y, pixel *l); |
| 41 |
+ |
extern void picreadline3(int y, rgbpixel *l3); |
| 42 |
+ |
|
| 43 |
+ |
|
| 44 |
|
#ifdef __cplusplus |
| 45 |
|
} |
| 46 |
|
#endif |