1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00
mpv/waftools/fragments
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
..
cocoa.m build: move QuartzCore linking to the cocoa check 2015-02-25 22:13:07 +01:00
coreaudio.c
dvb.c stream_dvb: Always define NO_STREAM_ID_FILTER if missing. 2015-02-28 18:27:21 +01:00
gl_x11.c vo_opengl: cleanups after vo_opengl_old removal 2015-01-21 20:32:42 +01:00
iconv.c
oss_audio_sunaudio.c
oss_audio.c
pthreads.c win32: drop hacks for possibly broken static pthreads-win32 linking 2015-01-11 02:23:02 +01:00
pvr.c build: removed undefined behavior from PVR check 2014-05-11 16:41:02 +02:00
sse.c video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
wasapi.c win32: request UTF-16 API variants, Vista+ APIs, and COM C macros 2015-01-07 21:42:44 +01:00