mpv/video/filter
wm4 46fff8d31a video: refactor how VO exports hwdec device handles
The main change is with video/hwdec.h. mp_hwdec_info is made opaque (and
renamed to mp_hwdec_devices). Its accessors are mainly thread-safe (or
documented where not), which makes the whole thing saner and cleaner. In
particular, thread-safety rules become less subtle and more obvious.

The new internal API makes it easier to support multiple OpenGL interop
backends. (Although this is not done yet, and it's not clear whether it
ever will.)

This also removes all the API-specific fields from mp_hwdec_ctx and
replaces them with a "ctx" field. For d3d in particular, we drop the
mp_d3d_ctx struct completely, and pass the interfaces directly.

Remove the emulation checks from vaapi.c and vdpau.c; they are
pointless, and the checks that matter are done on the VO layer.

The d3d hardware decoders might slightly change behavior: dxva2-copy
will not use the VO device anymore if the VO supports proper interop.
This pretty much assumes that any in such cases the VO will not use any
form of exclusive mode, which makes using the VO device in copy mode
unnecessary.

This is a big refactor. Some things may be untested and could be broken.
2016-05-09 20:03:22 +02:00
..
vf.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vf.h video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vf_buffer.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
vf_crop.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_dlopen.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
vf_dlopen.h vf_dlopen: declare as deprecated 2015-05-25 21:13:54 +02:00
vf_dsize.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_eq.c Update license headers 2015-04-13 12:10:01 +02:00
vf_expand.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_flip.c Update license headers 2015-04-13 12:10:01 +02:00
vf_format.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_gradfun.c Update license headers 2015-04-13 12:10:01 +02:00
vf_lavfi.c af_lavfi, vf_lavfi: fix compilation on Libav 2016-01-22 20:53:52 +01:00
vf_lavfi.h video/filters: simplify libavfilter bridge 2015-02-11 17:35:58 +01:00
vf_mirror.c vf_mirror: replace internal implementation with libavfilter 2015-04-16 22:43:15 +02:00
vf_noformat.c Update license headers 2015-04-13 12:10:01 +02:00
vf_pullup.c Update license headers 2015-04-13 12:10:01 +02:00
vf_rotate.c Update license headers 2015-04-13 12:10:01 +02:00
vf_scale.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_stereo3d.c vf_stereo3d: add alternating modes 2015-12-18 15:35:06 +01:00
vf_sub.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_vapoursynth.c vf_vapoursynth: fix everything 2015-12-20 09:55:26 +01:00
vf_vavpp.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vf_vdpaupp.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vf_vdpaurb.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vf_yadif.c vf_yadif: change defaults 2015-12-21 22:05:40 +01:00