summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-29 00:21:02 +0200
committerwm4 <wm4@nowhere>2014-07-29 00:21:02 +0200
commitfa34b4920aa372e2fb07b970a9242b41bddccf15 (patch)
tree16f4733730a6580eb4972b12ccb1583f41f0834b /video/out/vo.h
parentd563dc8cb94e6313871646ca51f502f9db19b177 (diff)
downloadmpv-fa34b4920aa372e2fb07b970a9242b41bddccf15.tar.bz2
mpv-fa34b4920aa372e2fb07b970a9242b41bddccf15.tar.xz
vdpau: don't upload video images in advance
With software decoding, images were uploaded to vdpau surfaces as they were queued to the VO. This makes it slightly more complicated (especially later on), and has no advantages - so stop doing it. The only reason why this was done explicitly was due to attempts to keep the code equivalent (instead of risking performance regressions). The original code did this naturally for certain reasons, but now that we can measure that it has no advantages and just requires extra code, we can just drop it.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 409ee926dc..7fbaa8e431 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -164,20 +164,6 @@ struct vo_driver {
int (*query_format)(struct vo *vo, uint32_t format);
/*
- * Optional. Can be used to convert the input image into something VO
- * internal, such as GPU surfaces. Ownership of mpi is passed to the
- * function, and the returned image is owned by the caller.
- * The following guarantees are given:
- * - mpi has the format with which the VO was configured
- * - the returned image can be arbitrary, and the VO merely manages its
- * lifetime
- * - images passed to draw_image are always passed through this function
- * - the maximum number of images kept alive is not over vo->max_video_queue
- * - if vo->max_video_queue is large enough, some images may be buffered ahead
- */
- struct mp_image *(*filter_image)(struct vo *vo, struct mp_image *mpi);
-
- /*
* Initialize or reconfigure the display driver.
* params: video parameters, like pixel format and frame size
* flags: combination of VOFLAG_ values