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
|
2015-03-25 12:12:44 +01:00
|
|
|
noinst_LTLIBRARIES += libwebpdsp_sse41.la libwebpdspdecode_sse41.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
|
2014-08-21 19:26:18 +02:00
|
|
|
COMMON_SOURCES += alpha_processing_mips_dsp_r2.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
|
2014-09-02 14:03:13 +02:00
|
|
|
COMMON_SOURCES += dec_mips_dsp_r2.c
|
2013-01-23 01:22:20 +01:00
|
|
|
COMMON_SOURCES += dec_neon.c
|
|
|
|
COMMON_SOURCES += dsp.h
|
2015-01-28 08:02:41 +01:00
|
|
|
COMMON_SOURCES += filters.c
|
2014-08-04 16:22:10 +02:00
|
|
|
COMMON_SOURCES += filters_mips_dsp_r2.c
|
2013-01-23 01:22:20 +01:00
|
|
|
COMMON_SOURCES += lossless.c
|
2014-04-26 21:11:00 +02:00
|
|
|
COMMON_SOURCES += lossless.h
|
2014-09-02 16:34:52 +02:00
|
|
|
COMMON_SOURCES += lossless_mips_dsp_r2.c
|
2014-03-31 16:36:33 +02:00
|
|
|
COMMON_SOURCES += lossless_neon.c
|
2014-10-10 12:31:00 +02:00
|
|
|
COMMON_SOURCES += mips_macro.h
|
2014-04-26 21:11:00 +02:00
|
|
|
COMMON_SOURCES += neon.h
|
2015-01-09 12:05:53 +01:00
|
|
|
COMMON_SOURCES += rescaler.c
|
|
|
|
COMMON_SOURCES += rescaler_mips32.c
|
|
|
|
COMMON_SOURCES += rescaler_mips_dsp_r2.c
|
2015-10-05 11:26:52 +02:00
|
|
|
COMMON_SOURCES += rescaler_neon.c
|
2013-01-23 01:22:20 +01:00
|
|
|
COMMON_SOURCES += upsampling.c
|
2014-08-15 11:00:32 +02:00
|
|
|
COMMON_SOURCES += upsampling_mips_dsp_r2.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
|
2014-08-12 11:47:36 +02:00
|
|
|
COMMON_SOURCES += yuv_mips_dsp_r2.c
|
2013-01-23 01:22:20 +01:00
|
|
|
|
2013-03-16 21:29:49 +01:00
|
|
|
ENC_SOURCES =
|
2015-01-05 13:44:58 +01:00
|
|
|
ENC_SOURCES += argb.c
|
|
|
|
ENC_SOURCES += argb_mips_dsp_r2.c
|
2015-02-07 11:13:26 +01:00
|
|
|
ENC_SOURCES += cost.c
|
|
|
|
ENC_SOURCES += cost_mips32.c
|
|
|
|
ENC_SOURCES += cost_mips_dsp_r2.c
|
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
|
2014-10-10 12:31:00 +02:00
|
|
|
ENC_SOURCES += enc_mips_dsp_r2.c
|
2013-01-23 01:22:20 +01:00
|
|
|
ENC_SOURCES += enc_neon.c
|
2015-03-21 03:09:49 +01:00
|
|
|
ENC_SOURCES += lossless_enc.c
|
|
|
|
ENC_SOURCES += lossless_enc_mips32.c
|
|
|
|
ENC_SOURCES += lossless_enc_mips_dsp_r2.c
|
|
|
|
ENC_SOURCES += lossless_enc_neon.c
|
2013-01-23 01:22:20 +01:00
|
|
|
|
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)
|
|
|
|
|
2015-03-19 21:18:59 +01:00
|
|
|
libwebpdspdecode_sse41_la_SOURCES =
|
2015-06-19 14:23:38 +02:00
|
|
|
libwebpdspdecode_sse41_la_SOURCES += alpha_processing_sse41.c
|
2015-03-19 21:18:59 +01:00
|
|
|
libwebpdspdecode_sse41_la_SOURCES += dec_sse41.c
|
|
|
|
libwebpdspdecode_sse41_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
|
|
|
|
libwebpdspdecode_sse41_la_CFLAGS = $(AM_CFLAGS) $(SSE41_FLAGS)
|
|
|
|
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdspdecode_sse2_la_SOURCES =
|
2014-08-26 05:55:28 +02:00
|
|
|
libwebpdspdecode_sse2_la_SOURCES += alpha_processing_sse2.c
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdspdecode_sse2_la_SOURCES += dec_sse2.c
|
2015-01-29 08:06:29 +01:00
|
|
|
libwebpdspdecode_sse2_la_SOURCES += filters_sse2.c
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdspdecode_sse2_la_SOURCES += lossless_sse2.c
|
2015-09-25 14:34:02 +02:00
|
|
|
libwebpdspdecode_sse2_la_SOURCES += rescaler_sse2.c
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdspdecode_sse2_la_SOURCES += upsampling_sse2.c
|
|
|
|
libwebpdspdecode_sse2_la_SOURCES += yuv_sse2.c
|
|
|
|
libwebpdspdecode_sse2_la_CPPFLAGS = $(libwebpdsp_sse2_la_CPPFLAGS)
|
|
|
|
libwebpdspdecode_sse2_la_CFLAGS = $(libwebpdsp_sse2_la_CFLAGS)
|
|
|
|
|
|
|
|
libwebpdsp_sse2_la_SOURCES =
|
2015-01-05 13:44:58 +01:00
|
|
|
libwebpdsp_sse2_la_SOURCES += argb_sse2.c
|
2015-02-18 09:40:30 +01:00
|
|
|
libwebpdsp_sse2_la_SOURCES += cost_sse2.c
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdsp_sse2_la_SOURCES += enc_sse2.c
|
2015-03-21 03:09:49 +01:00
|
|
|
libwebpdsp_sse2_la_SOURCES += lossless_enc_sse2.c
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdsp_sse2_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
|
|
|
|
libwebpdsp_sse2_la_CFLAGS = $(AM_CFLAGS) $(SSE2_FLAGS)
|
|
|
|
libwebpdsp_sse2_la_LIBADD = libwebpdspdecode_sse2.la
|
|
|
|
|
2015-03-25 12:12:44 +01:00
|
|
|
libwebpdsp_sse41_la_SOURCES =
|
|
|
|
libwebpdsp_sse41_la_SOURCES += enc_sse41.c
|
2015-06-23 08:46:57 +02:00
|
|
|
libwebpdsp_sse41_la_SOURCES += lossless_enc_sse41.c
|
2015-03-25 12:12:44 +01:00
|
|
|
libwebpdsp_sse41_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
|
|
|
|
libwebpdsp_sse41_la_CFLAGS = $(AM_CFLAGS) $(SSE41_FLAGS)
|
|
|
|
libwebpdsp_sse41_la_LIBADD = libwebpdspdecode_sse41.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
|
2015-03-19 21:18:59 +01:00
|
|
|
libwebpdsp_la_LIBADD =
|
|
|
|
libwebpdsp_la_LIBADD += libwebpdsp_avx2.la libwebpdsp_sse2.la
|
2015-03-25 12:12:44 +01:00
|
|
|
libwebpdsp_la_LIBADD += libwebpdsp_sse41.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)
|
2015-03-19 21:18:59 +01:00
|
|
|
libwebpdspdecode_la_LIBADD =
|
|
|
|
libwebpdspdecode_la_LIBADD += libwebpdspdecode_sse2.la
|
|
|
|
libwebpdspdecode_la_LIBADD += libwebpdspdecode_sse41.la
|
2013-01-23 01:22:20 +01:00
|
|
|
endif
|