mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
499e0dd981
Add new GstVaapiUploader helper to upload raw YUV buffers to VA surfaces. It is up to the caller to negotiate source caps (for images) and output caps (for surfaces). gst_vaapi_uploader_has_direct_rendering() is available to help decide between the creation of a GstVaapiVideoBuffer or a regular GstBuffer on sink pads. Signed-off-by: Zhao Halley <halley.zhao@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
77 lines
1.6 KiB
Makefile
77 lines
1.6 KiB
Makefile
plugin_LTLIBRARIES = libgstvaapi.la
|
|
|
|
libgstvaapi_CFLAGS = \
|
|
$(LIBVA_CFLAGS) \
|
|
-DGST_USE_UNSTABLE_API \
|
|
-I$(top_srcdir)/gst-libs \
|
|
-I$(top_builddir)/gst-libs \
|
|
$(NULL)
|
|
|
|
libgstvaapi_LIBS =
|
|
|
|
if USE_DRM
|
|
libgstvaapi_LIBS += \
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-drm-$(GST_MAJORMINOR).la
|
|
endif
|
|
|
|
if USE_X11
|
|
libgstvaapi_LIBS += \
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-$(GST_MAJORMINOR).la
|
|
endif
|
|
|
|
if USE_GLX
|
|
libgstvaapi_LIBS += \
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx-$(GST_MAJORMINOR).la
|
|
endif
|
|
|
|
if USE_WAYLAND
|
|
libgstvaapi_LIBS += \
|
|
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-wayland-$(GST_MAJORMINOR).la
|
|
endif
|
|
|
|
libgstvaapi_la_SOURCES = \
|
|
gstvaapi.c \
|
|
gstvaapidecode.c \
|
|
gstvaapidownload.c \
|
|
gstvaapipluginbuffer.c \
|
|
gstvaapipluginutil.c \
|
|
gstvaapipostproc.c \
|
|
gstvaapisink.c \
|
|
gstvaapiupload.c \
|
|
gstvaapiuploader.c \
|
|
$(NULL)
|
|
|
|
noinst_HEADERS = \
|
|
gstvaapidecode.h \
|
|
gstvaapidownload.h \
|
|
gstvaapipluginbuffer.h \
|
|
gstvaapipluginutil.h \
|
|
gstvaapipostproc.h \
|
|
gstvaapisink.h \
|
|
gstvaapiupload.h \
|
|
gstvaapiuploader.h \
|
|
$(NULL)
|
|
|
|
libgstvaapi_la_CFLAGS = \
|
|
$(libgstvaapi_CFLAGS) \
|
|
$(GST_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_VIDEO_CFLAGS) \
|
|
$(GST_INTERFACES_CFLAGS) \
|
|
$(GST_BASEVIDEO_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
libgstvaapi_la_LIBADD = \
|
|
$(libgstvaapi_LIBS) \
|
|
$(GST_LIBS) \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_VIDEO_LIBS) \
|
|
$(GST_INTERFACES_LIBS) \
|
|
$(GST_BASEVIDEO_LIBS) \
|
|
$(GST_PLUGINS_BASE_LIBS)
|
|
|
|
libgstvaapi_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstvaapi_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
|
MAINTAINERCLEANFILES = Makefile.in
|