Stefano Sabatini
7945665200
lavfi: store and propagate number of channels information in audio buffer properties
The channels field is required since the channel layout is not always
available.
13 years ago
Justin Ruggles
a903f8f087
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
Also reorder some other #include when applicable.
12 years ago
Michael Niedermayer
5cac0656a3
af_ashowinfo: integrate config_input() in filter_samples.
This is simpler and also should allow the code to function when the
channel number changes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
20dd41af85
lavfi: add ashowinfo filter
It can be useful for debugging.
Based on a patch by Stefano Sabatini <stefano.sabatini-lala@poste.it>
12 years ago
Clément Bœsch
13d878366f
lavfi/ashowinfo: check plane value before deferencing.
12 years ago
Stefano Sabatini
4d4098da00
lavfi: drop planar/packed negotiation support
The planar/packed switch and the packing_formats list is no longer
required, since the planar/packed information is now stored in the sample
format enum.
This is technically a major API break, possibly it should be not too
painful as we marked the audio filtering API as unstable.
13 years ago
Clément Bœsch
4522df52aa
lavfi: remove audio.h include from avfilter.h.
avfilter.h is a public header and the unexported audio.h header contains
only internal prototypes.
13 years ago
Stefano Sabatini
f89f9bdadd
lavfi/ashowinfo: only print checksum for the existing planes
Make the output a bit nicer.
13 years ago
Stefano Sabatini
175ab5f9a9
lavfi/*showinfo: use av_ts2* macros in showinfo and ashowinfo
13 years ago
Reimar Döffinger
5af7daabc4
Mark AVFilterPad[] compound literals as const.
GCC 4.6.2 at least still seems to fail to put them in .rodata though,
see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Clément Bœsch
9bd23f6815
ashowinfo: fix typo in description.
13 years ago
Clément Bœsch
a0b7853f7a
vf_showinfo: print checksums in hexadecimal.
13 years ago
Stefano Sabatini
bca8bd99d0
af_ashowinfo: fix plane size computation for planar layout formats
+10l.
13 years ago
Stefano Sabatini
cc6b8c4b61
af_ashowinfo: adopt used plane size when computing the plane checksum
Fix checksum computation when the used plane size is different from the
allocated plane size, as it was wrongly assumed.
13 years ago
Stefano Sabatini
e30a0b1b3b
lavfi: add ashowinfo filter
Useful for debugging.
13 years ago