summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
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);