1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00
mpv/video/decode
wm4 3706918311 vo_opengl: D3D11VA + ANGLE interop
This uses ID3D11VideoProcessor to convert the video to a RGBA surface,
which is then bound to ANGLE. Currently ANGLE does not provide any way
to bind nv12 surfaces directly, so this will have to do.

ID3D11VideoContext1 would give us slightly more control about the
colorspace conversion, though it's still not good, and not available
in MinGW headers yet.

The video processor is created lazily, because we need to have the coded
frame size, of which AVFrame and mp_image have no concept of. Doing the
creation lazily is less of a pain than somehow hacking the coded frame
size into mp_image.

I'm not really sure how ID3D11VideoProcessorInputView is supposed to
work. We recreate it on every frame, which is simple and hopefully
doesn't affect performance.
2016-04-27 13:49:47 +02:00
..
d3d11va.c vo_opengl: D3D11VA + ANGLE interop 2016-04-27 13:49:47 +02:00
d3d.c d3dva: move Intel_H264_NoFGT_ClearVideo to lower priority 2016-04-18 02:00:50 -07:00
d3d.h vd_lavc: fix codec vs. decoder confusion 2016-04-07 17:48:00 +02:00
dec_video.c dec_video: always redisplay cover art after a seek 2016-03-11 20:58:13 +01:00
dec_video.h Rewrite ordered chapters and timeline stuff 2016-02-15 21:04:07 +01:00
dxva2.c vo_opengl: D3D11VA + ANGLE interop 2016-04-27 13:49:47 +02:00
lavc.h vd_lavc: better hwdec wrapper decoder selection 2016-04-25 12:13:12 +02:00
vaapi.c vaapi: determine surface format in decoder, not in renderer 2016-04-11 22:03:26 +02:00
vd_lavc.c vo_opengl: D3D11VA + ANGLE interop 2016-04-27 13:49:47 +02:00
vd.h video: approximate AVI timestamps via DTS handling 2016-02-11 16:14:30 +01:00
vdpau.c vd_lavc: fix codec vs. decoder confusion 2016-04-07 17:48:00 +02:00
videotoolbox.c videotoolbox: change how videotoolbox format is managed 2016-04-07 19:54:58 +02:00