Commit 928e2fbf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

video_chroma: avoid genmf

parent 9ccb4a6d
......@@ -655,7 +655,7 @@ AC_CHECK_FUNC(getopt_long,, [
AC_SUBST(GNUGETOPT_LIBS)
AC_CHECK_LIB(m,cos,[
VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom rotate noise grain scene kate lua chorus_flanger freetype avcodec access_avio swscale postproc i420_rgb faad twolame equalizer spatializer param_eq samplerate freetype mpc dmo quicktime qt4 compressor headphone_channel_mixer normvol audiobargraph_a audiobargraph_v speex opus mono colorthres extract ball access_imem hotkeys mosaic gaussianblur x262 x26410b hqdn3d anaglyph oldrc ncurses oldmovie glspectrum],[-lm])
VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom rotate noise grain scene kate lua chorus_flanger freetype avcodec access_avio swscale postproc faad twolame equalizer spatializer param_eq samplerate freetype mpc dmo quicktime qt4 compressor headphone_channel_mixer normvol audiobargraph_a audiobargraph_v speex opus mono colorthres extract ball access_imem hotkeys mosaic gaussianblur x262 x26410b hqdn3d anaglyph oldrc ncurses oldmovie glspectrum],[-lm])
LIBM="-lm"
], [
LIBM=""
......
basedir = video_chroma
include $(top_srcdir)/modules/common.am
AUTOMAKE_OPTIONS = subdir-objects
SOURCES_i420_rgb = \
i420_rgb.c \
i420_rgb.h \
i420_rgb8.c \
i420_rgb16.c \
i420_rgb_c.h \
$(NULL)
libchain_plugin_la_SOURCES = chain.c
libchain_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
SOURCES_i420_yuy2 = \
i420_yuy2.c \
i420_yuy2.h \
$(NULL)
libchroma_omx_plugin_la_SOURCES = omxdl.c
libchroma_omx_plugin_la_CFLAGS = $(AM_CFLAGS) $(OMXIP_CFLAGS)
libchroma_omx_plugin_la_LIBADD = $(AM_LIBADD) $(OMXIP_LIBS)
libswscale_plugin_la_SOURCES = swscale.c ../codec/avcodec/chroma.c
libswscale_plugin_la_CFLAGS = $(AM_CFLAGS) $(SWSCALE_CFLAGS)
libswscale_plugin_la_LIBADD = $(AM_LIBADD) $(SWSCALE_LIBS)
SOURCES_i422_yuy2 = \
i422_yuy2.c \
i422_yuy2.h \
$(NULL)
libgrey_yuv_plugin_la_SOURCES = grey_yuv.c
libgrey_yuv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
SOURCES_i422_i420 = \
i422_i420.c \
$(NULL)
libi420_rgb_plugin_la_SOURCES = i420_rgb.c i420_rgb.h \
i420_rgb8.c i420_rgb16.c i420_rgb_c.h
libi420_rgb_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libi420_rgb_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM)
SOURCES_grey_yuv = \
grey_yuv.c \
$(NULL)
libi420_yuy2_plugin_la_SOURCES = i420_yuy2.c i420_yuy2.h
libi420_yuy2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
SOURCES_yuy2_i422 = \
yuy2_i422.c \
$(NULL)
libi422_i420_plugin_la_SOURCES = i422_i420.c
libi422_i420_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
SOURCES_yuy2_i420 = \
yuy2_i420.c \
$(NULL)
libi422_yuy2_plugin_la_SOURCES = i422_yuy2.c i422_yuy2.h
libi422_yuy2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
SOURCES_rv32 = rv32.c
librv32_plugin_la_SOURCES = rv32.c
librv32_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libchain_plugin_la_SOURCES = chain.c
libchain_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
if HAVE_WIN32
libchain_plugin_la_DEPENDENCIES = libchain_plugin.rc.o
endif
libyuy2_i420_plugin_la_SOURCES = yuy2_i420.c
libyuy2_i420_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libswscale_plugin_la_SOURCES = swscale.c ../codec/avcodec/chroma.c
libswscale_plugin_la_CFLAGS = $(AM_CFLAGS) $(SWSCALE_CFLAGS)
libswscale_plugin_la_LIBADD = $(AM_LIBADD) $(SWSCALE_LIBS)
if HAVE_WIN32
libswscale_plugin_la_DEPENDENCIES = libswscale_plugin.rc.o
endif
EXTRA_LTLIBRARIES += libswscale_plugin.la
libyuy2_i422_plugin_la_SOURCES = yuy2_i422.c
libyuy2_i422_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libvlc_LTLIBRARIES += \
libvlc_LTLIBRARIES = \
libi420_rgb_plugin.la \
libi420_yuy2_plugin.la \
libi422_i420_plugin.la \
......@@ -62,7 +52,4 @@ libvlc_LTLIBRARIES += \
libchain_plugin.la \
$(LTLIBswscale)
libchroma_omx_plugin_la_SOURCES = omxdl.c
libchroma_omx_plugin_la_CFLAGS = $(AM_CFLAGS) $(OMXIP_CFLAGS)
libchroma_omx_plugin_la_LIBADD = $(AM_LIBADD) $(OMXIP_LIBS)
EXTRA_LTLIBRARIES += libchroma_omx_plugin.la
EXTRA_LTLIBRARIES = libswscale_plugin.la libchroma_omx_plugin.la
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment