summaryrefslogtreecommitdiffstats
path: root/video/gpu_memcpy.c
Commit message (Collapse)AuthorAgeFilesLines
* video: drop old D3D11/DXVA2 supportwm42017-09-261-135/+0
| | | | | | | | | Now you need FFmpeg git, or something. This also gets rid of the last real use of gpu_memcpy(). libavutil does that itself. (vaapi.c still used it, but it was essentially unused, because the code path isn't really in use anymore. It wasn't even included due to the d3d-hwaccel dependency in wscript.)
* Fix misspellingsstepshal2016-06-261-1/+1
|
* video: refactor GPU memcpy usagewm42015-09-251-0/+135
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.