mpv/video/decode
wm4 a52a52fa6e vdpau: support new vdpau libavcodec decode API
The new API works like the new vaapi API, using generic hwaccel support.

One minor detail is the error message that will be printed if using
non-4:2:0 surfaces (which as far as I can tell is completely broken in
the nVidia drivers and thus not supported by mpv). The HEVC warning
(which is completely broken in the nVidia drivers but should work with
Mesa) had to be added to the generic hwaccel code.

This also trashes display preemption recovery. Fuck that. It never
really worked. If someone complains, I might attempt to add it back
somehow.

This is the 4th iteration of the libavcodec vdpau API (after the
separate decoder API, the manual hwaccel API, and the automatic vdpau
hwaccel API). Fortunately, further iterations will be generic, and not
require much vdpau-specific changes (if any at all).
2017-03-23 11:14:11 +01:00
..
d3d.c win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
d3d.h d3d: implement screenshots for --hwdec=d3d11va 2016-06-28 20:38:53 +02:00
dec_video.c dec_video, dec_audio: remove redundant NULL-checks 2017-02-20 13:58:18 +01:00
dec_video.h player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
hw_cuda.c Fix two typos 2017-02-20 08:47:17 +01:00
hw_d3d11va.c decode: fix extra surface count 2017-02-27 14:41:24 +01:00
hw_dxva2.c decode: fix extra surface count 2017-02-27 14:41:24 +01:00
hw_vaapi_old.c decode: fix extra surface count 2017-02-27 14:41:24 +01:00
hw_vdpau.c vdpau: warn on HEVC due to completely broken nVidia drivers 2017-03-14 23:29:47 +01:00
hw_videotoolbox.c hw_videotoolbox: allow using native decoder output format 2017-03-02 11:49:12 +01:00
lavc.h decode: fix extra surface count 2017-02-27 14:41:24 +01:00
vd.h video: make decoder EOF reporting explicit 2017-01-11 11:02:57 +01:00
vd_lavc.c vdpau: support new vdpau libavcodec decode API 2017-03-23 11:14:11 +01:00