diff options
author | Thomas Balling Sørensen <tball@tball-laptop.(none)> | 2010-10-07 00:26:46 +0200 |
---|---|---|
committer | Thomas Balling Sørensen <tball@tball-laptop.(none)> | 2010-10-07 00:26:46 +0200 |
commit | bff1ac875c2c62ba5045bb953f800253c49361cb (patch) | |
tree | e0a23c862fe2e4f9bef96ec30efd5f9f87bd0917 /src/gallium/state_trackers/vdpau/vdpau_private.h | |
parent | 65fe0866aec7b5608419f6d184cb1fa4fe1dc45a (diff) |
vl: some more fixes and addition to the decoder handling
Diffstat (limited to 'src/gallium/state_trackers/vdpau/vdpau_private.h')
-rw-r--r-- | src/gallium/state_trackers/vdpau/vdpau_private.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/state_trackers/vdpau/vdpau_private.h index 36ef124c13d..de206365ce2 100644 --- a/src/gallium/state_trackers/vdpau/vdpau_private.h +++ b/src/gallium/state_trackers/vdpau/vdpau_private.h @@ -163,8 +163,9 @@ static enum pipe_video_profile ProfileToPipe(VdpDecoderProfile vdpau_profile) typedef struct { - void *display; + Display *display; int screen; + struct vl_screen *vscreen; } vlVdpDevice; typedef struct @@ -207,10 +208,11 @@ typedef struct typedef struct { vlVdpDevice *device; - struct vl_screen *vlscreen; - struct vl_context *vctx; + struct vl_context *vctx; enum pipe_video_chroma_format chroma_format; enum pipe_video_profile profile; + uint32_t width; + uint32_t height; } vlVdpDecoder; typedef uint32_t vlHandle; |