1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 04:45:33 +00:00
mpv/waftools
wm4 0ae8aebb89 video: refactor GPU memcpy usage
Make the GPU memcpy from the dxva2 code generally useful to other parts
of the player.

We need to check at configure time whether SSE intrinsics work at all.
(At least in this form, they won't work on clang, for example. It also
won't work on non-x86.)

Introduce a mp_image_copy_gpu(), and make the dxva2 code use it. Do some
awkward stuff to share the existing code used by mp_image_copy(). I'm
hoping that FFmpeg will sooner or later provide a function like this, so
we can remove most of this again. (There is a patch, bit it's stuck in
limbo since forever.)

All this is used by the following commit.
2015-09-25 19:18:16 +02:00
..
checks build: remove useless class 2015-07-26 15:00:47 +02:00
detections win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
fragments video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
generators build: remove useless class 2015-07-26 15:00:47 +02:00
__init__.py
clang_compilation_database.py build: add option to generate a clang compilation database 2015-02-05 21:06:34 +01:00
dependencies.py build: make sure the HAVE_ key is undefined on failure 2015-08-19 00:15:41 +02:00
features.py
inflector.py build: remove useless class 2015-07-26 15:00:47 +02:00
syms.py build: syms: reindent 2014-08-05 12:57:34 +02:00
waf_customizations.py build: fix Python 3 unicode issue with waf 1.8.6 2015-02-19 09:40:50 +01:00