mpv/filters
Kacper Michajłow 47cb503bf5 f_hwtransfer: fix best upload format selection
It is possible for a format to be supported by hardware but not by
av_hwframe_transfer for uploading. This breaks the best upload format
selection. We first select the hardware input format and then choose the
best software format that can be uploaded. In some cases, this may
result in a format that is not uploadable at all, leading to an error.
To solve this, we should avoid adding non-uploadable formats to the fmts
table.

For example, for format d3d11/yuv420p, av_hwframe_transfer_get_formats()
returns empty list of formats.
2024-08-27 01:27:48 +02:00
..
f_async_queue.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
f_async_queue.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
f_auto_filters.c various: fix trailing whitespace 2024-05-07 11:23:08 +02:00
f_auto_filters.h player/command: add deinterlace-active property 2024-02-07 14:50:09 +00:00
f_autoconvert.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
f_autoconvert.h vf_format: add gross mechanism for forcing scaler for testing 2020-04-13 15:56:27 +02:00
f_decoder_wrapper.c options: remove some deprecated OPT_REPLACED option mapping 2024-06-25 02:18:58 +00:00
f_decoder_wrapper.h player/command: add track-list/N/decoder 2024-04-18 01:20:32 +02:00
f_demux_in.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
f_demux_in.h video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
f_hwtransfer.c f_hwtransfer: fix best upload format selection 2024-08-27 01:27:48 +02:00
f_hwtransfer.h hwtransfer: implement support for hw->hw format conversion 2023-08-26 10:07:55 -07:00
f_lavfi.c video: hwdec: extend look up of hwdecs to consider device type as well 2024-08-10 14:24:36 -07:00
f_lavfi.h command: return lavfi filters in option-info/[av]f/choices 2024-05-05 14:43:57 +02:00
f_output_chain.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
f_output_chain.h player/command: add deinterlace-active property 2024-02-07 14:50:09 +00:00
f_swresample.c various: remove av channel layout check 2024-06-22 16:12:14 +02:00
f_swresample.h options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
f_swscale.c various: make filter internal function names more descriptive 2024-04-10 19:00:22 +02:00
f_swscale.h vf_format: add gross mechanism for forcing scaler for testing 2020-04-13 15:56:27 +02:00
f_utils.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
f_utils.h various: fix typos 2022-04-25 09:07:18 -04:00
filter.c video: hwdec: extend look up of hwdecs to consider device type as well 2024-08-10 14:24:36 -07:00
filter.h video: hwdec: extend look up of hwdecs to consider device type as well 2024-08-10 14:24:36 -07:00
filter_internal.h various: fix typos 2023-03-28 19:29:44 +00:00
frame.c Implement backwards playback 2019-09-19 20:37:04 +02:00
frame.h Implement backwards playback 2019-09-19 20:37:04 +02:00
user_filters.c command: return lavfi filters in option-info/[av]f/choices 2024-05-05 14:43:57 +02:00
user_filters.h audio: add scaletempo2 filter based on chromium 2020-07-27 00:57:22 +02:00