1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-06 23:21:54 +00:00
mpv/audio/decode
wm4 5e25a3d216 audio: use refcounted frames in the filter chain
The goal is switching the whole audio chain to using refcounted frames.
This brings the architecture closer to FFmpeg, enables better
integration with libavfilter, will reduce useless copying somewhat, and
will probably allow better timestamp tracking.

For now, every filter goes through a semi-awful wrapper in
af_do_filter(), though. This will be fixed step by step, and the wrapper
should eventually be removed. Another thing that will have to be done is
improving the timestamp handling and avoiding extra copies for the AO.

Some of the new code is rather similar to the video filter code (the
core filter code basically just has types replaced). Such code
duplication is normally very unwanted, but in this case there's probably
no other choice. On the other hand, this code is pretty simple (even if
somewhat tricky). Maybe there will be unified filter code in the future,
but this is still far away.
2015-01-13 20:15:43 +01:00
..
ad_lavc.c player: print used number of threads in verbose mode 2015-01-05 12:17:55 +01:00
ad_mpg123.c audio: make decoders output refcounted frames 2014-11-10 22:02:05 +01:00
ad_spdif.c audio: make decoders output refcounted frames 2014-11-10 22:02:05 +01:00
ad.h audio: make decoders output refcounted frames 2014-11-10 22:02:05 +01:00
dec_audio.c audio: use refcounted frames in the filter chain 2015-01-13 20:15:43 +01:00
dec_audio.h audio: make decoders output refcounted frames 2014-11-10 22:02:05 +01:00