From f70ddb66050244bdc0833d7cdc6c1b2e64f425ff Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Sun, 29 Mar 2009 15:28:06 +0200 Subject: vdpau: create VdpDecoder in set_caps add more functions for parsing mpeg --- sys/vdpau/gstvdpaudecoder.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'sys/vdpau/gstvdpaudecoder.h') 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 #include +#include #include 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); -- cgit v1.2.1