2014-05-22 09:26:18 +02:00
|
|
|
noinst_LTLIBRARIES = libwebpdsp.la libwebpdsp_avx2.la
|
2014-06-08 04:44:08 +02:00
|
|
|
noinst_LTLIBRARIES += libwebpdsp_sse2.la libwebpdspdecode_sse2.la
|
2012-04-13 00:51:30 +02:00
|
|
|
|
2013-01-23 01:22:20 +01:00
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
noinst_LTLIBRARIES += libwebpdspdecode.la
|
|
|
|
endif
|
2012-04-13 00:51:30 +02:00
|
|
|
|
2013-03-16 21:29:49 +01:00
|
|
|
common_HEADERS = ../webp/types.h
|
|
|
|
commondir = $(includedir)/webp
|
|
|
|
|
|
|
|
COMMON_SOURCES =
|
2014-05-26 18:05:03 +02:00
|
|
|
COMMON_SOURCES += alpha_processing.c
|
2013-01-23 01:22:20 +01:00
|
|
|
COMMON_SOURCES += cpu.c
|
|
|
|
COMMON_SOURCES += dec.c
|
2014-02-14 04:32:21 +01:00
|
|
|
COMMON_SOURCES += dec_clip_tables.c
|
2013-12-25 12:16:01 +01:00
|
|
|
COMMON_SOURCES += dec_mips32.c
|
2013-01-23 01:22:20 +01:00
|
|
|
COMMON_SOURCES += dec_neon.c
|
|
|
|
COMMON_SOURCES += dsp.h
|
|
|
|
COMMON_SOURCES += lossless.c
|
2014-04-26 21:11:00 +02:00
|
|
|
COMMON_SOURCES += lossless.h
|
2014-03-24 14:47:19 +01:00
|
|
|
COMMON_SOURCES += lossless_mips32.c
|
2014-03-31 16:36:33 +02:00
|
|
|
COMMON_SOURCES += lossless_neon.c
|
2014-04-26 21:11:00 +02:00
|
|
|
COMMON_SOURCES += neon.h
|
2013-01-23 01:22:20 +01:00
|
|
|
COMMON_SOURCES += upsampling.c
|
2013-01-18 03:06:26 +01:00
|
|
|
COMMON_SOURCES += upsampling_neon.c
|
2013-01-23 01:22:20 +01:00
|
|
|
COMMON_SOURCES += yuv.c
|
|
|
|
COMMON_SOURCES += yuv.h
|
2014-06-07 21:35:47 +02:00
|
|
|
COMMON_SOURCES += yuv_mips32.c
|
2013-01-23 01:22:20 +01:00
|
|
|
|
2013-03-16 21:29:49 +01:00
|
|
|
ENC_SOURCES =
|
2013-01-23 01:22:20 +01:00
|
|
|
ENC_SOURCES += enc.c
|
2014-02-19 15:33:50 +01:00
|
|
|
ENC_SOURCES += enc_mips32.c
|
2013-01-23 01:22:20 +01:00
|
|
|
ENC_SOURCES += enc_neon.c
|
|
|
|
|
2014-05-22 09:26:18 +02:00
|
|
|
libwebpdsp_avx2_la_SOURCES =
|
|
|
|
libwebpdsp_avx2_la_SOURCES += enc_avx2.c
|
|
|
|
libwebpdsp_avx2_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
|
|
|
|
libwebpdsp_avx2_la_CFLAGS = $(AM_CFLAGS) $(AVX2_FLAGS)
|
|
|
|
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdspdecode_sse2_la_SOURCES =
|
|
|
|
libwebpdspdecode_sse2_la_SOURCES += dec_sse2.c
|
|
|
|
libwebpdspdecode_sse2_la_SOURCES += lossless_sse2.c
|
|
|
|
libwebpdspdecode_sse2_la_SOURCES += upsampling_sse2.c
|
|
|
|
libwebpdspdecode_sse2_la_SOURCES += yuv_sse2.c
|
|
|
|
libwebpdspdecode_sse2_la_SOURCES += yuv_tables_sse2.h
|
|
|
|
libwebpdspdecode_sse2_la_CPPFLAGS = $(libwebpdsp_sse2_la_CPPFLAGS)
|
|
|
|
libwebpdspdecode_sse2_la_CFLAGS = $(libwebpdsp_sse2_la_CFLAGS)
|
|
|
|
|
|
|
|
libwebpdsp_sse2_la_SOURCES =
|
|
|
|
libwebpdsp_sse2_la_SOURCES += enc_sse2.c
|
|
|
|
libwebpdsp_sse2_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
|
|
|
|
libwebpdsp_sse2_la_CFLAGS = $(AM_CFLAGS) $(SSE2_FLAGS)
|
|
|
|
libwebpdsp_sse2_la_LIBADD = libwebpdspdecode_sse2.la
|
|
|
|
|
2013-01-23 01:22:20 +01:00
|
|
|
libwebpdsp_la_SOURCES = $(COMMON_SOURCES) $(ENC_SOURCES)
|
|
|
|
|
2012-04-24 02:18:42 +02:00
|
|
|
noinst_HEADERS =
|
2012-07-17 07:12:59 +02:00
|
|
|
noinst_HEADERS += ../dec/decode_vp8.h
|
2012-04-24 02:18:42 +02:00
|
|
|
noinst_HEADERS += ../webp/decode.h
|
2011-09-02 23:30:08 +02:00
|
|
|
|
2013-01-19 01:23:09 +01:00
|
|
|
libwebpdsp_la_CPPFLAGS = $(USE_EXPERIMENTAL_CODE) $(USE_SWAP_16BIT_CSP)
|
2014-05-22 09:26:18 +02:00
|
|
|
libwebpdsp_la_LDFLAGS = -lm
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdsp_la_LIBADD = libwebpdsp_avx2.la libwebpdsp_sse2.la
|
2013-01-23 01:22:20 +01:00
|
|
|
|
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
libwebpdspdecode_la_SOURCES = $(COMMON_SOURCES)
|
|
|
|
|
|
|
|
libwebpdspdecode_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
|
2014-05-22 09:26:18 +02:00
|
|
|
libwebpdspdecode_la_LDFLAGS = $(libwebpdsp_la_LDFLAGS)
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdspdecode_la_LIBADD = libwebpdspdecode_sse2.la
|
2013-01-23 01:22:20 +01:00
|
|
|
endif
|