1 video_filterdir = $(pluginsdir)/video_filter
3 noinst_HEADERS += video_filter/filter_picture.h
6 libedgedetection_plugin_la_SOURCES = video_filter/edgedetection.c
7 libedgedetection_plugin_la_LIBADD = $(LIBM)
8 libadjust_plugin_la_SOURCES = video_filter/adjust.c video_filter/adjust_sat_hue.c video_filter/adjust_sat_hue.h
9 libadjust_plugin_la_LIBADD = $(LIBM)
10 libalphamask_plugin_la_SOURCES = video_filter/alphamask.c
11 libanaglyph_plugin_la_SOURCES = video_filter/anaglyph.c
12 libantiflicker_plugin_la_SOURCES = video_filter/antiflicker.c
13 libball_plugin_la_SOURCES = video_filter/ball.c
14 libball_plugin_la_LIBADD = $(LIBM)
15 libblendbench_plugin_la_SOURCES = video_filter/blendbench.c
16 libbluescreen_plugin_la_SOURCES = video_filter/bluescreen.c
17 libcanvas_plugin_la_SOURCES = video_filter/canvas.c
18 libcolorthres_plugin_la_SOURCES = video_filter/colorthres.c
19 libcolorthres_plugin_la_LIBADD = $(LIBM)
20 libcroppadd_plugin_la_SOURCES = video_filter/croppadd.c
21 liberase_plugin_la_SOURCES = video_filter/erase.c
22 libextract_plugin_la_SOURCES = video_filter/extract.c
23 libextract_plugin_la_LIBADD = $(LIBM)
24 libfps_plugin_la_SOURCES = video_filter/fps.c
25 libfreeze_plugin_la_SOURCES = video_filter/freeze.c
26 libgaussianblur_plugin_la_SOURCES = video_filter/gaussianblur.c
27 libgaussianblur_plugin_la_LIBADD = $(LIBM)
28 libgradfun_plugin_la_SOURCES = video_filter/gradfun.c video_filter/gradfun.h
29 libgradient_plugin_la_SOURCES = video_filter/gradient.c
30 libgradient_plugin_la_LIBADD = $(LIBM)
31 libgrain_plugin_la_SOURCES = video_filter/grain.c
32 libgrain_plugin_la_LIBADD = $(LIBM)
33 libhqdn3d_plugin_la_SOURCES = video_filter/hqdn3d.c video_filter/hqdn3d.h
34 libhqdn3d_plugin_la_LIBADD = $(LIBM)
35 libinvert_plugin_la_SOURCES = video_filter/invert.c
36 libmagnify_plugin_la_SOURCES = video_filter/magnify.c
37 libmirror_plugin_la_SOURCES = video_filter/mirror.c
38 libmotionblur_plugin_la_SOURCES = video_filter/motionblur.c
39 libmotiondetect_plugin_la_SOURCES = video_filter/motiondetect.c
40 liboldmovie_plugin_la_SOURCES = video_filter/oldmovie.c
41 liboldmovie_plugin_la_LIBADD = $(LIBM)
42 libposterize_plugin_la_SOURCES = video_filter/posterize.c
43 libpsychedelic_plugin_la_SOURCES = video_filter/psychedelic.c
44 libpsychedelic_plugin_la_LIBADD = $(LIBM)
45 libpuzzle_plugin_la_SOURCES = \
46 video_filter/puzzle.c video_filter/puzzle.h \
47 video_filter/puzzle_bezier.c video_filter/puzzle_bezier.h \
48 video_filter/puzzle_lib.c video_filter/puzzle_lib.h \
49 video_filter/puzzle_mgt.c video_filter/puzzle_mgt.h \
50 video_filter/puzzle_pce.c video_filter/puzzle_pce.h
51 libpuzzle_plugin_la_LIBADD = $(LIBM)
52 libripple_plugin_la_SOURCES = video_filter/ripple.c
53 libripple_plugin_la_LIBADD = $(LIBM)
54 librotate_plugin_la_SOURCES = video_filter/rotate.c
55 librotate_plugin_la_LIBADD = libvlc_motion.la $(LIBM)
56 librotate_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
58 librotate_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
60 libscale_plugin_la_SOURCES = video_filter/scale.c
61 libscene_plugin_la_SOURCES = video_filter/scene.c
62 libscene_plugin_la_LIBADD = $(LIBM)
63 libsepia_plugin_la_SOURCES = video_filter/sepia.c
64 libsharpen_plugin_la_SOURCES = video_filter/sharpen.c
65 libtransform_plugin_la_SOURCES = video_filter/transform.c
66 libvhs_plugin_la_SOURCES = video_filter/vhs.c
67 libwave_plugin_la_SOURCES = video_filter/wave.c
68 libwave_plugin_la_LIBADD = $(LIBM)
70 video_filter_LTLIBRARIES = \
72 libalphamask_plugin.la \
74 libblendbench_plugin.la \
75 libbluescreen_plugin.la \
77 libcolorthres_plugin.la \
78 libcroppadd_plugin.la \
79 libedgedetection_plugin.la \
81 libextract_plugin.la \
82 libgradient_plugin.la \
84 libgaussianblur_plugin.la \
86 libmagnify_plugin.la \
88 libmotionblur_plugin.la \
89 libmotiondetect_plugin.la \
90 libposterize_plugin.la \
91 libpsychedelic_plugin.la \
96 libsharpen_plugin.la \
97 libtransform_plugin.la \
99 libgradfun_plugin.la \
100 libantiflicker_plugin.la \
101 libhqdn3d_plugin.la \
102 libanaglyph_plugin.la \
103 liboldmovie_plugin.la \
106 libfreeze_plugin.la \
107 libpuzzle_plugin.la \
111 # MacOSX hardware video filters
112 libci_filters_plugin_la_SOURCES = video_filter/ci_filters.m codec/vt_utils.c codec/vt_utils.h
113 libci_filters_plugin_la_CFLAGS = $(AM_CFLAGS)
114 libci_filters_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)' \
115 -Wl,-framework,Foundation -Wl,-framework,CoreGraphics -Wl,-framework,CoreImage -Wl,-framework,CoreVideo
117 video_filter_LTLIBRARIES += \
118 libci_filters_plugin.la
121 libdeinterlace_plugin_la_SOURCES = \
122 video_filter/deinterlace/deinterlace.c video_filter/deinterlace/deinterlace.h \
123 video_filter/deinterlace/mmx.h \
124 video_filter/deinterlace/common.c video_filter/deinterlace/common.h \
125 video_filter/deinterlace/merge.c video_filter/deinterlace/merge.h \
126 video_filter/deinterlace/helpers.c video_filter/deinterlace/helpers.h \
127 video_filter/deinterlace/algo_basic.c video_filter/deinterlace/algo_basic.h \
128 video_filter/deinterlace/algo_x.c video_filter/deinterlace/algo_x.h \
129 video_filter/deinterlace/algo_yadif.c video_filter/deinterlace/algo_yadif.h \
130 video_filter/deinterlace/yadif.h video_filter/deinterlace/yadif_template.h \
131 video_filter/deinterlace/algo_phosphor.c video_filter/deinterlace/algo_phosphor.h \
132 video_filter/deinterlace/algo_ivtc.c video_filter/deinterlace/algo_ivtc.h
133 # inline ASM doesn't build with -O0
134 libdeinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) -O2
136 libdeinterlace_plugin_la_SOURCES += video_filter/deinterlace/merge_arm.S
137 libdeinterlace_plugin_la_CFLAGS += -DCAN_COMPILE_ARM
140 libdeinterlace_plugin_la_SOURCES += video_filter/deinterlace/merge_arm64.S
141 libdeinterlace_plugin_la_CFLAGS += -DCAN_COMPILE_ARM64
143 video_filter_LTLIBRARIES += libdeinterlace_plugin.la
145 libopencv_wrapper_plugin_la_SOURCES = video_filter/opencv_wrapper.c
146 libopencv_wrapper_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(OPENCV_CFLAGS)
147 libopencv_wrapper_plugin_la_LIBADD = $(OPENCV_LIBS)
148 libopencv_wrapper_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
149 video_filter_LTLIBRARIES += $(LTLIBopencv_wrapper)
150 EXTRA_LTLIBRARIES += libopencv_wrapper_plugin.la
152 libpostproc_plugin_la_SOURCES = video_filter/postproc.c
153 libpostproc_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(POSTPROC_CFLAGS) $(AVUTIL_CFLAGS)
154 libpostproc_plugin_la_LIBADD = $(LIBM) $(POSTPROC_LIBS) $(AVUTIL_LIBS)
155 libpostproc_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
156 video_filter_LTLIBRARIES += $(LTLIBpostproc)
157 EXTRA_LTLIBRARIES += libpostproc_plugin.la
160 libblend_plugin_la_SOURCES = video_filter/blend.cpp
161 video_filter_LTLIBRARIES += libblend_plugin.la
163 libopencv_example_plugin_la_SOURCES = video_filter/opencv_example.cpp video_filter/filter_event_info.h
164 libopencv_example_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(OPENCV_CFLAGS)
165 libopencv_example_plugin_la_LIBADD = $(OPENCV_LIBS)
166 libopencv_example_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
167 video_filter_LTLIBRARIES += $(LTLIBopencv_example)
168 EXTRA_LTLIBRARIES += libopencv_example_plugin.la