mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 06:24:27 +02:00
add SSE2 functions. ~2x faster encoding on average.
For now, SSE2 functions are compiled a-minima: only on platforms where __SSE2__ is defined. Let's later add some autoconf-based config to enable/disable at will. One can disable SSE2 at run-time by hooking-up VP8GetInfo. There is a new option "-noasm" in cwebp for that. Output should be binary the same between C and SSE2 version. If not, that's a bug! patch by Christian Duvivier (cduvivier at google dot com) Change-Id: Iae006c3cdcb7e8280e846cedb94d239dab1e42ae
This commit is contained in:
@ -46,7 +46,8 @@ CFLAGS = -O3 -DNDEBUG $(EXTRA_FLAGS)
|
||||
LDFLAGS = src/libwebp.a $(EXTRA_LIBS) -lm
|
||||
|
||||
OBJS = src/enc/webpenc.o src/enc/bit_writer.o src/enc/syntax.o \
|
||||
src/enc/dsp.o src/enc/tree.o src/enc/config.o src/enc/frame.o \
|
||||
src/enc/dsp.o src/enc/dsp_sse2.o \
|
||||
src/enc/tree.o src/enc/config.o src/enc/frame.o \
|
||||
src/enc/quant.o src/enc/iterator.o src/enc/analysis.o \
|
||||
src/enc/cost.o src/enc/picture.o src/enc/filter.o \
|
||||
src/dec/bits.o src/dec/dsp.o src/dec/frame.o src/dec/webp.o \
|
||||
|
Reference in New Issue
Block a user