Home | History | Annotate | Download | only in jpeg-6b
      1 # this file is included by various Makefiles and defines the set of sources used by our version of LibPng
      2 #
      3 LIBJPEG_SOURCES := jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \
      4 	jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \
      5 	jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \
      6 	jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \
      7 	jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \
      8 	jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \
      9 	jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \
     10 	jquant2.c jutils.c jmemmgr.c
     11 
     12 # jmem-ashmem.c doesn't compile for Windows.
     13 #LIBJPEG_CFLAGS += -DUSE_ANDROID_ASHMEM
     14 #LIBJPEG_SOURCES += jmem-ashmem.c
     15 
     16 # the original android memory manager.
     17 # use sdcard as libjpeg decoder's backing store
     18 LIBJPEG_SOURCES += jmem-android.c
     19 
     20 LIBJPEG_CFLAGS += -DAVOID_TABLES
     21 LIBJPEG_CFLAGS += -O3 -fstrict-aliasing
     22 #LIBJPEG_CFLAGS += -march=armv6j
     23 
     24 # enable tile based decode
     25 LIBJPEG_CFLAGS += -DANDROID_TILE_BASED_DECODE
     26 
     27 LIBJPEG_SOURCES := $(LIBJPEG_SOURCES:%=$(LIBJPEG_DIR)/%)
     28 
     29