1 chromadir = $(pluginsdir)/video_chroma
3 libchain_plugin_la_SOURCES = video_chroma/chain.c
5 libchroma_copy_la_SOURCES = video_chroma/copy.c video_chroma/copy.h
6 libchroma_copy_la_LDFLAGS = -static
7 noinst_LTLIBRARIES += libchroma_copy.la
9 libchroma_omx_plugin_la_SOURCES = video_chroma/omxdl.c
10 libchroma_omx_plugin_la_CFLAGS = $(AM_CFLAGS) $(OMXIP_CFLAGS)
11 libchroma_omx_plugin_la_LIBADD = $(OMXIP_LIBS)
13 libswscale_plugin_la_SOURCES = video_chroma/swscale.c codec/avcodec/chroma.c
14 libswscale_plugin_la_CFLAGS = $(AM_CFLAGS) $(SWSCALE_CFLAGS)
15 libswscale_plugin_la_LIBADD = $(SWSCALE_LIBS) $(LIBM)
16 libswscale_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)'
18 libgrey_yuv_plugin_la_SOURCES = video_chroma/grey_yuv.c
20 libi420_rgb_plugin_la_SOURCES = video_chroma/i420_rgb.c video_chroma/i420_rgb.h \
21 video_chroma/i420_rgb8.c video_chroma/i420_rgb16.c video_chroma/i420_rgb_c.h
22 libi420_rgb_plugin_la_LIBADD = $(LIBM)
24 libi420_yuy2_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h
25 libi420_yuy2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
26 -DMODULE_NAME_IS_i420_yuy2
28 libi420_nv12_plugin_la_SOURCES = video_chroma/i420_nv12.c
29 libi420_nv12_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
30 -DMODULE_NAME_IS_i420_nv12
31 libi420_nv12_plugin_la_LIBADD = libchroma_copy.la
33 libi422_i420_plugin_la_SOURCES = video_chroma/i422_i420.c
35 libi422_yuy2_plugin_la_SOURCES = video_chroma/i422_yuy2.c video_chroma/i422_yuy2.h
36 libi422_yuy2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
37 -DMODULE_NAME_IS_i422_yuy2
39 librv32_plugin_la_SOURCES = video_chroma/rv32.c
41 libyuy2_i420_plugin_la_SOURCES = video_chroma/yuy2_i420.c
43 libyuy2_i422_plugin_la_SOURCES = video_chroma/yuy2_i422.c
45 libyuvp_plugin_la_SOURCES = video_chroma/yuvp.c
47 chroma_LTLIBRARIES = \
48 libi420_rgb_plugin.la \
49 libi420_yuy2_plugin.la \
50 libi420_nv12_plugin.la \
51 libi422_i420_plugin.la \
52 libi422_yuy2_plugin.la \
53 libgrey_yuv_plugin.la \
54 libyuy2_i420_plugin.la \
55 libyuy2_i422_plugin.la \
61 EXTRA_LTLIBRARIES += libswscale_plugin.la libchroma_omx_plugin.la
64 libi420_yuy2_altivec_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h
65 libi420_yuy2_altivec_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
66 -DMODULE_NAME_IS_i420_yuy2_altivec
67 libi420_yuy2_altivec_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALTIVEC_CFLAGS)
70 chroma_LTLIBRARIES += \
71 libi420_yuy2_altivec_plugin.la
75 libi420_rgb_mmx_plugin_la_SOURCES = video_chroma/i420_rgb.c video_chroma/i420_rgb.h \
76 video_chroma/i420_rgb16_x86.c video_chroma/i420_rgb_mmx.h
77 libi420_rgb_mmx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMMX
79 libi420_yuy2_mmx_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h
80 libi420_yuy2_mmx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
81 -DMODULE_NAME_IS_i420_yuy2_mmx
83 libi422_yuy2_mmx_plugin_la_SOURCES = video_chroma/i422_yuy2.c video_chroma/i422_yuy2.h
84 libi422_yuy2_mmx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
85 -DMODULE_NAME_IS_i422_yuy2_mmx
88 chroma_LTLIBRARIES += \
89 libi420_rgb_mmx_plugin.la \
90 libi420_yuy2_mmx_plugin.la \
91 libi422_yuy2_mmx_plugin.la
95 libi420_rgb_sse2_plugin_la_SOURCES = video_chroma/i420_rgb.c video_chroma/i420_rgb.h \
96 video_chroma/i420_rgb16_x86.c video_chroma/i420_rgb_sse2.h
97 libi420_rgb_sse2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DSSE2
99 libi420_yuy2_sse2_plugin_la_SOURCES = video_chroma/i420_yuy2.c video_chroma/i420_yuy2.h
100 libi420_yuy2_sse2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
101 -DMODULE_NAME_IS_i420_yuy2_sse2
103 libi422_yuy2_sse2_plugin_la_SOURCES = video_chroma/i422_yuy2.c video_chroma/i422_yuy2.h
104 libi422_yuy2_sse2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
105 -DMODULE_NAME_IS_i422_yuy2_sse2
108 chroma_LTLIBRARIES += \
109 libi420_rgb_sse2_plugin.la \
110 libi420_yuy2_sse2_plugin.la \
111 libi422_yuy2_sse2_plugin.la
114 libcvpx_plugin_la_SOURCES = codec/vt_utils.c codec/vt_utils.h video_chroma/cvpx.c
116 libcvpx_plugin_la_CFLAGS = $(AM_CFLAGS) -miphoneos-version-min=8.0
119 libcvpx_plugin_la_CFLAGS = $(AM_CFLAGS) -mtvos-version-min=10.2
121 libcvpx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)' -Wl,-framework,Foundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo
122 libcvpx_plugin_la_LIBADD = libchroma_copy.la
123 EXTRA_LTLIBRARIES += libcvpx_plugin.la
124 chroma_LTLIBRARIES += $(LTLIBcvpx)
127 chroma_copy_sse_test_SOURCES = $(libchroma_copy_la_SOURCES)
128 chroma_copy_sse_test_CFLAGS = -DCOPY_TEST
129 chroma_copy_sse_test_LDADD = ../src/libvlccore.la
131 chroma_copy_test_SOURCES = $(libchroma_copy_la_SOURCES)
132 chroma_copy_test_CFLAGS = -DCOPY_TEST -DCOPY_TEST_NOOPTIM
133 chroma_copy_test_LDADD = ../src/libvlccore.la
136 check_PROGRAMS += chroma_copy_sse_test
137 TESTS += chroma_copy_sse_test
139 check_PROGRAMS += chroma_copy_test
140 TESTS += chroma_copy_test