summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-01 17:32:07 +0200
committerTor Andersson <tor@ghostscript.com>2010-07-01 17:32:07 +0200
commit19bba2f8efbfd1ffb19a7c975c070d53e6f1e93b (patch)
tree149cbb82cfb0982617553b8c611e4d2474e4debf /fitz
parentd96c642ea56b011b4a14a1ca9a8f3d9bba9d60a6 (diff)
downloadmupdf-19bba2f8efbfd1ffb19a7c975c070d53e6f1e93b.tar.xz
Remove unused blendover functions.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/dev_draw.c6
-rw-r--r--fitz/fitz_draw.h5
2 files changed, 4 insertions, 7 deletions
diff --git a/fitz/dev_draw.c b/fitz/dev_draw.c
index 0906985f..29f092f3 100644
--- a/fitz/dev_draw.c
+++ b/fitz/dev_draw.c
@@ -63,9 +63,9 @@ blendmaskover(fz_pixmap *src, fz_pixmap *msk, fz_pixmap *dst)
fz_duff_2i1o2(sp, src->w * 2, mp, msk->w, dp, dst->w * 2, w, h);
else if (src->n == 4 && msk->n == 1 && dst->n == 4)
fz_duff_4i1o4(sp, src->w * 4, mp, msk->w, dp, dst->w * 4, w, h);
- else if (src->n == dst->n)
- fz_duff_nimon(sp, src->w * src->n, src->n,
- mp, msk->w * msk->n, msk->n,
+ else if (src->n == dst->n && msk->n == 1 )
+ fz_duff_ni1on(sp, src->w * src->n, src->n,
+ mp, msk->w * msk->n,
dp, dst->w * dst->n, w, h);
else
assert(!"blendmaskover src and msk and dst mismatch");
diff --git a/fitz/fitz_draw.h b/fitz/fitz_draw.h
index 00152b47..0f08249e 100644
--- a/fitz/fitz_draw.h
+++ b/fitz/fitz_draw.h
@@ -479,10 +479,7 @@ void fz_dashpath(fz_gel *gel, fz_path *path, fz_strokestate *stroke, fz_matrix c
extern void fz_accelerate(void);
extern void fz_acceleratearch(void);
-extern void (*fz_duff_non)(unsigned char*,int,int,unsigned char*,int,int,int);
-extern void (*fz_duff_nimon)(unsigned char*,int,int,unsigned char*,int,int,unsigned char*,int,int,int);
-extern void (*fz_duff_1o1)(unsigned char*,int,unsigned char*,int,int,int);
-extern void (*fz_duff_4o4)(unsigned char*,int,unsigned char*,int,int,int);
+extern void (*fz_duff_ni1on)(unsigned char*,int,int,unsigned char*,int,unsigned char*,int,int,int);
extern void (*fz_duff_1i1o1)(unsigned char*,int,unsigned char*,int,unsigned char*,int,int,int);
extern void (*fz_duff_2i1o2)(unsigned char*,int,unsigned char*,int,unsigned char*,int,int,int);
extern void (*fz_duff_4i1o4)(unsigned char*,int,unsigned char*,int,unsigned char*,int,int,int);