Clément Bœsch
fe898a037d
Revert "lavfi/ebur128: fix format negociation for output."
...
This reverts commit 9efcfbed9d
.
All the shame on me; this commit is actually causing more problems
(broken outputs but also crashes) than it was solving.
12 years ago
Clément Bœsch
9efcfbed9d
lavfi/ebur128: fix format negociation for output.
...
Before this change, the audio input and output formats are set
independently, so the lavfi negociation could pick different settings
for the input and output. This is particularly true for the channel
layout settings, where multiple choices were available.
Fixes Ticket2342.
12 years ago
Clément Bœsch
a95a38793c
lavfi/thumbnail: support flushing.
...
This makes possible the raise of one picture if the input has less than
the number of frames to analyze.
Fixes Ticket1992.
12 years ago
Hendrik Leppkes
ed69c69a01
lavfi/avcodec: fix API version checks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
3c7f669972
lavfi/avcodec: cleanup includes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
James Darnley
0735b50880
yadif: restore speed of the C filtering code
...
Always use the special filter for the first and last 3 columns (only).
Changes made in 64ed397
slowed the filter to just under 3/4 of what it
was. This commit restores the speed while maintaining identical output.
For reference, on my Athlon64:
1733222 decicycles in old
2358563 decicycles in new
1727558 decicycles in this
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
ae732640ab
lavfi/cropdetect: add support for named options
12 years ago
Clément Bœsch
de3e0ab35f
lavfi/delogo: remove sscanf and rely on av_opt_set_from_string() only.
12 years ago
Clément Bœsch
e7279638e8
lavfi/thumbnail: remove unecessary poll_frame() callback.
12 years ago
Clément Bœsch
bce2e97a16
lavfi/mptestsrc: raise filter_frame() error.
12 years ago
Clément Bœsch
afa0b90803
lavfi/mandelbrot: raise filter_frame() error.
12 years ago
Clément Bœsch
227a4b63f5
lavfi/life: raise filter_frame() error.
12 years ago
Clément Bœsch
fe6077d902
lavfi/cellauto: raise filter_frame() error.
12 years ago
Clément Bœsch
f32fee570a
lavfi/alphamerge: raise filter_frame() error.
12 years ago
Clément Bœsch
05854f5505
lavfi/movie: raise filter_frame() error.
12 years ago
Clément Bœsch
bdbdadbaff
lavfi/buffersrc: raise filter_frame() error.
12 years ago
Clément Bœsch
27ce858c98
lavfi/showspectrum: raise filter_frame() error.
12 years ago
Clément Bœsch
df5be5e275
lavfi/avfilter: raise filter_frame() error.
12 years ago
Clément Bœsch
60bd8c11b6
lavfi/concat: raise filter_frame() error.
12 years ago
Clément Bœsch
00a13a9cdb
lavfi/anullsrc: raise filter_frame() error.
12 years ago
Clément Bœsch
44f3d21799
lavfi/aevalsrc: raise filter_frame() error.
12 years ago
Clément Bœsch
1b0d0e6b72
lavfi/atempo: raise filter_frame() error.
12 years ago
Clément Bœsch
dda59d9adc
lavfi/asetnsamples: raise filter_frame() error.
12 years ago
Clément Bœsch
c82bb2815b
lavfi/aresample: raise filter_frame() error.
12 years ago
Loren Merritt
5b3c1aecb2
hqdn3d: Fix out of array read in LOWPASS
...
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Stefano Sabatini
aeac1dae29
lavfi/fieldorder: add support to named options
12 years ago
Stefano Sabatini
a3233e9d7a
lavfi/fieldorder: remove unused headers and commented define
12 years ago
Nicolas George
c14a8c834c
lavfi/buffersink: schedule removing the "ff" variants.
...
They are no longer needed since there is no incompatible
ABI version.
12 years ago
Nicolas George
9a2688826d
lavfi/buffersink: rename filter structures.
...
Reduce the diff with the fork.
12 years ago
Michael Niedermayer
212b89f8b4
avfilter: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
c69acbf881
lavfi/moviesrc: use refcounted frames
12 years ago
Nicolas George
73b40e2eb6
lavfi/buffersink: move the filter structures at the end.
...
Also apply a few cosmetic fixes (spaces, trailing comma) to
help match them with the fork's implementation.
12 years ago
Anton Khirnov
d0a863ac89
vf_hqdn3d: fix uninitialized variable use
...
CC:libav-stable@libav.org
12 years ago
Anton Khirnov
887d31d455
vf_gradfun: fix uninitialized variable use
...
CC:libav-stable@libav.org
12 years ago
Nicolas George
de54a96aa8
lavfi/buffersink: implement av_buffersink_get_samples().
...
Note: the implementation could be more efficient, but at
the cost of more diff.
Most of the code from the following commit:
commit a2cd9be212
Author: Anton Khirnov <anton@khirnov.net>
Date: Fri May 4 19:22:38 2012 +0200
lavfi: add an audio buffer sink.
Adapted to call av_buffersink_get_frame_flags() instead of
accessing the frame directly.
12 years ago
Nicolas George
b71db3f38e
lavfi/buffersrc: do not dereference NULL frame.
...
frame = NULL is used to indicate EOF.
12 years ago
Nicolas George
03b87fe5e3
lavfi: rename sink_buffer.c into buffersink.c.
12 years ago
Nicolas George
3add5dc88e
lavfi: remove buffersink.c.
...
It only contains merge conflicts leftovers.
The real code is in sink_buffer.c.
12 years ago
Nicolas George
fa41f7ecd6
lavfi/sink_buffer: move stuff to reduce the diff.
...
Note: av_buffersink_get_samples() is not yet implemented,
abuffersink is not yet a drop-in replacement of the fork's
abuffersink.
12 years ago
Stefano Sabatini
35135a3989
lavfi/smartblur: add support to named options
12 years ago
Nicolas George
b0012de420
lavfi/buffersrc: implement flags.
...
The PUSH flags is necessary for efficient scheduling;
otherwise there is no feedback when adding frames to
closed paths.
The NO_CHECK_FORMAT is a small optimization that does
not cost much to implement.
The KEEP_REF flag maps to the add/write distinction in
the fork's API.
12 years ago
Stefano Sabatini
606efe18be
lavfi/unsharp: add missing option flags
12 years ago
Michael Niedermayer
f963c77856
avfilter: avoid direct access to "frame"->channels
...
This avoids ABI issues
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Xi Wang
5d639b2b4a
vf_pad: fix a & instead of && typo
...
Avoid buffer overflow in buffer_needs_copy()
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Xi Wang
969e8d35b5
lavfi/pad: avoid buffer overflow in buffer_needs_copy()
...
Replace & with short-circuit &&.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Clément Bœsch
65fc80f012
lavfi: add curves filter.
12 years ago
Clément Bœsch
3d813e7ec3
lavfi: bump minor version after the first round of evil changes.
12 years ago
Michael Niedermayer
108434a30c
sink_buffer: remove unused variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
96e4b00d62
lavfi: remove remaining forgotten min/rej perms.
12 years ago
Clément Bœsch
f0a5f71074
lavfi/hue: reindent.
12 years ago