summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-02 19:09:18 +0100
committerwm4 <wm4@nowhere>2015-03-02 19:09:18 +0100
commit4b177bd5c22fbeeba9ddae77503ab9938f2503c3 (patch)
treec115fbe9f257564f679e024613fb7f0e79037293 /waftools
parent08199a64d2e7e9f1a9430f0258a98285cdf1c902 (diff)
downloadmpv-4b177bd5c22fbeeba9ddae77503ab9938f2503c3.tar.bz2
mpv-4b177bd5c22fbeeba9ddae77503ab9938f2503c3.tar.xz
vo_direct3d: support NV12 with shaders
Semi-important, because --hwdec=dxva2 outputs NV12, and we really don't want people to end up with the "old" StretchRect method. Unfortunately, I couldn't actually get it to work. It seems most D3D drivers (including the wine D3D implementation) reject D3DFMT_A8L8, and I could not find any other 2-channel 8 bit Direct3D 9 format. It seems newer D3D APIs have DXGI_FORMAT_R8G8_UNORM, but there's no way to get it in D3D9. Still pushing this; maybe it actually works on some drivers.
Diffstat (limited to 'waftools')
0 files changed, 0 insertions, 0 deletions