]> git.sesse.net Git - vlc/blob - modules/video_filter/Makefile.am
mediacodec: don't loop in GetOutput
[vlc] / modules / video_filter / Makefile.am
1 video_filterdir = $(pluginsdir)/video_filter
2
3 noinst_HEADERS += video_filter/filter_picture.h
4
5 # video filters
6 libadjust_plugin_la_SOURCES = video_filter/adjust.c video_filter/adjust_sat_hue.c video_filter/adjust_sat_hue.h
7 libadjust_plugin_la_LIBADD = $(LIBM)
8 libalphamask_plugin_la_SOURCES = video_filter/alphamask.c
9 libanaglyph_plugin_la_SOURCES = video_filter/anaglyph.c
10 libantiflicker_plugin_la_SOURCES = video_filter/antiflicker.c
11 libball_plugin_la_SOURCES = video_filter/ball.c
12 libball_plugin_la_LIBADD = $(LIBM)
13 libblendbench_plugin_la_SOURCES = video_filter/blendbench.c
14 libbluescreen_plugin_la_SOURCES = video_filter/bluescreen.c
15 libcanvas_plugin_la_SOURCES = video_filter/canvas.c
16 libcolorthres_plugin_la_SOURCES = video_filter/colorthres.c
17 libcolorthres_plugin_la_LIBADD = $(LIBM)
18 libcroppadd_plugin_la_SOURCES = video_filter/croppadd.c
19 liberase_plugin_la_SOURCES = video_filter/erase.c
20 libextract_plugin_la_SOURCES = video_filter/extract.c
21 libextract_plugin_la_LIBADD = $(LIBM)
22 libfps_plugin_la_SOURCES = video_filter/fps.c
23 libfreeze_plugin_la_SOURCES = video_filter/freeze.c
24 libgaussianblur_plugin_la_SOURCES = video_filter/gaussianblur.c
25 libgaussianblur_plugin_la_LIBADD = $(LIBM)
26 libgradfun_plugin_la_SOURCES = video_filter/gradfun.c video_filter/gradfun.h
27 libgradient_plugin_la_SOURCES = video_filter/gradient.c
28 libgradient_plugin_la_LIBADD = $(LIBM)
29 libgrain_plugin_la_SOURCES = video_filter/grain.c
30 libgrain_plugin_la_LIBADD = $(LIBM)
31 libhqdn3d_plugin_la_SOURCES = video_filter/hqdn3d.c video_filter/hqdn3d.h
32 libhqdn3d_plugin_la_LIBADD = $(LIBM)
33 libinvert_plugin_la_SOURCES = video_filter/invert.c
34 libmagnify_plugin_la_SOURCES = video_filter/magnify.c
35 libmirror_plugin_la_SOURCES = video_filter/mirror.c
36 libmotionblur_plugin_la_SOURCES = video_filter/motionblur.c
37 libmotiondetect_plugin_la_SOURCES = video_filter/motiondetect.c
38 liboldmovie_plugin_la_SOURCES = video_filter/oldmovie.c
39 liboldmovie_plugin_la_LIBADD = $(LIBM)
40 libposterize_plugin_la_SOURCES = video_filter/posterize.c
41 libpsychedelic_plugin_la_SOURCES = video_filter/psychedelic.c
42 libpsychedelic_plugin_la_LIBADD = $(LIBM)
43 libpuzzle_plugin_la_SOURCES = \
44         video_filter/puzzle.c video_filter/puzzle.h \
45         video_filter/puzzle_bezier.c video_filter/puzzle_bezier.h \
46         video_filter/puzzle_lib.c video_filter/puzzle_lib.h \
47         video_filter/puzzle_mgt.c video_filter/puzzle_mgt.h \
48         video_filter/puzzle_pce.c video_filter/puzzle_pce.h
49 libpuzzle_plugin_la_LIBADD = $(LIBM)
50 libripple_plugin_la_SOURCES = video_filter/ripple.c
51 libripple_plugin_la_LIBADD = $(LIBM)
52 librotate_plugin_la_SOURCES = video_filter/rotate.c
53 librotate_plugin_la_LIBADD = libvlc_motion.la $(LIBM)
54 librotate_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
55 if HAVE_DARWIN
56 librotate_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
57 endif
58 libscale_plugin_la_SOURCES = video_filter/scale.c
59 libscene_plugin_la_SOURCES = video_filter/scene.c
60 libscene_plugin_la_LIBADD = $(LIBM)
61 libsepia_plugin_la_SOURCES = video_filter/sepia.c
62 libsharpen_plugin_la_SOURCES = video_filter/sharpen.c
63 libtransform_plugin_la_SOURCES = video_filter/transform.c
64 libvhs_plugin_la_SOURCES = video_filter/vhs.c
65 libwave_plugin_la_SOURCES = video_filter/wave.c
66 libwave_plugin_la_LIBADD = $(LIBM)
67 libyuvp_plugin_la_SOURCES = video_filter/yuvp.c
68
69 video_filter_LTLIBRARIES = \
70         libadjust_plugin.la \
71         libalphamask_plugin.la \
72         libball_plugin.la \
73         libblendbench_plugin.la \
74         libbluescreen_plugin.la \
75         libcanvas_plugin.la \
76         libcolorthres_plugin.la \
77         libcroppadd_plugin.la \
78         liberase_plugin.la \
79         libextract_plugin.la \
80         libgradient_plugin.la \
81         libgrain_plugin.la \
82         libgaussianblur_plugin.la \
83         libinvert_plugin.la \
84         libmagnify_plugin.la \
85         libmirror_plugin.la \
86         libmotionblur_plugin.la \
87         libmotiondetect_plugin.la \
88         libposterize_plugin.la \
89         libpsychedelic_plugin.la \
90         libripple_plugin.la \
91         libscale_plugin.la \
92         libscene_plugin.la \
93         libsepia_plugin.la \
94         libsharpen_plugin.la \
95         libtransform_plugin.la \
96         libwave_plugin.la \
97         libgradfun_plugin.la \
98         libyuvp_plugin.la \
99         libantiflicker_plugin.la \
100         libhqdn3d_plugin.la \
101         libanaglyph_plugin.la \
102         liboldmovie_plugin.la \
103         libvhs_plugin.la \
104         libfps_plugin.la \
105         libfreeze_plugin.la \
106         libpuzzle_plugin.la \
107         librotate_plugin.la
108
109 libatmo_plugin_la_SOURCES = video_filter/atmo/atmo.cpp \
110         video_filter/atmo/AtmoDefs.h \
111         video_filter/atmo/AtmoCalculations.cpp video_filter/atmo/AtmoCalculations.h \
112         video_filter/atmo/AtmoConfig.cpp video_filter/atmo/AtmoConfig.h \
113         video_filter/atmo/AtmoConnection.cpp video_filter/atmo/AtmoConnection.h \
114         video_filter/atmo/AtmoDynData.cpp video_filter/atmo/AtmoDynData.h \
115         video_filter/atmo/AtmoExternalCaptureInput.cpp video_filter/atmo/AtmoExternalCaptureInput.h \
116         video_filter/atmo/AtmoInput.cpp video_filter/atmo/AtmoInput.h \
117         video_filter/atmo/AtmoLiveView.cpp video_filter/atmo/AtmoLiveView.h \
118         video_filter/atmo/AtmoOutputFilter.cpp video_filter/atmo/AtmoOutputFilter.h \
119         video_filter/atmo/AtmoThread.cpp video_filter/atmo/AtmoThread.h \
120         video_filter/atmo/AtmoTools.cpp video_filter/atmo/AtmoTools.h \
121         video_filter/atmo/AtmoZoneDefinition.cpp video_filter/atmo/AtmoZoneDefinition.h \
122         video_filter/atmo/AtmoChannelAssignment.cpp video_filter/atmo/AtmoChannelAssignment.h \
123         video_filter/atmo/AtmoClassicConnection.cpp video_filter/atmo/AtmoClassicConnection.h \
124         video_filter/atmo/AtmoDmxSerialConnection.cpp video_filter/atmo/AtmoDmxSerialConnection.h \
125         video_filter/atmo/DmxTools.cpp video_filter/atmo/DmxTools.h \
126         video_filter/atmo/AtmoMultiConnection.cpp video_filter/atmo/AtmoMultiConnection.h \
127         video_filter/atmo/MoMoConnection.cpp video_filter/atmo/MoMoConnection.h \
128         video_filter/atmo/FnordlichtConnection.cpp video_filter/atmo/FnordlichtConnection.h \
129         video_filter/atmo/AtmoPacketQueue.cpp video_filter/atmo/AtmoPacketQueue.h
130 libatmo_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
131 video_filter_LTLIBRARIES += $(LTLIBatmo)
132 EXTRA_LTLIBRARIES += libatmo_plugin.la
133
134 libdeinterlace_plugin_la_SOURCES = \
135         video_filter/deinterlace/deinterlace.c video_filter/deinterlace/deinterlace.h \
136         video_filter/deinterlace/mmx.h video_filter/deinterlace/common.h \
137         video_filter/deinterlace/merge.c video_filter/deinterlace/merge.h \
138         video_filter/deinterlace/helpers.c video_filter/deinterlace/helpers.h \
139         video_filter/deinterlace/algo_basic.c video_filter/deinterlace/algo_basic.h \
140         video_filter/deinterlace/algo_x.c video_filter/deinterlace/algo_x.h \
141         video_filter/deinterlace/algo_yadif.c video_filter/deinterlace/algo_yadif.h \
142         video_filter/deinterlace/yadif.h video_filter/deinterlace/yadif_template.h \
143         video_filter/deinterlace/algo_phosphor.c video_filter/deinterlace/algo_phosphor.h \
144         video_filter/deinterlace/algo_ivtc.c video_filter/deinterlace/algo_ivtc.h
145 # inline ASM doesn't build with -O0
146 libdeinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) -O2
147 if HAVE_NEON
148 libdeinterlace_plugin_la_SOURCES += video_filter/deinterlace/merge_arm.S
149 libdeinterlace_plugin_la_CFLAGS += -DCAN_COMPILE_ARM
150 endif
151 video_filter_LTLIBRARIES += libdeinterlace_plugin.la
152
153 libdynamicoverlay_plugin_la_SOURCES = \
154         video_filter/dynamicoverlay/dynamicoverlay_buffer.c \
155         video_filter/dynamicoverlay/dynamicoverlay_queue.c \
156         video_filter/dynamicoverlay/dynamicoverlay_list.c \
157         video_filter/dynamicoverlay/dynamicoverlay_commands.c \
158         video_filter/dynamicoverlay/dynamicoverlay.c video_filter/dynamicoverlay/dynamicoverlay.h
159 if !HAVE_WIN32
160 video_filter_LTLIBRARIES += libdynamicoverlay_plugin.la
161 endif
162
163 libopencv_wrapper_plugin_la_SOURCES = video_filter/opencv_wrapper.c
164 libopencv_wrapper_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(OPENCV_CFLAGS)
165 libopencv_wrapper_plugin_la_LIBADD = $(OPENCV_LIBS)
166 libopencv_wrapper_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
167 video_filter_LTLIBRARIES += $(LTLIBopencv_wrapper)
168 EXTRA_LTLIBRARIES += libopencv_wrapper_plugin.la
169
170 libpostproc_plugin_la_SOURCES = video_filter/postproc.c
171 libpostproc_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(POSTPROC_CFLAGS) $(AVUTIL_CFLAGS)
172 libpostproc_plugin_la_LIBADD = $(LIBM) $(POSTPROC_LIBS) $(AVUTIL_LIBS)
173 libpostproc_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
174 video_filter_LTLIBRARIES += $(LTLIBpostproc)
175 EXTRA_LTLIBRARIES += libpostproc_plugin.la
176
177 # sub filters
178 libsubsdelay_plugin_la_SOURCES = video_filter/subsdelay.c
179 video_filter_LTLIBRARIES += libsubsdelay_plugin.la
180
181 # sub sources
182 libaudiobargraph_v_plugin_la_SOURCES = video_filter/audiobargraph_v.c
183 libaudiobargraph_v_plugin_la_LIBADD = $(LIBM)
184 liblogo_plugin_la_SOURCES = video_filter/logo.c
185 libmarq_plugin_la_SOURCES = video_filter/marq.c
186 libmosaic_plugin_la_SOURCES = video_filter/mosaic.c video_filter/mosaic.h
187 libmosaic_plugin_la_LIBADD = $(LIBM)
188 librss_plugin_la_SOURCES = video_filter/rss.c
189
190 video_filter_LTLIBRARIES += \
191         libaudiobargraph_v_plugin.la \
192         liblogo_plugin.la \
193         libmarq_plugin.la \
194         libmosaic_plugin.la \
195         librss_plugin.la
196
197 libremoteosd_plugin_la_SOURCES = video_filter/remoteosd.c video_filter/remoteosd_rfbproto.h
198 libremoteosd_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS)
199 libremoteosd_plugin_la_LIBADD = $(GCRYPT_LIBS) $(SOCKET_LIBS) $(LIBPTHREAD)
200 if HAVE_GCRYPT
201 video_filter_LTLIBRARIES += libremoteosd_plugin.la
202 endif
203
204 # misc
205 libblend_plugin_la_SOURCES = video_filter/blend.cpp
206 video_filter_LTLIBRARIES += libblend_plugin.la
207
208 libopencv_example_plugin_la_SOURCES = video_filter/opencv_example.cpp video_filter/filter_event_info.h
209 libopencv_example_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(OPENCV_CFLAGS)
210 libopencv_example_plugin_la_LIBADD = $(OPENCV_LIBS)
211 libopencv_example_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
212 video_filter_LTLIBRARIES += $(LTLIBopencv_example)
213 EXTRA_LTLIBRARIES += libopencv_example_plugin.la