mpv/video/out
Philip Langdale 989d873d6e filters: lavfi: allow hwdec_interop selection for filters
Today, lavfi filters are provided a hw_device from the first
hwdec_interop that was loaded, regardless of whether it's the right one
or not. In most situations where a hardware based filter is used, we
need more control over the device.

In this change, a `hwdec_interop` option is added to the lavfi wrapper
filter configuration and this is used to pick the correct hw_device to
inject into the filter or graph (in the case of a graph, all filters
get the same device).

Note that this requires the use of the explicit lavfi syntax to allow
for the extra configuration.

eg:

```
mpv --vf=hwupload
```

becomes

```
mpv --vf=lavfi=[hwupload]:hwdec_interop=cuda-nvdec
```

or

```
mpv --vf=lavfi-bridge=[hwupload]:hwdec_interop=cuda-nvdec
```
2022-09-21 09:39:34 -07:00
..
cocoa
d3d11 vo: hwdec: do hwdec interop lookup by image format 2022-09-21 09:39:34 -07:00
gpu filters: lavfi: allow hwdec_interop selection for filters 2022-09-21 09:39:34 -07:00
gpu_next vo_gpu_next: pass GL get_proc_addr pointer to libplacebo 2022-08-19 13:54:50 +02:00
hwdec vo: hwdec: do hwdec interop lookup by image format 2022-09-21 09:39:34 -07:00
mac mac: avoid unnecessary unsafe conversions; fixes crash in debug builds 2022-09-14 16:28:12 -05:00
opengl vo: hwdec: do hwdec interop lookup by image format 2022-09-21 09:39:34 -07:00
placebo libplacebo: fix compatibility with libplacebo >= 5 2022-07-16 13:06:21 +03:00
vulkan x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
win32
android_common.c
android_common.h
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift mac: avoid unnecessary unsafe conversions; fixes crash in debug builds 2022-09-14 16:28:12 -05:00
cocoa_common.h
cocoa_common.m various: fix typos 2022-04-25 09:07:18 -04:00
dither.c video/out/dither: remove custom index_t typedef 2022-06-04 01:23:03 +02:00
dither.h
dr_helper.c
dr_helper.h
drm_atomic.c drm: context_drm_egl: add support for enabling VRR 2022-04-05 20:56:36 -07:00
drm_atomic.h drm: context_drm_egl: add support for enabling VRR 2022-04-05 20:56:36 -07:00
drm_common.c drm_common: remove hard dependency on drmIsKMS() 2022-08-11 18:31:04 +02:00
drm_common.h wayland: use mp_tag_str not drm_format_string 2022-05-30 19:51:46 +00:00
drm_prime.c
drm_prime.h
filter_kernels.c various: fix typos 2022-04-25 09:07:18 -04:00
filter_kernels.h
libmpv.h
libmpv_sw.c
present_sync.c vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
present_sync.h vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
vo.c vo: allow vaapi_wayland and vaapi_x11 to coexist 2022-05-30 19:51:46 +00:00
vo.h vd_lavc: add vo caps and option to set GPU film grain application 2022-04-05 15:02:18 +02:00
vo_caca.c
vo_direct3d.c various: fix typos 2022-04-25 09:07:18 -04:00
vo_drm.c
vo_gpu.c vo_gpu[_next]: hwdec: fix logging regression when probing 2022-03-21 09:53:37 -07:00
vo_gpu_next.c vo_gpu_next: support error diffusion dithering 2022-09-20 14:59:00 +02:00
vo_image.c
vo_lavc.c
vo_libmpv.c
vo_mediacodec_embed.c vo: hwdec: do hwdec interop lookup by image format 2022-09-21 09:39:34 -07:00
vo_null.c
vo_rpi.c
vo_sdl.c sub: rename SUBBITMAP_RGBA to SUBBITMAP_BGRA 2022-01-11 23:45:08 +02:00
vo_sixel.c
vo_tct.c
vo_vaapi.c x11: support xorg present extension 2022-06-19 18:13:55 +00:00
vo_vaapi_wayland.c vo_vaapi_wayland: remove vaapi format query as formats are never used 2022-06-21 14:05:19 +00:00
vo_vdpau.c various: fix typos 2022-04-25 09:07:18 -04:00
vo_wlshm.c vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
vo_x11.c x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
vo_xv.c x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
w32_common.c various: remove trailing whitespace 2022-05-14 14:51:34 +00:00
w32_common.h
wayland_common.c wayland: add support for F13-F24 keys 2022-09-02 14:05:46 +02:00
wayland_common.h wayland: add support for configure bounds 2022-08-14 16:04:49 +00:00
win_state.c
win_state.h
x11_common.c x11: add support for F13-F24 keys 2022-09-02 14:05:46 +02:00
x11_common.h x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00