gstreamer/sys/msdk/Makefile.am
Hyunjun Ko 2542b2d34d msdk: supports bufferpool
Implements 2 memory allocators:
1\ GstMsdkSystemAllocator: This will allocate system memory.
2\ GstMsdkVideoAllocator: This will allocate device memory depending
on the platform. (eg. VASurface)

Currently GstMsdkBufferPool uses video allocator currently by default
only on linux. On Windows, we should use system memory until d3d
allocator
is implemented.

https://bugzilla.gnome.org/show_bug.cgi?id=790752
2018-02-13 13:44:08 -09:00

71 lines
1.4 KiB
Makefile

plugin_LTLIBRARIES = libgstmsdk.la
libgstmsdk_la_SOURCES = \
gstmsdkcontext.c \
gstmsdksystemmemory.c \
gstmsdkvideomemory.c \
gstmsdkbufferpool.c \
gstmsdkh264dec.c \
gstmsdkh264enc.c \
gstmsdkh265dec.c \
gstmsdkh265enc.c \
gstmsdkmjpegdec.c \
gstmsdkmjpegenc.c \
gstmsdkmpeg2dec.c \
gstmsdkmpeg2enc.c \
gstmsdkvp8dec.c \
gstmsdkvp8enc.c \
gstmsdkdec.c \
gstmsdkenc.c \
gstmsdk.c
# Causes linking libgstmsdk.la with CXXLINK, required by libmfx
nodist_EXTRA_libgstmsdk_la_SOURCES = not_present.cxx
noinst_HEADERS = \
msdk.h \
gstmsdkcontext.h \
gstmsdksystemmemory.h \
gstmsdkvideomemory.h \
gstmsdkbufferpool.h \
gstmsdkh264dec.h \
gstmsdkh264enc.h \
gstmsdkh265dec.h \
gstmsdkh265enc.h \
gstmsdkmjpegdec.h \
gstmsdkmjpegenc.h \
gstmsdkmpeg2dec.h \
gstmsdkmpeg2enc.h \
gstmsdkvp8dec.h \
gstmsdkvp8enc.h \
gstmsdkdec.h \
gstmsdkenc.h
libgstmsdk_la_CFLAGS = \
$(GST_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_PBUTILS_CFLAGS) \
$(GST_VIDEO_CFLAGS) \
$(MSDK_CFLAGS) \
$(LIBMFX_CFLAGS)
libgstmsdk_la_LIBADD = \
$(GST_LIBS) \
$(GST_BASE_LIBS) \
$(GST_PBUTILS_LIBS) \
$(GST_VIDEO_LIBS) \
$(MSDK_LIBS) \
$(LIBMFX_LIBS)
if USE_MSDK_LIBVA
libgstmsdk_la_SOURCES += \
msdk.c \
msdk_libva.c \
gstmsdkallocator_libva.c
libgstmsdk_la_CFLAGS += \
$(LIBVA_DRM_CFLAGS)
libgstmsdk_la_LIBADD += \
$(LIBVA_DRM_LIBS)
endif
libgstmsdk_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)