1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
$NetBSD: patch-au,v 1.1 2008/09/10 13:32:48 taca Exp $
--- image/rlelib.c.orig 2007-05-18 01:47:33.000000000 +0900
+++ image/rlelib.c
@@ -428,6 +428,7 @@ register struct sv_globals * globals;
*/
void
RunSkipBlankLines(nblank, globals)
+int nblank;
register struct sv_globals * globals;
{
}
@@ -439,6 +440,7 @@ register struct sv_globals * globals;
*/
void
RunSetColor(c, globals)
+int c;
register struct sv_globals * globals;
{
}
@@ -451,6 +453,7 @@ register struct sv_globals * globals;
/* ARGSUSED */
void
RunSkipPixels(nskip, last, wasrun, globals)
+int nskip, last, wasrun;
register struct sv_globals * globals;
{
}
@@ -462,6 +465,7 @@ register struct sv_globals * globals;
*/
void
RunNewScanLine(flag, globals)
+int flag;
register struct sv_globals * globals;
{
}
@@ -473,6 +477,7 @@ register struct sv_globals * globals;
void
Runputdata(buf, n, globals)
rle_pixel * buf;
+int n;
register struct sv_globals * globals;
{
}
@@ -485,6 +490,7 @@ register struct sv_globals * globals;
/* ARGSUSED */
void
Runputrun(color, n, last, globals)
+int color, n, last;
register struct sv_globals * globals;
{
}
@@ -1391,6 +1397,7 @@ int dith_size = 16;
*/
void
dithermap(levels, gamma, rgbmap, divN, modN, magic)
+int levels;
double gamma;
int rgbmap[][3];
int divN[256];
@@ -1451,6 +1458,7 @@ int magic[16][16];
*/
void
bwdithermap(levels, gamma, bwmap, divN, modN, magic)
+int levels;
double gamma;
int bwmap[];
int divN[256];
@@ -1677,6 +1685,7 @@ int gammamap[256];
*/
int
dithergb(x, y, r, g, b, levels, divN, modN, magic)
+int x, y, r, g, b, levels;
int divN[256];
int modN[256];
int magic[16][16];
@@ -1708,6 +1717,7 @@ int magic[16][16];
*/
int
ditherbw(x, y, val, divN, modN, magic)
+int x, y, val;
int divN[256];
int modN[256];
int magic[16][16];
|