mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
vdpau: create a libgstvdp library.
The library contains GstVdpDevice GstVdpVideoBuffer and GstVdpOutputBuffer. The library will (apart from the plugins here) be used by the upcoming gst-ffmpeg vdpau support.
This commit is contained in:
parent
8ba3df0939
commit
79c600f7be
11 changed files with 31 additions and 24 deletions
|
@ -1,35 +1,47 @@
|
|||
plugin_LTLIBRARIES = libgstvdpau.la
|
||||
|
||||
libgstvdpau_la_SOURCES = \
|
||||
gstvdpdevice.c \
|
||||
gstvdpmpegdec.c \
|
||||
mpegutil.c \
|
||||
gstvdpvideoyuv.c \
|
||||
gstvdpvideobuffer.c \
|
||||
gstvdp.c \
|
||||
gstvdpyuvvideo.c \
|
||||
gstvdputils.c \
|
||||
gstvdpvideopostprocess.c \
|
||||
gstvdpoutputbuffer.c \
|
||||
gstvdpsink.c
|
||||
|
||||
libgstvdpau_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(X11_CFLAGS) $(VDPAU_CFLAGS)
|
||||
libgstvdpau_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \
|
||||
$(GST_PLUGINS_BASE_LIBS) $(X11_LIBS) -lgstvideo-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR) \
|
||||
$(VDPAU_LIBS)
|
||||
$(GST_PLUGINS_BASE_LIBS) $(X11_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
|
||||
-lgstinterfaces-$(GST_MAJORMINOR) $(VDPAU_LIBS) -lgstvdp-$(GST_MAJORMINOR)
|
||||
libgstvdpau_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstvdpau_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
noinst_HEADERS = \
|
||||
gstvdpdevice.h \
|
||||
gstvdpmpegdec.h \
|
||||
mpegutil.h \
|
||||
gstvdpvideoyuv.h \
|
||||
gstvdpvideobuffer.h \
|
||||
gstvdpyuvvideo.h \
|
||||
gstvdputils.h \
|
||||
gstvdpvideopostprocess.h \
|
||||
gstvdpoutputbuffer.h \
|
||||
gstvdpsink.h
|
||||
|
||||
lib_LTLIBRARIES = libgstvdp-@GST_MAJORMINOR@.la
|
||||
|
||||
libgstvdp_@GST_MAJORMINOR@_la_SOURCES = \
|
||||
gstvdpdevice.c \
|
||||
gstvdpvideobuffer.c \
|
||||
gstvdpoutputbuffer.c
|
||||
|
||||
libgstvdp_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/vdpau
|
||||
libgstvdp_@GST_MAJORMINOR@include_HEADERS = \
|
||||
gstvdpdevice.h \
|
||||
gstvdpvideobuffer.h \
|
||||
gstvdpoutputbuffer.h
|
||||
|
||||
libgstvdp_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS) $(VDPAU_CFLAGS) $(X11_CFLAGS)
|
||||
libgstvdp_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) $(VDPAU_LIBS) $(X11_LIBS)
|
||||
libgstvdp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_LT_LDFLAGS) $(GST_ALL_LDFLAGS)
|
||||
libgstvdp_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include <gst/gst.h>
|
||||
#include <gst/base/gstbytereader.h>
|
||||
#include <gst/base/gstbitreader.h>
|
||||
#include <gst/vdpau/gstvdpvideobuffer.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "mpegutil.h"
|
||||
|
|
|
@ -23,9 +23,7 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/base/gstadapter.h>
|
||||
|
||||
#include "gstvdpdevice.h"
|
||||
#include "gstvdpvideobuffer.h"
|
||||
#include <gst/vdpau/gstvdpdevice.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "gstvdpvideobuffer.h"
|
||||
#include <gst/vdpau/gstvdpvideobuffer.h>
|
||||
|
||||
#include "gstvdputils.h"
|
||||
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
#define _GST_VDP_UTILS_H_
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
#include "gstvdpdevice.h"
|
||||
#include <gst/vdpau/gstvdpdevice.h>
|
||||
|
||||
GstCaps *gst_vdp_video_to_yuv_caps (GstCaps *caps, GstVdpDevice *device);
|
||||
GstCaps *gst_vdp_yuv_to_video_caps (GstCaps *caps, GstVdpDevice *device);
|
||||
|
|
|
@ -44,10 +44,9 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/video/gstvideosink.h>
|
||||
#include <gst/vdpau/gstvdpoutputbuffer.h>
|
||||
|
||||
#include "gstvdputils.h"
|
||||
#include "gstvdpvideobuffer.h"
|
||||
#include "gstvdpoutputbuffer.h"
|
||||
|
||||
#include "gstvdpvideopostprocess.h"
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
#define __GST_VDP_VIDEO_POST_PROCESS_H__
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
#include "gstvdpdevice.h"
|
||||
#include <gst/vdpau/gstvdpdevice.h>
|
||||
#include <gst/vdpau/gstvdpvideobuffer.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <gst/vdpau/gstvdpvideobuffer.h>
|
||||
|
||||
#include "gstvdpvideobuffer.h"
|
||||
#include "gstvdputils.h"
|
||||
#include "gstvdpvideoyuv.h"
|
||||
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/base/gstbasetransform.h>
|
||||
|
||||
#include "gstvdpdevice.h"
|
||||
#include <gst/vdpau/gstvdpdevice.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <gst/vdpau/gstvdpvideobuffer.h>
|
||||
|
||||
#include "gstvdpvideobuffer.h"
|
||||
#include "gstvdputils.h"
|
||||
#include "gstvdpyuvvideo.h"
|
||||
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/base/gstbasetransform.h>
|
||||
|
||||
#include "gstvdpdevice.h"
|
||||
#include <gst/vdpau/gstvdpdevice.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue