diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-11-02 15:55:49 +0000 |
---|---|---|
committer | Robin Watts <robin@ghostscript.com> | 2011-11-14 15:52:20 +0000 |
commit | b6ce1ddb0d306d6fc00ddef62d3b6c26682db7e6 (patch) | |
tree | 1ea40f272830423ea24b2e12ce29e4f84261b0b7 /android/jni | |
parent | e806b23e27d873516ba2c232c7d5f6c3bbfad370 (diff) | |
download | mupdf-b6ce1ddb0d306d6fc00ddef62d3b6c26682db7e6.tar.xz |
Add 'simple scale' variant of scaling routines.
draw_simple_scale.c is a cut down version of draw_scale.c, that only
uses filter functions that return values strictly in the 0 to 1 range.
Because of that, we can use bytes rather than ints as intermediate
storage, and have no clipping to do.
Diffstat (limited to 'android/jni')
-rw-r--r-- | android/jni/Core.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/jni/Core.mk b/android/jni/Core.mk index 7f145c60..7116d57a 100644 --- a/android/jni/Core.mk +++ b/android/jni/Core.mk @@ -4,7 +4,7 @@ include $(CLEAR_VARS) MY_ROOT := ../.. -LOCAL_CFLAGS += -DARCH_ARM -DARCH_THUMB +LOCAL_CFLAGS += -DARCH_ARM -DARCH_THUMB -DARCH_ARM_CAN_LOAD_UNALIGNED LOCAL_C_INCLUDES := \ ../thirdparty/jbig2dec \ @@ -64,7 +64,7 @@ LOCAL_SRC_FILES := \ $(MY_ROOT)/draw/draw_mesh.c \ $(MY_ROOT)/draw/draw_paint.c \ $(MY_ROOT)/draw/draw_path.c \ - $(MY_ROOT)/draw/draw_scale.c \ + $(MY_ROOT)/draw/draw_simple_scale.c \ $(MY_ROOT)/draw/draw_unpack.c \ $(MY_ROOT)/pdf/pdf_annot.c \ $(MY_ROOT)/pdf/pdf_cmap.c \ |