0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/test
wm4 2a89da0c85 zimg: add slice threading and use it by default
This probably makes it much faster (I wouldn't know, I didn't run any
benchmarks ). Seems to work as well (although I'm not sure, it's not
like I'd perform rigorous tests).

The scale_zimg test seems to mysteriously treat color in fully
transparent alpha differently, which makes no sense, and isn't visible
(but makes the test fail). I can't be bothered with investigating this
more. What do you do with failing tests? Correct, you disable them. Or
rather, you disable whatever appears to cause them to fail, which is the
threading in this case.

This change follows mostly the tile_example.cpp. The slice size uses a
minimum of 64, which was suggested by the zimg author. Some of this
commit is a bit inelegant and weird, such as recomputing the scale
factor for every slice, or the way slice_h is managed. Too lazy to make
this more elegant.

zimg git had a regressio around active_region (which is needed by the
slicing), which was fixed in commit 83071706b2e6bc634. Apparently, the
bug was never released, so just add a warning to the manpage.
2020-07-15 22:59:17 +02:00
..
ref test: update to new ffmpeg pixfmts 2020-06-17 19:43:09 +02:00
chmap.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
gl_video.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
img_format.c video: clean up pixel metadata stuff some more 2020-05-20 18:38:15 +02:00
input-gamepad.conf input: add gamepad support through SDL2 2019-10-23 09:40:30 +02:00
json.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
linked_list.c test: merge test_helpers.c and index.c 2019-11-08 20:34:07 +01:00
paths.c path: add mp_path_is_absolute() 2020-02-06 14:14:35 +01:00
repack.c test: update to new ffmpeg pixfmts 2020-06-17 19:43:09 +02:00
scale_sws.c test: add tests for zimg RGB repacking 2019-11-09 01:55:13 +01:00
scale_test.c video: clean up some imgfmt related stuff 2020-05-18 01:54:59 +02:00
scale_test.h test: add tests for zimg RGB repacking 2019-11-09 01:55:13 +01:00
scale_zimg.c zimg: add slice threading and use it by default 2020-07-15 22:59:17 +02:00
subtimes.js command: add sub-start & sub-end properties 2019-09-22 09:19:45 +02:00
tests.c video: separate repacking code from zimg and make it independent 2020-05-09 18:02:57 +02:00
tests.h video: separate repacking code from zimg and make it independent 2020-05-09 18:02:57 +02:00