Package: glide / 2002.04.10ds1-15

swlibs-000-fix-warnings Patch series | download
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
Status: applied

Index: b/swlibs/texus2/lib/ncc.c
===================================================================
--- a/swlibs/texus2/lib/ncc.c
    b/swlibs/texus2/lib/ncc.c
@@ -26,10  26,10 @@
 #include "texusint.h"
 
 static int 
-dithmat[4][4] = {       0,  8,  2, 10, 
-                           12,  4, 14,  6, 
-                            3, 11,  1,  9, 
-                           15,  7, 13,  5 };
 dithmat[4][4] = { {0,  8,  2, 10},
                   {12, 4, 14,  6},
                   {3, 11,  1,  9},
                   {15, 7, 13,  5} };
 
 static struct   {
     int yhist[256], ihist[256], qhist[256];
Index: b/swlibs/texus2/lib/quantize.c
===================================================================
--- a/swlibs/texus2/lib/quantize.c
    b/swlibs/texus2/lib/quantize.c
@@ -28,10  28,10 @@
 #include "texusint.h"
 
 static int 
-dithmat[4][4] = { 0,  8,  2, 10, 
-                  12,  4, 14,  6, 
-                  3, 11,  1,  9, 
-                  15,  7, 13,  5 };
 dithmat[4][4] = { {0,  8,  2, 10},
                   {12, 4, 14,  6},
                   {3, 11,  1,  9},
                   {15, 7, 13,  5} };
 
 // for error diffusion.
 static int      errR[MAX_TEXWIDTH], errG[MAX_TEXWIDTH], errB[MAX_TEXWIDTH];     
Index: b/swlibs/texus2/lib/nccnnet.c
===================================================================
--- a/swlibs/texus2/lib/nccnnet.c
    b/swlibs/texus2/lib/nccnnet.c
@@ -409,7  409,7 @@ txMipNccNNet(TxMip *pxMip, TxMip *txMip,
     txMapPal256toYAB((FxU32 *)yabTable, (FxU8 *)map, ncolors, (FxU32 *)pxMip->pal);
     if( txVerbose )
       {
-        printf("eMax=(===)...eAvg=(===)\n", 
         printf("eMax=(%3ld%3ld%3ld)...eAvg=(%3ld%3ld%3ld)\n",
                errG, errR, errB, 
                totG/ncolors, totR/ncolors, totB/ncolors
                );