1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 13:21:13 +00:00
mpv/audio/filter
wm4 60a7f3b8bc af_lavfi: add libavfilter bridge
Mostly copied from vf_lavfi. The parts that could be shared are minor,
because most code is about setting up audio and video, which are too
different.

This won't work with Libav. I used ffplay.c as guide, and noticed too
late that their setup methods are incompatible with Libav's. Trying to
make it work with both would be too much effort. The configure test for
av_opt_set_int_list() should disable af_lavfi gracefully when compiling
with Libav.

Due to option parser chaos, you currently can't have a "," as part of
the filter graph string - not even with quoting or escaping. This will
probably be fixed later.

The audio filter chain is not PTS aware. So we have to do some hacks
to make up a fake PTS, and we have to map the output PTS back to the
filter chain's method of tracking PTS changes and buffering, by
adjusting af->delay.
2013-05-23 17:44:06 +02:00
..
af_bs2b.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_center.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_channels.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_delay.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_drc.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_dummy.c audio/filter: replace pointless memcpys with assignments 2013-04-13 04:21:27 +02:00
af_equalizer.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_export.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_extrastereo.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_force.c audio/filters: add af_force 2013-05-12 21:24:56 +02:00
af_format.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_hrtf.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_hrtf.h
af_karaoke.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_ladspa.c af_ladspa: code cleanup 2013-05-12 21:24:56 +02:00
af_lavcac3enc.c reorder_ch: remove old channel reorder functions 2013-05-12 21:24:55 +02:00
af_lavfi.c af_lavfi: add libavfilter bridge 2013-05-23 17:44:06 +02:00
af_lavrresample.c af_lavrresample: fix inverted condition 2013-05-13 18:05:37 +02:00
af_pan.c af_pan: set unknown channel layout for output 2013-05-12 21:24:54 +02:00
af_scaletempo.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_sinesuppress.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_sub.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_surround.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_sweep.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af_tools.c af: use mp_chmap for mp_audio, include channel map in format negotiation 2013-05-12 21:24:54 +02:00
af_volume.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
af.c af_lavfi: add libavfilter bridge 2013-05-23 17:44:06 +02:00
af.h audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
control.h audio/filter: remove unused AF_CONTROLs 2013-05-12 20:55:50 +02:00
dsp.h
equalizer.h
filter.c
filter.h
window.c
window.h