summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-28 18:23:17 +0200
committerwm4 <wm4@nowhere>2016-05-28 19:28:08 +0200
commit49f73eaf7b6f58e82376fc764ab0743c039d5278 (patch)
tree1689158208b01a6a408d814c3d2643f1f416b2a3 /player/command.c
parent9eccedf4471621dcb82219a657141bf5960b77dd (diff)
downloadmpv-49f73eaf7b6f58e82376fc764ab0743c039d5278.tar.bz2
mpv-49f73eaf7b6f58e82376fc764ab0743c039d5278.tar.xz
vf_d3d11vpp: add a D3D11 video processor filter
Main use: deinterlacing. I'm not sure how to select the deinterlacing mode at all. You can enumate the available video processors, but at least on Intel, all of them either signal support for all deinterlacers, or none (the latter is apparently used for IVTC). I haven't found anything that actually tells the processor _which_ algorithm to use. Another strange detail is how to select top/bottom fields and field dominance. At least I'm getting quite similar results to vavpp on Linux, so I'm content with it for now. Future plans include removing the D3D11 video processor use from the ANGLE interop code.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index db1e3e7703..ecd6252e26 100644
--- a/player/command.c
+++ b/player/command.c
@@ -2295,6 +2295,9 @@ static int probe_deint_filters(struct MPContext *mpctx)
if (check_output_format(mpctx, IMGFMT_VAAPI) &&
probe_deint_filter(mpctx, "vavpp"))
return 0;
+ if (check_output_format(mpctx, IMGFMT_D3D11VA) &&
+ probe_deint_filter(mpctx, "d3d11vpp"))
+ return 0;
if (probe_deint_filter(mpctx, "yadif"))
return 0;
return -1;