summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-05-27 19:21:48 +0200
committerTor Andersson <tor@ghostscript.com>2010-05-27 19:21:48 +0200
commitd65bded0e788321bd09c0d3a9864ef7ee13dcddb (patch)
tree7350e8ae333a13e438e94788ced2d07ed39fd840 /fitz
parent5b09c0026585fe3063b467edde908e013e2be08b (diff)
downloadmupdf-d65bded0e788321bd09c0d3a9864ef7ee13dcddb.tar.xz
Add optimized function written in C that depends on integers being exactly 32-bit.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/base_cpudep.c4
-rw-r--r--fitz/fitz_draw.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/fitz/base_cpudep.c b/fitz/base_cpudep.c
index bc9bee91..980bc9d8 100644
--- a/fitz/base_cpudep.c
+++ b/fitz/base_cpudep.c
@@ -12,10 +12,6 @@ unsigned fz_cpuflags = 0;
#ifndef HAVE_CPUDEP
-void fz_accelerate(void)
-{
-}
-
void fz_cpudetect(void)
{
}
diff --git a/fitz/fitz_draw.h b/fitz/fitz_draw.h
index 0e53401f..cd155712 100644
--- a/fitz/fitz_draw.h
+++ b/fitz/fitz_draw.h
@@ -452,6 +452,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);