diff options
author | wm4 <wm4@nowhere> | 2017-12-02 04:27:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-12-02 04:53:51 +0100 |
commit | 23a9efd124042e7c97f8317bcd8ae5903d039ef7 (patch) | |
tree | 8af4a34bd494abe51608d3648de612d5af920314 /video/vdpau.h | |
parent | 0780d3832997056b581cdecb29e605132fae9417 (diff) | |
download | mpv-23a9efd124042e7c97f8317bcd8ae5903d039ef7.tar.bz2 mpv-23a9efd124042e7c97f8317bcd8ae5903d039ef7.tar.xz |
vd_lavc, vdpau, vaapi: restore emulated API avoidance
This code is for trying to avoid using an emulation layer when using
auto probing, so that we end up using the actual API the drivers
provide. It was destroyed in the recent refactor.
Diffstat (limited to 'video/vdpau.h')
-rw-r--r-- | video/vdpau.h | 2 |
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 |