![]() |
Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
|
Go to the source code of this file.
Macros | |
| #define | DMAP(v, x, y) (modN[v]>dm16[x][y] ? divN[v] + 1 : divN[v]) |
Functions | |
| void | init_color () |
| void | map_scanline () |
| void | main (int argc, char **argv) |
| void | map_scanline (rgb, int n, int y,*line) |
Variables | |
| static char | rcs_ident [] = "$Header: /tmp_mnt/n/itn/hendrix/u/spencer/RCS/to8.c,v 3.0.1.4 1992/04/30 14:14:43 spencer Exp spencer $" |
| short | map [3][256] |
| int | colmap [216][3] |
| rle_pixel ** | in_cmap |
| int | dm16 [16][16] |
| int | modN [256] |
| int | divN [256] |
| double | disp_gam = 2.5 |
| double | img_gam = 1.0 |
| void init_color | ( | ) |
| void main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 77 of file to8.c.
| void map_scanline | ( | ) |
| int colmap[216][3] |
Definition at line 39 of file to8.c.
Referenced by init_24_bit_colour_map(), init_8_bit_colour_map(), init_color(), init_monochrome_colour_map(), and write_colour_map().
| double disp_gam = 2.5 |
Definition at line 47 of file to8.c.
Referenced by init_color(), and load_x_map().
| int divN[256] |
Definition at line 45 of file to8.c.
Referenced by init_8_bit_color_map(), init_8_bit_colour_map(), init_color(), init_dither(), init_monochrome_colour_map(), and window_color_map().
| int dm16[16][16] |
Definition at line 42 of file to8.c.
Referenced by init_8_bit_color_map(), init_8_bit_colour_map(), init_color(), init_dither(), init_monochrome_colour_map(), and window_color_map().
| rle_pixel** in_cmap |
Definition at line 40 of file to8.c.
Referenced by load_x_map().
| short map[3][256] |
Definition at line 38 of file to8.c.
Referenced by init_color(), and window_color_map().
| int modN[256] |
Definition at line 45 of file to8.c.
Referenced by init_color(), init_dither(), and window_color_map().
1.8.10