diff options
author | wm4 <wm4@nowhere> | 2020-05-09 17:56:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-09 18:02:57 +0200 |
commit | d8002f1dde94771952b301f4ebe331c52bc71871 (patch) | |
tree | 446e52500afe9548d4a88b128b32c415c1909972 /wscript_build.py | |
parent | d61ced37ae39b4a2dcd49e783f3c292a8d97b14a (diff) | |
download | mpv-d8002f1dde94771952b301f4ebe331c52bc71871.tar.bz2 mpv-d8002f1dde94771952b301f4ebe331c52bc71871.tar.xz |
video: separate repacking code from zimg and make it independent
For whatever purpose. If anything, this makes the zimg wrapper cleaner.
The added tests are not particular exhaustive, but nice to have. This
also makes the scale_zimg.c test pretty useless, because it only tests
repacking (going through the zimg wrapper). In theory, the repack_tests
things could also be used on scalers, but I guess it doesn't matter.
Some things are added over the previous zimg wrapper code. For example,
some fringe formats can now be expanded to 8 bit per component for
convenience.
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py index 2a656a604d..93933e7371 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -402,6 +402,7 @@ def build(ctx): ( "test/json.c", "tests" ), ( "test/linked_list.c", "tests" ), ( "test/paths.c", "tests" ), + ( "test/repack.c", "tests && zimg" ), ( "test/scale_sws.c", "tests" ), ( "test/scale_test.c", "tests" ), ( "test/scale_zimg.c", "tests && zimg" ), @@ -529,6 +530,7 @@ def build(ctx): ( "video/out/win32/droptarget.c", "win32-desktop" ), ( "video/out/win_state.c"), ( "video/out/x11_common.c", "x11" ), + ( "video/repack.c" ), ( "video/sws_utils.c" ), ( "video/zimg.c", "zimg" ), ( "video/vaapi.c", "vaapi" ), |