Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
|
#include <math.h>
Go to the source code of this file.
Macros | |
#define | DMAP(v, x, y) (modN[v]>magic[x][y] ? divN[v] + 1 : divN[v]) |
Functions | |
void | make_square () |
void | dithermap (int levels, double gamma, rgbmap, divN, modN, magic) |
void | bwdithermap (int levels, double gamma, bwmap, divN, modN, magic) |
void | make_square (double N, divN, modN, magic) |
int | dithergb (int x, int y, int r, int g, int b, int levels, divN, modN, magic) |
int | ditherbw (int x, int y, int val, divN, modN, magic) |
Variables | |
static char | rcsid [] = "$Header: /l/spencer/src/urt/lib/RCS/dither.c,v 3.0.1.2 1992/04/30 14:07:02 spencer Exp $" |
static int | magic4x4 [4][4] |
Definition at line 142 of file dither.c.
Referenced by init_color(), and init_monochrome_colour_map().
Definition at line 80 of file dither.c.
Referenced by init_8_bit_colour_map(), and init_color().
void make_square | ( | ) |
Definition at line 192 of file dither.c.
Referenced by init_8_bit_color_map(), init_color(), init_dither(), and window_color_map().
|
static |