2016-09-09 22:43:25 +00:00
|
|
|
plugin_LTLIBRARIES = libgstmsdk.la
|
|
|
|
|
|
|
|
libgstmsdk_la_SOURCES = \
|
2018-02-13 21:41:28 +00:00
|
|
|
gstmsdkcontext.c \
|
2018-02-13 22:50:08 +00:00
|
|
|
gstmsdkcontextutil.c \
|
2018-02-13 22:44:08 +00:00
|
|
|
gstmsdksystemmemory.c \
|
|
|
|
gstmsdkvideomemory.c \
|
|
|
|
gstmsdkbufferpool.c \
|
2016-11-07 20:32:38 +00:00
|
|
|
gstmsdkh264dec.c \
|
2016-09-09 22:43:25 +00:00
|
|
|
gstmsdkh264enc.c \
|
2016-11-29 03:14:20 +00:00
|
|
|
gstmsdkh265dec.c \
|
2016-09-09 22:43:25 +00:00
|
|
|
gstmsdkh265enc.c \
|
2016-11-22 21:55:00 +00:00
|
|
|
gstmsdkmjpegdec.c \
|
2016-10-05 22:32:43 +00:00
|
|
|
gstmsdkmjpegenc.c \
|
2018-01-10 19:40:24 +00:00
|
|
|
gstmsdkmpeg2dec.c \
|
2016-09-09 22:43:25 +00:00
|
|
|
gstmsdkmpeg2enc.c \
|
2017-10-30 06:06:32 +00:00
|
|
|
gstmsdkvp8dec.c \
|
2016-09-09 22:43:25 +00:00
|
|
|
gstmsdkvp8enc.c \
|
2019-04-25 08:32:34 +00:00
|
|
|
gstmsdkvp9enc.c \
|
2018-02-13 23:40:54 +00:00
|
|
|
gstmsdkvc1dec.c \
|
2016-11-07 20:32:38 +00:00
|
|
|
gstmsdkdec.c \
|
2016-09-09 22:43:25 +00:00
|
|
|
gstmsdkenc.c \
|
2018-03-06 13:51:05 +00:00
|
|
|
gstmsdkvpp.c \
|
2018-02-15 15:59:08 +00:00
|
|
|
gstmsdk.c \
|
2018-03-06 13:51:05 +00:00
|
|
|
msdk-enums.c \
|
2018-11-20 06:36:30 +00:00
|
|
|
gstmsdkvpputil.c \
|
|
|
|
gstmsdkdecproputil.c
|
2016-09-09 22:43:25 +00:00
|
|
|
|
|
|
|
# Causes linking libgstmsdk.la with CXXLINK, required by libmfx
|
|
|
|
nodist_EXTRA_libgstmsdk_la_SOURCES = not_present.cxx
|
|
|
|
|
|
|
|
noinst_HEADERS = \
|
|
|
|
msdk.h \
|
2018-02-15 15:59:08 +00:00
|
|
|
msdk-enums.h \
|
2018-02-13 21:41:28 +00:00
|
|
|
gstmsdkcontext.h \
|
2018-02-13 22:50:08 +00:00
|
|
|
gstmsdkcontextutil.h \
|
2018-02-13 22:44:08 +00:00
|
|
|
gstmsdksystemmemory.h \
|
|
|
|
gstmsdkvideomemory.h \
|
2018-02-18 13:46:52 +00:00
|
|
|
gstmsdkallocator.h \
|
2018-02-13 22:44:08 +00:00
|
|
|
gstmsdkbufferpool.h \
|
2016-11-07 20:32:38 +00:00
|
|
|
gstmsdkh264dec.h \
|
2016-09-09 22:43:25 +00:00
|
|
|
gstmsdkh264enc.h \
|
2016-11-29 03:14:20 +00:00
|
|
|
gstmsdkh265dec.h \
|
2016-09-09 22:43:25 +00:00
|
|
|
gstmsdkh265enc.h \
|
2016-11-22 21:55:00 +00:00
|
|
|
gstmsdkmjpegdec.h \
|
2016-10-05 22:32:43 +00:00
|
|
|
gstmsdkmjpegenc.h \
|
2018-01-10 19:40:24 +00:00
|
|
|
gstmsdkmpeg2dec.h \
|
2016-09-09 22:43:25 +00:00
|
|
|
gstmsdkmpeg2enc.h \
|
2017-10-30 06:06:32 +00:00
|
|
|
gstmsdkvp8dec.h \
|
2016-09-09 22:43:25 +00:00
|
|
|
gstmsdkvp8enc.h \
|
2019-04-25 08:32:34 +00:00
|
|
|
gstmsdkvp9enc.h \
|
2018-02-13 23:40:54 +00:00
|
|
|
gstmsdkvc1dec.h \
|
2016-11-07 20:32:38 +00:00
|
|
|
gstmsdkdec.h \
|
2018-03-06 13:51:05 +00:00
|
|
|
gstmsdkenc.h \
|
|
|
|
gstmsdkvpp.h \
|
2018-11-20 06:36:30 +00:00
|
|
|
gstmsdkvpputil.h \
|
|
|
|
gstmsdkdecproputil.h
|
2016-09-09 22:43:25 +00:00
|
|
|
|
2018-05-16 00:33:00 +00:00
|
|
|
# Conditional build for vp9 decoder
|
|
|
|
libgstmsdk_vp9dec_source_c = gstmsdkvp9dec.c
|
|
|
|
libgstmsdk_vp9dec_source_h = gstmsdkvp9dec.h
|
|
|
|
if USE_MSDK_VP9_DEC
|
|
|
|
libgstmsdk_la_SOURCES += $(libgstmsdk_vp9dec_source_c)
|
|
|
|
noinst_HEADERS += $(libgstmsdk_vp9dec_source_h)
|
|
|
|
endif
|
|
|
|
|
2016-09-09 22:43:25 +00:00
|
|
|
libgstmsdk_la_CFLAGS = \
|
|
|
|
$(GST_CFLAGS) \
|
2017-10-31 08:09:44 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
2016-09-09 22:43:25 +00:00
|
|
|
$(GST_PBUTILS_CFLAGS) \
|
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2018-03-30 19:06:05 +00:00
|
|
|
$(GST_ALLOCATORS_CFLAGS) \
|
2017-10-30 16:17:40 +00:00
|
|
|
$(MSDK_CFLAGS) \
|
2018-02-13 23:40:22 +00:00
|
|
|
$(LIBMFX_CFLAGS)\
|
|
|
|
$(G_UDEV_CFLAGS)
|
2016-09-09 22:43:25 +00:00
|
|
|
|
|
|
|
libgstmsdk_la_LIBADD = \
|
|
|
|
$(GST_LIBS) \
|
2017-10-31 08:09:44 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
2016-09-09 22:43:25 +00:00
|
|
|
$(GST_PBUTILS_LIBS) \
|
|
|
|
$(GST_VIDEO_LIBS) \
|
2018-03-30 19:06:05 +00:00
|
|
|
$(GST_ALLOCATORS_LIBS) \
|
2017-10-30 16:17:40 +00:00
|
|
|
$(MSDK_LIBS) \
|
2018-02-13 23:40:22 +00:00
|
|
|
$(LIBMFX_LIBS) \
|
|
|
|
$(G_UDEV_LIBS)
|
2016-09-09 22:43:25 +00:00
|
|
|
|
|
|
|
if USE_MSDK_LIBVA
|
|
|
|
libgstmsdk_la_SOURCES += \
|
2016-11-03 17:47:00 +00:00
|
|
|
msdk.c \
|
2018-02-13 21:43:42 +00:00
|
|
|
msdk_libva.c \
|
|
|
|
gstmsdkallocator_libva.c
|
2016-09-09 22:43:25 +00:00
|
|
|
libgstmsdk_la_CFLAGS += \
|
|
|
|
$(LIBVA_DRM_CFLAGS)
|
|
|
|
libgstmsdk_la_LIBADD += \
|
|
|
|
$(LIBVA_DRM_LIBS)
|
2018-02-18 13:46:52 +00:00
|
|
|
noinst_HEADERS += \
|
2018-03-30 19:05:16 +00:00
|
|
|
msdk_libva.h \
|
|
|
|
gstmsdkallocator_libva.h
|
2016-09-09 22:43:25 +00:00
|
|
|
endif
|
|
|
|
|
2019-01-18 07:40:31 +00:00
|
|
|
# Windows compilation files, used by meson
|
2018-02-18 13:46:52 +00:00
|
|
|
EXTRA_DIST = \
|
2019-01-18 07:40:31 +00:00
|
|
|
msdk_d3d.c \
|
|
|
|
gstmsdkallocator_d3d.c
|
2018-02-18 13:46:52 +00:00
|
|
|
|
2016-09-09 22:43:25 +00:00
|
|
|
libgstmsdk_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|