summaryrefslogtreecommitdiffstats
path: root/video/vdpau.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/vdpau.h')
-rw-r--r--video/vdpau.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/vdpau.h b/video/vdpau.h
index 118db8cbfe..b0f402c3f2 100644
--- a/video/vdpau.h
+++ b/video/vdpau.h
@@ -103,6 +103,8 @@ bool mp_vdpau_get_rgb_format(int imgfmt, VdpRGBAFormat *out_rgba_format);
struct mp_image *mp_vdpau_upload_video_surface(struct mp_vdpau_ctx *ctx,
struct mp_image *mpi);
+struct mp_vdpau_ctx *mp_vdpau_get_ctx_from_av(struct AVBufferRef *hw_device_ctx);
+
bool mp_vdpau_guess_if_emulated(struct mp_vdpau_ctx *ctx);
#endif