video: initial dxva2 support

Shamelessly stolen from ffmpeg. It probably doesn't work - you can debug
it yourself.
This commit is contained in:
wm4
2014-10-25 19:23:46 +02:00
parent c63c0d1cb1
commit 423a7de676
9 changed files with 623 additions and 2 deletions

View File

@@ -281,7 +281,8 @@ const m_option_t mp_opts[] = {
{"vdpau", 1},
{"vda", 2},
{"vaapi", 4},
{"vaapi-copy", 5})),
{"vaapi-copy", 5},
{"dxva2-copy", 6})),
OPT_STRING("hwdec-codecs", hwdec_codecs, 0),
OPT_SUBSTRUCT("sws", vo.sws_opts, sws_conf, 0),