summaryrefslogtreecommitdiff
path: root/fitzdraw/imageunpack.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitzdraw/imageunpack.c')
-rw-r--r--fitzdraw/imageunpack.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/fitzdraw/imageunpack.c b/fitzdraw/imageunpack.c
index 50a65253..15d060f8 100644
--- a/fitzdraw/imageunpack.c
+++ b/fitzdraw/imageunpack.c
@@ -37,14 +37,14 @@ static void decodetile(fz_pixmap *pix, int skip, float *decode)
return;
switch (n) {
- case 1:
+ case 1:
while (wh--)
{
p[0] = min[0] + fz_mul255(sub[0], p[0]);
p ++;
}
break;
- case 2:
+ case 2:
if (justinvert) {
unsigned *wp = (unsigned *)p;
@@ -69,14 +69,14 @@ static void decodetile(fz_pixmap *pix, int skip, float *decode)
}
}
else
- while (wh--)
+ while (wh--)
{
p[0] = min[0] + fz_mul255(sub[0], p[0]);
p[1] = min[1] + fz_mul255(sub[1], p[1]);
p += 2;
}
break;
- default:
+ default:
while (wh--)
{
for (i = 0; i < n; i++)
@@ -219,11 +219,11 @@ static void loadtile1(byte * restrict src, int sw, byte * restrict dst, int dw,
}
static void loadtile2(byte * restrict src, int sw, byte * restrict dst, int dw, int w, int h, int pad)
- TILE(ttwo)
+TILE(ttwo)
static void loadtile4(byte * restrict src, int sw, byte * restrict dst, int dw, int w, int h, int pad)
- TILE(tnib)
+TILE(tnib)
static void loadtile8(byte * restrict src, int sw, byte * restrict dst, int dw, int w, int h, int pad)
- TILE(toct)
+TILE(toct)
void (*fz_decodetile)(fz_pixmap *pix, int skip, float *decode) = decodetile;
void (*fz_loadtile1)(byte*, int sw, byte*, int dw, int w, int h, int pad) = loadtile1;