2011-09-14 19:12:41 +00:00
|
|
|
plugin_LTLIBRARIES = libgstvaapi.la
|
2010-01-12 15:51:39 +00:00
|
|
|
|
2010-03-12 23:53:48 +00:00
|
|
|
libgstvaapi_CFLAGS = \
|
2011-12-09 09:45:20 +00:00
|
|
|
$(LIBVA_CFLAGS) \
|
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
|
|
|
$(NULL)
|
2010-03-12 23:53:48 +00:00
|
|
|
|
2012-07-23 14:15:38 +00:00
|
|
|
libgstvaapi_LIBS =
|
|
|
|
|
2012-08-01 13:46:19 +00:00
|
|
|
if USE_DRM
|
|
|
|
libgstvaapi_LIBS += \
|
2013-03-20 10:44:10 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-drm-$(GST_API_VERSION).la
|
2012-08-01 13:46:19 +00:00
|
|
|
endif
|
|
|
|
|
2012-07-23 14:15:38 +00:00
|
|
|
if USE_X11
|
|
|
|
libgstvaapi_LIBS += \
|
2013-03-20 10:44:10 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-$(GST_API_VERSION).la
|
2010-03-29 14:13:26 +00:00
|
|
|
endif
|
2010-03-12 23:53:48 +00:00
|
|
|
|
2012-07-23 14:15:38 +00:00
|
|
|
if USE_GLX
|
|
|
|
libgstvaapi_LIBS += \
|
2013-03-20 10:44:10 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-$(GST_API_VERSION).la
|
2012-07-23 14:15:38 +00:00
|
|
|
endif
|
|
|
|
|
2012-07-24 07:45:25 +00:00
|
|
|
if USE_WAYLAND
|
2013-11-22 10:28:09 +00:00
|
|
|
libgstvaapi_CFLAGS += \
|
|
|
|
$(WAYLAND_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-07-24 07:45:25 +00:00
|
|
|
libgstvaapi_LIBS += \
|
2013-03-20 10:44:10 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-wayland-$(GST_API_VERSION).la
|
2012-07-24 07:45:25 +00:00
|
|
|
endif
|
|
|
|
|
2013-03-21 15:09:42 +00:00
|
|
|
libgstvaapi_source_c = \
|
2011-09-14 19:12:41 +00:00
|
|
|
gstvaapi.c \
|
|
|
|
gstvaapidecode.c \
|
2013-12-13 09:24:26 +00:00
|
|
|
gstvaapipluginbase.c \
|
2011-11-04 20:50:15 +00:00
|
|
|
gstvaapipluginutil.c \
|
2013-11-18 15:20:43 +00:00
|
|
|
gstvaapipostproc.c \
|
2010-03-05 17:11:52 +00:00
|
|
|
gstvaapisink.c \
|
2012-11-20 13:28:55 +00:00
|
|
|
gstvaapiuploader.c \
|
2013-03-21 16:06:43 +00:00
|
|
|
gstvaapivideobuffer.c \
|
2013-05-22 16:07:52 +00:00
|
|
|
gstvaapivideocontext.c \
|
2013-03-26 09:31:10 +00:00
|
|
|
gstvaapivideometa.c \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-03-21 15:09:42 +00:00
|
|
|
libgstvaapi_source_h = \
|
2011-09-14 19:12:41 +00:00
|
|
|
gstvaapidecode.h \
|
2013-12-13 09:24:26 +00:00
|
|
|
gstvaapipluginbase.h \
|
2011-11-04 20:50:15 +00:00
|
|
|
gstvaapipluginutil.h \
|
2013-11-18 15:20:43 +00:00
|
|
|
gstvaapipostproc.h \
|
2010-03-05 17:11:52 +00:00
|
|
|
gstvaapisink.h \
|
2012-11-20 13:28:55 +00:00
|
|
|
gstvaapiuploader.h \
|
2013-03-21 16:06:43 +00:00
|
|
|
gstvaapivideobuffer.h \
|
2013-05-22 16:07:52 +00:00
|
|
|
gstvaapivideocontext.h \
|
2013-03-26 09:31:10 +00:00
|
|
|
gstvaapivideometa.h \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-07-29 05:44:48 +00:00
|
|
|
libgstvaapi_enc_source_c = \
|
|
|
|
gstvaapiencode.c \
|
2013-07-29 08:02:56 +00:00
|
|
|
gstvaapiencode_h264.c \
|
2013-11-20 08:21:32 +00:00
|
|
|
gstvaapiencode_mpeg2.c \
|
2013-07-29 05:44:48 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_enc_source_h = \
|
|
|
|
gstvaapiencode.h \
|
2013-07-29 08:02:56 +00:00
|
|
|
gstvaapiencode_h264.h \
|
2013-11-20 08:21:32 +00:00
|
|
|
gstvaapiencode_mpeg2.h \
|
2013-07-29 05:44:48 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if USE_ENCODERS
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_enc_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_enc_source_h)
|
|
|
|
endif
|
|
|
|
|
2013-07-22 09:58:33 +00:00
|
|
|
libgstvaapi_x11_source_c = gstvaapivideoconverter_x11.c
|
|
|
|
libgstvaapi_x11_source_h = gstvaapivideoconverter_x11.h
|
|
|
|
|
|
|
|
if USE_X11
|
2013-05-21 16:42:39 +00:00
|
|
|
if !USE_GST_API_1_2p
|
2013-07-22 09:58:33 +00:00
|
|
|
libgstvaapi_source_c += $(libgstvaapi_x11_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_x11_source_h)
|
|
|
|
endif
|
2013-05-21 16:42:39 +00:00
|
|
|
endif
|
2013-07-22 09:58:33 +00:00
|
|
|
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_glx_source_c = gstvaapivideoconverter_glx.c
|
|
|
|
libgstvaapi_glx_source_h = gstvaapivideoconverter_glx.h
|
|
|
|
|
2013-03-21 15:09:42 +00:00
|
|
|
if USE_GLX
|
2013-05-21 16:42:39 +00:00
|
|
|
if !USE_GST_API_1_2p
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_source_c += $(libgstvaapi_glx_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_glx_source_h)
|
2013-03-21 15:09:42 +00:00
|
|
|
endif
|
2013-05-21 16:42:39 +00:00
|
|
|
endif
|
2013-03-21 15:09:42 +00:00
|
|
|
|
2013-07-15 11:41:00 +00:00
|
|
|
libgstvaapi_1_2p_source_c = \
|
|
|
|
gstvaapivideometa_texture.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_1_2p_source_h = \
|
|
|
|
gstvaapivideometa_texture.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if USE_GST_API_1_2p
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_1_2p_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_1_2p_source_h)
|
|
|
|
endif
|
|
|
|
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_1_0p_source_c = \
|
2012-11-08 14:41:22 +00:00
|
|
|
gstvaapivideobufferpool.c \
|
|
|
|
gstvaapivideomemory.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_1_0p_source_h = \
|
2012-11-08 14:41:22 +00:00
|
|
|
gstvaapivideobufferpool.h \
|
|
|
|
gstvaapivideomemory.h \
|
|
|
|
$(NULL)
|
2013-04-10 13:31:41 +00:00
|
|
|
|
|
|
|
if USE_GST_API_1_0p
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_1_0p_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_1_0p_source_h)
|
2013-03-20 13:40:57 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_GST_API_0_10
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_0_10_source_c = \
|
2013-03-20 13:40:57 +00:00
|
|
|
gstvaapidownload.c \
|
|
|
|
gstvaapiupload.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_0_10_source_h = \
|
2013-03-20 13:40:57 +00:00
|
|
|
gstvaapidownload.h \
|
|
|
|
gstvaapiupload.h \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2012-11-08 14:41:22 +00:00
|
|
|
|
2013-04-10 13:31:41 +00:00
|
|
|
if USE_GST_API_0_10
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_0_10_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_0_10_source_h)
|
|
|
|
endif
|
|
|
|
|
2013-03-21 15:09:42 +00:00
|
|
|
libgstvaapi_la_SOURCES = $(libgstvaapi_source_c)
|
|
|
|
noinst_HEADERS = $(libgstvaapi_source_h)
|
|
|
|
|
2011-09-14 19:12:41 +00:00
|
|
|
libgstvaapi_la_CFLAGS = \
|
2010-03-12 23:53:48 +00:00
|
|
|
$(libgstvaapi_CFLAGS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_CFLAGS) \
|
2011-09-14 19:12:41 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2010-05-12 11:43:50 +00:00
|
|
|
$(GST_INTERFACES_CFLAGS) \
|
2011-11-04 20:50:15 +00:00
|
|
|
$(GST_BASEVIDEO_CFLAGS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
|
2011-09-14 19:12:41 +00:00
|
|
|
libgstvaapi_la_LIBADD = \
|
2010-03-12 23:53:48 +00:00
|
|
|
$(libgstvaapi_LIBS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_LIBS) \
|
2011-09-14 19:12:41 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
2010-03-05 17:11:52 +00:00
|
|
|
$(GST_VIDEO_LIBS) \
|
2010-05-12 11:43:50 +00:00
|
|
|
$(GST_INTERFACES_LIBS) \
|
2011-11-04 20:50:15 +00:00
|
|
|
$(GST_BASEVIDEO_LIBS) \
|
2012-12-21 13:29:01 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstvaapi-videoutils.la
|
2010-03-05 17:11:52 +00:00
|
|
|
|
2011-09-14 19:12:41 +00:00
|
|
|
libgstvaapi_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
libgstvaapi_la_LIBTOOLFLAGS = --tag=disable-static
|
2010-01-12 15:51:39 +00:00
|
|
|
|
2013-04-10 13:31:41 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(libgstvaapi_glx_source_c) \
|
|
|
|
$(libgstvaapi_glx_source_h) \
|
2013-07-15 11:41:00 +00:00
|
|
|
$(libgstvaapi_1_2p_source_c) \
|
|
|
|
$(libgstvaapi_1_2p_source_h) \
|
2013-04-10 13:31:41 +00:00
|
|
|
$(libgstvaapi_1_0p_source_c) \
|
|
|
|
$(libgstvaapi_1_0p_source_h) \
|
|
|
|
$(libgstvaapi_0_10_source_c) \
|
|
|
|
$(libgstvaapi_0_10_source_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-01-12 15:51:39 +00:00
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|