2009-04-04 20:03:23 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include <config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
2009-06-05 19:48:28 +00:00
|
|
|
#include "gstvdpmpegdec.h"
|
2009-04-13 20:19:20 +00:00
|
|
|
#include "gstvdpvideoyuv.h"
|
|
|
|
#include "gstvdpyuvvideo.h"
|
2009-06-30 21:55:13 +00:00
|
|
|
#include "gstvdpvideopostprocess.h"
|
|
|
|
#include "gstvdpsink.h"
|
2009-04-07 18:46:49 +00:00
|
|
|
|
2009-04-04 20:03:23 +00:00
|
|
|
static gboolean
|
2009-04-13 20:21:03 +00:00
|
|
|
vdpau_init (GstPlugin * vdpau_plugin)
|
2009-04-04 20:03:23 +00:00
|
|
|
{
|
2009-08-12 09:28:32 +00:00
|
|
|
/* Before giving these elements a rank again, make sure they pass at
|
|
|
|
* least the generic/states test when there's no device available */
|
2009-04-14 19:04:59 +00:00
|
|
|
gst_element_register (vdpau_plugin, "vdpaumpegdec",
|
2009-08-12 09:28:32 +00:00
|
|
|
GST_RANK_NONE, GST_TYPE_VDP_MPEG_DEC);
|
2009-04-13 20:21:03 +00:00
|
|
|
gst_element_register (vdpau_plugin, "vdpauvideoyuv",
|
2009-08-12 09:28:32 +00:00
|
|
|
GST_RANK_NONE, GST_TYPE_VDP_VIDEO_YUV);
|
2009-04-13 20:21:03 +00:00
|
|
|
gst_element_register (vdpau_plugin, "vdpauyuvvideo",
|
2009-08-12 09:28:32 +00:00
|
|
|
GST_RANK_NONE, GST_TYPE_VDP_YUV_VIDEO);
|
2009-08-17 21:39:52 +00:00
|
|
|
gst_element_register (vdpau_plugin, "vdpauvideopostprocess",
|
|
|
|
GST_RANK_NONE, GST_TYPE_VDP_VIDEO_POST_PROCESS);
|
|
|
|
gst_element_register (vdpau_plugin, "vdpausink",
|
|
|
|
GST_RANK_NONE, GST_TYPE_VDP_SINK);
|
2009-04-04 20:03:23 +00:00
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
|
|
|
"vdpau",
|
|
|
|
"Various elements utilizing VDPAU",
|
|
|
|
vdpau_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")
|