0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00
mpv/video/out
Dudemanguy 6797f54378 hwdec/vaapi: additionally probe hwupload format conversions
This is probably fringe, but I encountered it on my machine. The
hwupload filter happily does conversions all on the GPU side if
possible. Makes sense. However, it turns out that there is a difference
between e.g.yuv420p -> vaapi[bgr0] and a vaapi[yuv420p] -> vaapi[bgr0].
The latter worked without any issues on my hardware, but the first
example fails. To remedy this, we need to also do hardware uploads
during probing against formats and track what actually works (i.e.
vaSurfaceExportHandle). This commit only implements it in vaapi since it
is the only known place where this edge case is relevant. But other
hardware decoding drivers could easily add support later if needed.
2024-09-16 00:07:36 +00:00
..
d3d11 vo: hwdec: add AVHWDeviceType property to hwdecs 2024-08-10 14:24:36 -07:00
gpu meson: require Vulkan loader/headers >= 1.3.238 2024-09-14 17:20:16 +02:00
gpu_next vo_gpu_next: fix -Wembedded-directive warning 2024-03-19 08:58:18 +01:00
hwdec hwdec/vaapi: additionally probe hwupload format conversions 2024-09-16 00:07:36 +00:00
mac cocoa-cb: add support for macOS color space transformation (EDR/HDR) 2024-05-05 19:02:50 +02:00
opengl context_drm_egl: always use drmModeAddFB2WithModifiers 2024-08-11 08:22:59 -07:00
placebo video/out/placebo/utils: fix -Wignored-qualifiers warning 2024-03-19 08:58:18 +01:00
vulkan meson: require Vulkan loader/headers >= 1.3.238 2024-09-14 17:20:16 +02:00
win32 win32: make context menu items accessible from the window menu 2024-05-03 16:36:02 +02:00
wldmabuf wayland: properly use tranche_formats when getting compositor formats 2024-09-16 00:07:36 +00:00
android_common.c video/out/android: assert WinID value before use 2023-06-03 17:07:43 +02:00
android_common.h vo: change vo_platform_init to bool 2023-01-08 20:42:42 +00:00
aspect.c aspect: remove unused multiplication 2023-10-23 00:10:42 +00:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c video/out/bitmap_packer: Avoid empty initializer list 2019-11-18 16:50:21 +01:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_cb_common.swift cocoa-cb: guard color spaces that are only available on 10.15.4 upwards 2024-06-18 19:30:07 +02:00
dither.c dither: removed some unused code 2023-10-16 15:38:59 +00:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
dr_helper.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
dr_helper.h mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
drm_atomic.c various: fix indentation 2024-05-07 11:23:08 +02:00
drm_atomic.h drm: rewrite based around vo_drm_state 2023-01-21 17:08:29 +00:00
drm_common.c build: detect VT_GETMODE on OpenBSD 2024-07-29 15:09:49 +00:00
drm_common.h vo_drm: add support for YUYV format 2024-03-16 13:27:34 +01:00
drm_prime.c drm_prime: fix use of formats with modifiers 2024-08-11 08:22:59 -07:00
drm_prime.h drm_prime: double free bug 2020-03-05 18:12:57 +01:00
filter_kernels.c vo_gpu{,_next}: convert scale options to type choice 2024-09-14 17:06:07 +02:00
filter_kernels.h vo_gpu{,_next}: convert scale options to type choice 2024-09-14 17:06:07 +02:00
libmpv_sw.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
libmpv.h vo: add int flags to the get_image signature 2023-01-23 14:13:34 +01:00
mac_common.swift mac: code cleanup and consistency changes, fix linting issues 2024-04-28 20:21:18 +02:00
meson.build wayland: bump wayland-protocol requirement to 1.31 2024-07-08 13:33:32 +00:00
present_sync.c present_sync: remove unneeded clear_values function 2023-11-07 00:52:46 +00:00
present_sync.h present_sync: remove unneeded clear_values function 2023-11-07 00:52:46 +00:00
vo_caca.c vo: fully replace draw_image with draw_frame 2023-10-01 14:48:38 +00:00
vo_direct3d.c vo_direct3d: support video-target-params 2024-03-27 22:08:56 +01:00
vo_dmabuf_wayland.c vo_dmabuf_wayland: reject formats not supported by the GPU 2024-09-16 00:07:36 +00:00
vo_drm.c vo_{drm,wlshm}: make query_format checks more correct 2024-03-16 13:27:34 +01:00
vo_gpu_next.c vo_gpu_next: allow setting antiring value for cscale 2024-09-15 18:54:23 +02:00
vo_gpu.c vo_gpu: restore dovi mapping directly on image_params after init 2024-09-03 17:08:28 +02:00
vo_image.c image_writer: fix TOCTOU in screenshot filename generation 2024-03-19 19:30:27 +01:00
vo_kitty.c terminal: add terminal_set_mouse_input function 2024-04-18 01:03:33 +02:00
vo_lavc.c csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
vo_libmpv.c mac/apphub: migrate remaining events functionality to new AppHub 2024-03-24 23:03:48 +01:00
vo_mediacodec_embed.c hwdec: fix undeclared identifier in mediacodec_embed 2023-06-28 10:29:24 -07:00
vo_null.c timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
vo_sdl.c various: handle numpad add/subtract/multiply/divide keycodes 2024-08-11 15:08:42 +02:00
vo_sixel.c options: remove some deprecated OPT_REPLACED option mapping 2024-06-25 02:18:58 +00:00
vo_tct.c vo_tct: clear backbuffer on reconfig 2024-06-22 00:50:38 +02:00
vo_vaapi.c vo_vaapi: remove redundant function call 2024-05-28 21:29:07 +02:00
vo_vdpau.c vo: remove VOCTRL_SET_EQUALIZER and simplify into UPDATE_VIDEO 2024-02-17 18:56:20 +00:00
vo_wlshm.c options: move all wayland specific options to vo_opts 2024-07-24 18:46:04 +00:00
vo_x11.c vo_{drm,wlshm,x11}: add support for video-target-params 2024-03-16 13:27:34 +01:00
vo_xv.c various: fix indentation 2024-05-07 11:23:08 +02:00
vo.c vo: move target_params into responsibility of VO 2024-03-16 13:27:34 +01:00
vo.h win32: quantize taskbar playback position into uint8 range 2024-06-03 19:16:35 +02:00
w32_common.c win32: unregister window class on dll detach 2024-07-11 21:55:21 +02:00
w32_common.h w32_common: add function to control window transparency state 2024-02-17 16:06:33 +00:00
wayland_common.c wayland: properly use tranche_formats when getting compositor formats 2024-09-16 00:07:36 +00:00
wayland_common.h wayland: properly use tranche_formats when getting compositor formats 2024-09-16 00:07:36 +00:00
win_state.c win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
win_state.h win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
x11_common.c various: use talloc_replace 2024-09-08 17:33:27 +02:00
x11_common.h x11: correct position coordinates if mpv was launched with --fs 2024-05-29 13:39:20 +00:00