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
|
2016-04-19 08:31:42 +02:00
|
|
|
noinst_LTLIBRARIES += libwebpdsp_neon.la libwebpdspdecode_neon.la
|
2016-07-05 16:30:43 +02:00
|
|
|
noinst_LTLIBRARIES += libwebpdsp_msa.la libwebpdspdecode_msa.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
|
2016-02-15 15:17:11 +01:00
|
|
|
COMMON_SOURCES += common_sse2.h
|
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 += 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
|
2016-09-12 17:23:15 +02:00
|
|
|
COMMON_SOURCES += lossless_common.h
|
2014-09-02 16:34:52 +02:00
|
|
|
COMMON_SOURCES += lossless_mips_dsp_r2.c
|
2014-10-10 12:31:00 +02:00
|
|
|
COMMON_SOURCES += mips_macro.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
|
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-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-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
|
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
|
2017-02-20 17:27:15 +01:00
|
|
|
ENC_SOURCES += ssim.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)
|
|
|
|
|
2016-04-19 08:31:42 +02:00
|
|
|
libwebpdspdecode_neon_la_SOURCES =
|
2017-01-11 17:39:29 +01:00
|
|
|
libwebpdspdecode_neon_la_SOURCES += alpha_processing_neon.c
|
2016-04-19 08:31:42 +02:00
|
|
|
libwebpdspdecode_neon_la_SOURCES += dec_neon.c
|
2017-01-16 16:11:41 +01:00
|
|
|
libwebpdspdecode_neon_la_SOURCES += filters_neon.c
|
2016-04-19 08:31:42 +02:00
|
|
|
libwebpdspdecode_neon_la_SOURCES += lossless_neon.c
|
|
|
|
libwebpdspdecode_neon_la_SOURCES += neon.h
|
|
|
|
libwebpdspdecode_neon_la_SOURCES += rescaler_neon.c
|
|
|
|
libwebpdspdecode_neon_la_SOURCES += upsampling_neon.c
|
2017-04-18 18:22:30 +02:00
|
|
|
libwebpdspdecode_neon_la_SOURCES += yuv_neon.c
|
2016-04-19 08:31:42 +02:00
|
|
|
libwebpdspdecode_neon_la_CPPFLAGS = $(libwebpdsp_neon_la_CPPFLAGS)
|
|
|
|
libwebpdspdecode_neon_la_CFLAGS = $(libwebpdsp_neon_la_CFLAGS)
|
|
|
|
|
2016-06-09 15:47:09 +02:00
|
|
|
libwebpdspdecode_msa_la_SOURCES =
|
|
|
|
libwebpdspdecode_msa_la_SOURCES += dec_msa.c
|
2016-07-01 15:56:00 +02:00
|
|
|
libwebpdspdecode_msa_la_SOURCES += filters_msa.c
|
2016-06-27 11:06:28 +02:00
|
|
|
libwebpdspdecode_msa_la_SOURCES += lossless_msa.c
|
2016-06-09 15:47:09 +02:00
|
|
|
libwebpdspdecode_msa_la_SOURCES += msa_macro.h
|
2016-08-04 02:50:45 +02:00
|
|
|
libwebpdspdecode_msa_la_SOURCES += rescaler_msa.c
|
|
|
|
libwebpdspdecode_msa_la_SOURCES += upsampling_msa.c
|
2016-07-05 16:30:43 +02:00
|
|
|
libwebpdspdecode_msa_la_CPPFLAGS = $(libwebpdsp_msa_la_CPPFLAGS)
|
|
|
|
libwebpdspdecode_msa_la_CFLAGS = $(libwebpdsp_msa_la_CFLAGS)
|
2016-06-09 15:47:09 +02:00
|
|
|
|
2014-06-08 04:44:08 +02:00
|
|
|
libwebpdsp_sse2_la_SOURCES =
|
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
|
2017-02-20 17:27:15 +01:00
|
|
|
libwebpdsp_sse2_la_SOURCES += ssim_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
|
|
|
|
|
2016-04-19 08:31:42 +02:00
|
|
|
libwebpdsp_neon_la_SOURCES =
|
|
|
|
libwebpdsp_neon_la_SOURCES += enc_neon.c
|
|
|
|
libwebpdsp_neon_la_SOURCES += lossless_enc_neon.c
|
|
|
|
libwebpdsp_neon_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
|
|
|
|
libwebpdsp_neon_la_CFLAGS = $(AM_CFLAGS) $(NEON_FLAGS)
|
|
|
|
libwebpdsp_neon_la_LIBADD = libwebpdspdecode_neon.la
|
|
|
|
|
2016-07-05 16:30:43 +02:00
|
|
|
libwebpdsp_msa_la_SOURCES =
|
|
|
|
libwebpdsp_msa_la_SOURCES += enc_msa.c
|
2016-07-18 13:02:36 +02:00
|
|
|
libwebpdsp_msa_la_SOURCES += lossless_enc_msa.c
|
2016-07-05 16:30:43 +02:00
|
|
|
libwebpdsp_msa_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
|
|
|
|
libwebpdsp_msa_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
libwebpdsp_msa_la_LIBADD = libwebpdspdecode_msa.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 =
|
2017-01-19 09:21:40 +01:00
|
|
|
noinst_HEADERS += ../dec/vp8_dec.h
|
2012-04-24 02:18:42 +02:00
|
|
|
noinst_HEADERS += ../webp/decode.h
|
2011-09-02 23:30:08 +02:00
|
|
|
|
2015-12-16 22:15:53 +01:00
|
|
|
libwebpdsp_la_CPPFLAGS =
|
|
|
|
libwebpdsp_la_CPPFLAGS += $(AM_CPPFLAGS)
|
|
|
|
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
|
2016-04-19 08:31:42 +02:00
|
|
|
libwebpdsp_la_LIBADD += libwebpdsp_neon.la
|
2016-07-05 16:30:43 +02:00
|
|
|
libwebpdsp_la_LIBADD += libwebpdsp_msa.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
|
2016-04-19 08:31:42 +02:00
|
|
|
libwebpdspdecode_la_LIBADD += libwebpdspdecode_neon.la
|
2016-06-09 15:47:09 +02:00
|
|
|
libwebpdspdecode_la_LIBADD += libwebpdspdecode_msa.la
|
2013-01-23 01:22:20 +01:00
|
|
|
endif
|