summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorBin Jin <bjin1990@gmail.com>2015-10-26 22:43:48 +0000
committerwm4 <wm4@nowhere>2015-11-05 17:38:20 +0100
commit4c43c30421b1d713b7a17b437e381fe1efd01902 (patch)
tree073551ba56ccc34be9c093eabab62cb09b1ca496 /wscript_build.py
parent7438f208c37deb1a30df54278a6d81227038f33e (diff)
downloadmpv-4c43c30421b1d713b7a17b437e381fe1efd01902.tar.bz2
mpv-4c43c30421b1d713b7a17b437e381fe1efd01902.tar.xz
vo_opengl: add Super-xBR filter for upscaling
Add the Super-xBR filter for image doubling, and the prescaling framework to support it. The shader code was ported from MPDN extensions project, with modification to process luma only. This commit is largely inspired by code from #2266, with `gl_transform_trans()` authored by @haasn taken directly.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index c410c3724d..b6836a7beb 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -325,6 +325,7 @@ def build(ctx):
( "video/out/opengl/hwdec_vdpau.c", "vdpau-gl-x11" ),
( "video/out/opengl/lcms.c", "gl" ),
( "video/out/opengl/osd.c", "gl" ),
+ ( "video/out/opengl/superxbr.c", "gl" ),
( "video/out/opengl/utils.c", "gl" ),
( "video/out/opengl/video.c", "gl" ),
( "video/out/opengl/video_shaders.c", "gl" ),