ffmpeg/fftools
Anton Khirnov f5d03b972c fftools/ffmpeg: simplify propagating fallback parameters from decoders to filters
Current callstack looks like this:
* ifilter_bind_ist() (filter) calls ist_filter_add() (demuxer);
* ist_filter_add() opens the decoder, and then calls
  dec_add_filter() (decoder);
* dec_add_filter() calls ifilter_parameters_from_dec() (i.e. back into
  the filtering code) in order to give post-avcodec_open2() parameters
  to the filter.

This is unnecessarily complicated. Pass the parameters as follows
instead:
* dec_init() (which opens the decoder) returns post-avcodec_open2()
  parameters to its caller (i.e. the demuxer) in a parameter-only
  AVFrame
* the demuxer passes these parameters to the filter in
  InputFilterOptions, together with other filter options
2024-03-13 08:01:15 +01:00
..
cmdutils.c fftools/cmdutils: fix printing group name in split_commandline() 2024-03-13 08:01:15 +01:00
cmdutils.h fftools/cmdutils: Inline print_error() 2024-03-04 12:07:58 +01:00
ffmpeg_dec.c fftools/ffmpeg: simplify propagating fallback parameters from decoders to filters 2024-03-13 08:01:15 +01:00
ffmpeg_demux.c fftools/ffmpeg: simplify propagating fallback parameters from decoders to filters 2024-03-13 08:01:15 +01:00
ffmpeg_enc.c fftools/ffmpeg: declare loop indices inside loops 2024-02-24 11:51:41 +01:00
ffmpeg_filter.c fftools/ffmpeg: simplify propagating fallback parameters from decoders to filters 2024-03-13 08:01:15 +01:00
ffmpeg_hw.c fftools/ffmpeg: move hwaccel_retrieve_data() from ffmpeg_hw to ffmpeg_dec 2024-01-30 09:52:00 +01:00
ffmpeg_mux_init.c avutil: remove deprecated FF_API_OLD_CHANNEL_LAYOUT 2024-03-07 08:53:30 -03:00
ffmpeg_mux.c fftools/ffmpeg: remove options deprecated before 6.0 2024-03-01 16:51:11 +01:00
ffmpeg_mux.h fftools/ffmpeg: cosmetics, vertically align structs 2024-02-21 10:33:20 +01:00
ffmpeg_opt.c fftools/ffmpeg_opt: merge init_complex_filters() and check_filter_outputs() 2024-03-13 08:01:15 +01:00
ffmpeg_sched.c fftools/ffmpeg_sched: remove a triggerable assert in send_to_enc_sq() 2024-02-24 11:51:41 +01:00
ffmpeg_sched.h fftools/ffmpeg: optimize inter-thread queue sizes 2024-01-28 13:34:56 +01:00
ffmpeg_utils.h fftools/ffmpeg: rework keeping track of file duration for -stream_loop 2023-11-14 18:18:26 +01:00
ffmpeg.c fftools/ffmpeg: declare loop indices inside loops 2024-02-24 11:51:41 +01:00
ffmpeg.h fftools/ffmpeg: simplify propagating fallback parameters from decoders to filters 2024-03-13 08:01:15 +01:00
ffplay_renderer.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
ffplay_renderer.h fftools/ffplay: add hwaccel decoding support 2023-11-15 01:20:11 +08:00
ffplay.c fftools/ffplay: stop printing non-public AVCodecContext fields 2024-03-04 15:56:48 +01:00
ffprobe.c fftools/ffprobe: add AVFilmGrainParams printing 2024-03-07 21:09:06 +01:00
fftools.manifest fftools: add DPI awareness manifest 2022-08-13 14:42:52 +02:00
fftoolsres.rc fftools: add DPI awareness manifest 2022-08-13 14:42:52 +02:00
fopen_utf8.h fftools/fopen_utf8: support long paths on Windows for fftools 2022-06-19 01:38:23 +03:00
Makefile fftools/ffmpeg: add thread-aware transcode scheduling infrastructure 2023-12-12 08:24:18 +01:00
objpool.c fftools/objpool: Don't use return with expression when returning void 2022-07-23 18:58:35 +02:00
objpool.h fftools: add an object pool 2022-07-23 11:53:19 +02:00
opt_common.c fftools/opt_common: show if muxer is device 2024-03-11 16:52:42 +01:00
opt_common.h fftools/cmdutils: hide some information listing options from basic help 2024-01-20 10:37:32 +01:00
sync_queue.c fftools/ffmpeg_demux, sync_queue: Constify a bit 2024-03-02 02:51:59 +01:00
sync_queue.h fftools/sync_queue: add debug logging 2023-05-28 10:47:59 +02:00
thread_queue.c fftools/thread_queue: count receive-finished streams as finished 2023-11-14 18:18:26 +01:00
thread_queue.h fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00