• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
2noinst_LTLIBRARIES =
3noinst_LTLIBRARIES += libwebpdsp.la
4noinst_LTLIBRARIES += libwebpdsp_sse2.la
5noinst_LTLIBRARIES += libwebpdspdecode_sse2.la
6noinst_LTLIBRARIES += libwebpdsp_sse41.la
7noinst_LTLIBRARIES += libwebpdspdecode_sse41.la
8noinst_LTLIBRARIES += libwebpdsp_neon.la
9noinst_LTLIBRARIES += libwebpdspdecode_neon.la
10noinst_LTLIBRARIES += libwebpdsp_msa.la
11noinst_LTLIBRARIES += libwebpdspdecode_msa.la
12noinst_LTLIBRARIES += libwebpdsp_mips32.la
13noinst_LTLIBRARIES += libwebpdspdecode_mips32.la
14noinst_LTLIBRARIES += libwebpdsp_mips_dsp_r2.la
15noinst_LTLIBRARIES += libwebpdspdecode_mips_dsp_r2.la
16
17if BUILD_LIBWEBPDECODER
18  noinst_LTLIBRARIES += libwebpdspdecode.la
19endif
20
21common_HEADERS = ../webp/types.h
22commondir = $(includedir)/webp
23
24COMMON_SOURCES =
25COMMON_SOURCES += alpha_processing.c
26COMMON_SOURCES += cpu.c
27COMMON_SOURCES += cpu.h
28COMMON_SOURCES += dec.c
29COMMON_SOURCES += dec_clip_tables.c
30COMMON_SOURCES += dsp.h
31COMMON_SOURCES += filters.c
32COMMON_SOURCES += lossless.c
33COMMON_SOURCES += lossless.h
34COMMON_SOURCES += lossless_common.h
35COMMON_SOURCES += rescaler.c
36COMMON_SOURCES += upsampling.c
37COMMON_SOURCES += yuv.c
38COMMON_SOURCES += yuv.h
39
40ENC_SOURCES =
41ENC_SOURCES += cost.c
42ENC_SOURCES += enc.c
43ENC_SOURCES += lossless_enc.c
44ENC_SOURCES += quant.h
45ENC_SOURCES += ssim.c
46
47libwebpdspdecode_sse41_la_SOURCES =
48libwebpdspdecode_sse41_la_SOURCES += alpha_processing_sse41.c
49libwebpdspdecode_sse41_la_SOURCES += dec_sse41.c
50libwebpdspdecode_sse41_la_SOURCES += lossless_sse41.c
51libwebpdspdecode_sse41_la_SOURCES += upsampling_sse41.c
52libwebpdspdecode_sse41_la_SOURCES += yuv_sse41.c
53libwebpdspdecode_sse41_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
54libwebpdspdecode_sse41_la_CFLAGS = $(AM_CFLAGS) $(SSE41_FLAGS)
55
56libwebpdspdecode_sse2_la_SOURCES =
57libwebpdspdecode_sse2_la_SOURCES += alpha_processing_sse2.c
58libwebpdspdecode_sse2_la_SOURCES += common_sse2.h
59libwebpdspdecode_sse2_la_SOURCES += dec_sse2.c
60libwebpdspdecode_sse2_la_SOURCES += filters_sse2.c
61libwebpdspdecode_sse2_la_SOURCES += lossless_sse2.c
62libwebpdspdecode_sse2_la_SOURCES += rescaler_sse2.c
63libwebpdspdecode_sse2_la_SOURCES += upsampling_sse2.c
64libwebpdspdecode_sse2_la_SOURCES += yuv_sse2.c
65libwebpdspdecode_sse2_la_CPPFLAGS = $(libwebpdsp_sse2_la_CPPFLAGS)
66libwebpdspdecode_sse2_la_CFLAGS = $(libwebpdsp_sse2_la_CFLAGS)
67
68libwebpdspdecode_neon_la_SOURCES =
69libwebpdspdecode_neon_la_SOURCES += alpha_processing_neon.c
70libwebpdspdecode_neon_la_SOURCES += dec_neon.c
71libwebpdspdecode_neon_la_SOURCES += filters_neon.c
72libwebpdspdecode_neon_la_SOURCES += lossless_neon.c
73libwebpdspdecode_neon_la_SOURCES += neon.h
74libwebpdspdecode_neon_la_SOURCES += rescaler_neon.c
75libwebpdspdecode_neon_la_SOURCES += upsampling_neon.c
76libwebpdspdecode_neon_la_SOURCES += yuv_neon.c
77libwebpdspdecode_neon_la_CPPFLAGS = $(libwebpdsp_neon_la_CPPFLAGS)
78libwebpdspdecode_neon_la_CFLAGS = $(libwebpdsp_neon_la_CFLAGS)
79
80libwebpdspdecode_msa_la_SOURCES =
81libwebpdspdecode_msa_la_SOURCES += dec_msa.c
82libwebpdspdecode_msa_la_SOURCES += filters_msa.c
83libwebpdspdecode_msa_la_SOURCES += lossless_msa.c
84libwebpdspdecode_msa_la_SOURCES += msa_macro.h
85libwebpdspdecode_msa_la_SOURCES += rescaler_msa.c
86libwebpdspdecode_msa_la_SOURCES += upsampling_msa.c
87libwebpdspdecode_msa_la_CPPFLAGS = $(libwebpdsp_msa_la_CPPFLAGS)
88libwebpdspdecode_msa_la_CFLAGS = $(libwebpdsp_msa_la_CFLAGS)
89
90libwebpdspdecode_mips32_la_SOURCES =
91libwebpdspdecode_mips32_la_SOURCES += dec_mips32.c
92libwebpdspdecode_mips32_la_SOURCES += mips_macro.h
93libwebpdspdecode_mips32_la_SOURCES += rescaler_mips32.c
94libwebpdspdecode_mips32_la_SOURCES += yuv_mips32.c
95libwebpdspdecode_mips32_la_CPPFLAGS = $(libwebpdsp_mips32_la_CPPFLAGS)
96libwebpdspdecode_mips32_la_CFLAGS = $(libwebpdsp_mips32_la_CFLAGS)
97
98libwebpdspdecode_mips_dsp_r2_la_SOURCES =
99libwebpdspdecode_mips_dsp_r2_la_SOURCES += alpha_processing_mips_dsp_r2.c
100libwebpdspdecode_mips_dsp_r2_la_SOURCES += dec_mips_dsp_r2.c
101libwebpdspdecode_mips_dsp_r2_la_SOURCES += filters_mips_dsp_r2.c
102libwebpdspdecode_mips_dsp_r2_la_SOURCES += lossless_mips_dsp_r2.c
103libwebpdspdecode_mips_dsp_r2_la_SOURCES += mips_macro.h
104libwebpdspdecode_mips_dsp_r2_la_SOURCES += rescaler_mips_dsp_r2.c
105libwebpdspdecode_mips_dsp_r2_la_SOURCES += upsampling_mips_dsp_r2.c
106libwebpdspdecode_mips_dsp_r2_la_SOURCES += yuv_mips_dsp_r2.c
107libwebpdspdecode_mips_dsp_r2_la_CPPFLAGS = $(libwebpdsp_mips_dsp_r2_la_CPPFLAGS)
108libwebpdspdecode_mips_dsp_r2_la_CFLAGS = $(libwebpdsp_mips_dsp_r2_la_CFLAGS)
109
110libwebpdsp_sse2_la_SOURCES =
111libwebpdsp_sse2_la_SOURCES += cost_sse2.c
112libwebpdsp_sse2_la_SOURCES += enc_sse2.c
113libwebpdsp_sse2_la_SOURCES += lossless_enc_sse2.c
114libwebpdsp_sse2_la_SOURCES += ssim_sse2.c
115libwebpdsp_sse2_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
116libwebpdsp_sse2_la_CFLAGS = $(AM_CFLAGS) $(SSE2_FLAGS)
117libwebpdsp_sse2_la_LIBADD = libwebpdspdecode_sse2.la
118
119libwebpdsp_sse41_la_SOURCES =
120libwebpdsp_sse41_la_SOURCES += enc_sse41.c
121libwebpdsp_sse41_la_SOURCES += lossless_enc_sse41.c
122libwebpdsp_sse41_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
123libwebpdsp_sse41_la_CFLAGS = $(AM_CFLAGS) $(SSE41_FLAGS)
124libwebpdsp_sse41_la_LIBADD = libwebpdspdecode_sse41.la
125
126libwebpdsp_neon_la_SOURCES =
127libwebpdsp_neon_la_SOURCES += cost_neon.c
128libwebpdsp_neon_la_SOURCES += enc_neon.c
129libwebpdsp_neon_la_SOURCES += lossless_enc_neon.c
130libwebpdsp_neon_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
131libwebpdsp_neon_la_CFLAGS = $(AM_CFLAGS) $(NEON_FLAGS)
132libwebpdsp_neon_la_LIBADD = libwebpdspdecode_neon.la
133
134libwebpdsp_msa_la_SOURCES =
135libwebpdsp_msa_la_SOURCES += enc_msa.c
136libwebpdsp_msa_la_SOURCES += lossless_enc_msa.c
137libwebpdsp_msa_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
138libwebpdsp_msa_la_CFLAGS = $(AM_CFLAGS)
139libwebpdsp_msa_la_LIBADD = libwebpdspdecode_msa.la
140
141libwebpdsp_mips32_la_SOURCES =
142libwebpdsp_mips32_la_SOURCES += cost_mips32.c
143libwebpdsp_mips32_la_SOURCES += enc_mips32.c
144libwebpdsp_mips32_la_SOURCES += lossless_enc_mips32.c
145libwebpdsp_mips32_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
146libwebpdsp_mips32_la_CFLAGS = $(AM_CFLAGS)
147libwebpdsp_mips32_la_LIBADD = libwebpdspdecode_mips32.la
148
149libwebpdsp_mips_dsp_r2_la_SOURCES =
150libwebpdsp_mips_dsp_r2_la_SOURCES += cost_mips_dsp_r2.c
151libwebpdsp_mips_dsp_r2_la_SOURCES += enc_mips_dsp_r2.c
152libwebpdsp_mips_dsp_r2_la_SOURCES += lossless_enc_mips_dsp_r2.c
153libwebpdsp_mips_dsp_r2_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
154libwebpdsp_mips_dsp_r2_la_CFLAGS = $(AM_CFLAGS)
155libwebpdsp_mips_dsp_r2_la_LIBADD = libwebpdspdecode_mips_dsp_r2.la
156
157libwebpdsp_la_SOURCES = $(COMMON_SOURCES) $(ENC_SOURCES)
158
159noinst_HEADERS =
160noinst_HEADERS += ../dec/vp8_dec.h
161noinst_HEADERS += ../webp/decode.h
162
163libwebpdsp_la_CPPFLAGS =
164libwebpdsp_la_CPPFLAGS += $(AM_CPPFLAGS)
165libwebpdsp_la_CPPFLAGS += $(USE_SWAP_16BIT_CSP)
166libwebpdsp_la_LDFLAGS = -lm
167libwebpdsp_la_LIBADD =
168libwebpdsp_la_LIBADD += libwebpdsp_sse2.la
169libwebpdsp_la_LIBADD += libwebpdsp_sse41.la
170libwebpdsp_la_LIBADD += libwebpdsp_neon.la
171libwebpdsp_la_LIBADD += libwebpdsp_msa.la
172libwebpdsp_la_LIBADD += libwebpdsp_mips32.la
173libwebpdsp_la_LIBADD += libwebpdsp_mips_dsp_r2.la
174
175if BUILD_LIBWEBPDECODER
176  libwebpdspdecode_la_SOURCES = $(COMMON_SOURCES)
177
178  libwebpdspdecode_la_CPPFLAGS = $(libwebpdsp_la_CPPFLAGS)
179  libwebpdspdecode_la_LDFLAGS = $(libwebpdsp_la_LDFLAGS)
180  libwebpdspdecode_la_LIBADD =
181  libwebpdspdecode_la_LIBADD += libwebpdspdecode_sse2.la
182  libwebpdspdecode_la_LIBADD += libwebpdspdecode_sse41.la
183  libwebpdspdecode_la_LIBADD += libwebpdspdecode_neon.la
184  libwebpdspdecode_la_LIBADD += libwebpdspdecode_msa.la
185  libwebpdspdecode_la_LIBADD += libwebpdspdecode_mips32.la
186  libwebpdspdecode_la_LIBADD += libwebpdspdecode_mips_dsp_r2.la
187endif
188