summaryrefslogtreecommitdiffstats
path: root/sys/vdpau/gstvdpaudecoder.h
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-03-29 15:28:06 +0200
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:22 +0100
commitf70ddb66050244bdc0833d7cdc6c1b2e64f425ff (patch)
treec410ebd1299781df75d7e1a4dfa5fd25a6f763e4 /sys/vdpau/gstvdpaudecoder.h
parent584b000583c7050689d7a93e5d6dc7083bbdfcbd (diff)
downloadgst-plugins-bad-f70ddb66050244bdc0833d7cdc6c1b2e64f425ff.tar.gz
gst-plugins-bad-f70ddb66050244bdc0833d7cdc6c1b2e64f425ff.tar.bz2
gst-plugins-bad-f70ddb66050244bdc0833d7cdc6c1b2e64f425ff.zip
vdpau: create VdpDecoder in set_caps add more functions for parsing mpeg
Diffstat (limited to 'sys/vdpau/gstvdpaudecoder.h')
-rw-r--r--sys/vdpau/gstvdpaudecoder.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/sys/vdpau/gstvdpaudecoder.h b/sys/vdpau/gstvdpaudecoder.h
index 2c1a274f..5cd83042 100644
--- a/sys/vdpau/gstvdpaudecoder.h
+++ b/sys/vdpau/gstvdpaudecoder.h
@@ -25,6 +25,7 @@
#include <gst/gst.h>
#include <gst/base/gstbasetransform.h>
+#include <X11/Xlib.h>
#include <vdpau/vdpau.h>
G_BEGIN_DECLS
@@ -43,7 +44,8 @@ typedef struct _VdpauFunctions VdpauFunctions;
struct _GstVdpauDecoder {
GstElement element;
- gchar *display;
+ gchar *display_name;
+ Display *display;
VdpDevice device;
VdpauFunctions *functions;
@@ -66,17 +68,22 @@ struct _GstVdpauDecoderClass {
};
struct _VdpauFunctions {
+ VdpDeviceDestroy *vdp_device_destroy;
VdpGetProcAddress *vdp_get_proc_address;
-
+ VdpGetErrorString *vdp_get_error_string;
+
+ VdpVideoSurfaceCreate *vdp_video_surface_create;
+ VdpVideoSurfaceDestroy *vdp_video_surface_destroy;
VdpVideoSurfaceQueryCapabilities *vdp_video_surface_query_capabilities;
VdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities *vdp_video_surface_query_ycbcr_capabilities;
+ VdpVideoSurfaceGetParameters *vdp_video_surface_get_parameters;
VdpVideoSurfaceGetBitsYCbCr *vdp_video_surface_get_bits_ycbcr;
- VdpDeviceDestroy *vdp_device_destroy;
-
VdpDecoderCreate *vdp_decoder_create;
VdpDecoderDestroy *vdp_decoder_destroy;
VdpDecoderRender *vdp_decoder_render;
+ VdpDecoderQueryCapabilities *vdp_decoder_query_capabilities;
+ VdpDecoderGetParameters *vdp_decoder_get_parameters;
};
GType gst_vdpaudecoder_get_type (void);