summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-29 15:07:21 +0200
committerwm4 <wm4@nowhere>2014-05-02 01:08:02 +0200
commitec60669cd10d726054bb5472cfe4eedf6010d154 (patch)
tree276b55c08cdb64d755628714338c62fc721cf037 /video/filter/vf.c
parent7fc999b5777696c552e8b1b587aa55821e30bda2 (diff)
downloadmpv-ec60669cd10d726054bb5472cfe4eedf6010d154.tar.bz2
mpv-ec60669cd10d726054bb5472cfe4eedf6010d154.tar.xz
vdpau: add a postprocessing pseudo-filter
This factors out some code from vo_vdpau.c, especially deinterlacing handling. The intention is to use this for vo_vdpau.c to make the logic significantly easier, and to use it for vo_opengl (gl_hwdec_vdpau.c) to allow selecting deinterlace and postprocessing modes. As of this commit, the filter actually does nothing, since both vo_vdpau and vo_opengl treat the generated images as normal vdpau images. This will change in the following commits.
Diffstat (limited to 'video/filter/vf.c')
-rw-r--r--video/filter/vf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index 03afae6b13..2b9e82096a 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -70,6 +70,7 @@ extern const vf_info_t vf_info_dlopen;
extern const vf_info_t vf_info_lavfi;
extern const vf_info_t vf_info_vaapi;
extern const vf_info_t vf_info_vapoursynth;
+extern const vf_info_t vf_info_vdpaupp;
// list of available filters:
static const vf_info_t *const filter_list[] = {
@@ -116,6 +117,9 @@ static const vf_info_t *const filter_list[] = {
#if HAVE_VAAPI_VPP
&vf_info_vaapi,
#endif
+#if HAVE_VDPAU
+ &vf_info_vdpaupp,
+#endif
NULL
};