summaryrefslogtreecommitdiff
path: root/video.h
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-23 19:33:30 +0100
committerJohns <johns98@gmx.net>2011-12-23 19:33:30 +0100
commit06fddc206e5fec17bd59f4e8005e44bde957f8cc (patch)
tree538f3f693c1f7691fa5bdf41ccecb65dacd39597 /video.h
parent1e18da47f7466b68e52b5d64eebfbdde8f693116 (diff)
downloadvdr-plugin-softhddevice-06fddc206e5fec17bd59f4e8005e44bde957f8cc.tar.gz
vdr-plugin-softhddevice-06fddc206e5fec17bd59f4e8005e44bde957f8cc.tar.bz2
Initial vdpau hw decoder support.
Diffstat (limited to 'video.h')
-rw-r--r--video.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/video.h b/video.h
index eaacc0a..5a03d4c 100644
--- a/video.h
+++ b/video.h
@@ -60,6 +60,12 @@ extern struct vaapi_context *VideoGetVaapiContext(VideoHwDecoder *);
/// Callback to negotiate the PixelFormat.
extern enum PixelFormat Video_get_format(VideoHwDecoder *, AVCodecContext *,
const enum PixelFormat *);
+
+#ifdef AVCODEC_VDPAU_H
+ /// Draw vdpau render state
+extern void VideoDrawRenderState(VideoHwDecoder *,
+ struct vdpau_render_state *);
+#endif
#endif
/// Display video TEST