summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-16 17:07:35 +0200
committerwm4 <wm4@nowhere>2017-10-16 17:07:35 +0200
commitddfccd67d5da2f6b19f0057c89e3c497d248e212 (patch)
treea4d2351047e1bad35f586a4f87b27a66764fb40c /video/hwdec.h
parent9e140775bcbf3fa37dce67790325788c41451e08 (diff)
downloadmpv-ddfccd67d5da2f6b19f0057c89e3c497d248e212.tar.bz2
mpv-ddfccd67d5da2f6b19f0057c89e3c497d248e212.tar.xz
video: remove special path for hwdec screenshots
This was phased out, and was used only by vdpau by now. Drop the mechanism and the vdpau special code, which means screenshots won't include the vf_vdpaupp processing anymore. (I don't care enough about vdpau, it's on its way out.)
Diffstat (limited to 'video/hwdec.h')
-rw-r--r--video/hwdec.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/video/hwdec.h b/video/hwdec.h
index 4a6739ecde..a432ecce2c 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -56,16 +56,6 @@ struct mp_hwdec_ctx {
// Hint to generic code: it's using a wrapper API
bool emulated;
- // Optional. Legacy. (New code should use AVHWFramesContext and
- // mp_image_hw_download().)
- // Allocates a software image from the pool, downloads the hw image from
- // mpi, and returns it.
- // pool can be NULL (then just use straight allocation).
- // Return NULL on error or if mpi has the wrong format.
- struct mp_image *(*download_image)(struct mp_hwdec_ctx *ctx,
- struct mp_image *mpi,
- struct mp_image_pool *swpool);
-
// Optional. Crap for vdpau. Makes sure preemption recovery is run if needed.
void (*restore_device)(struct mp_hwdec_ctx *ctx);