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
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
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
Clément Bœsch
3da54858d3
lavfi/hue: add an optimized direct path.
12 years ago
Clément Bœsch
ee0a8bcba1
lavfi/showspectrum: fix outpicref initialization.
In 81f2549, output pixel format was changed from rgb24 to planar yuv,
but the initialization was left unchanged. As a result, the chroma
planes were left uninitalized. This was not noticed since the current
ff_get_video_buffer() seems to be initializing the buffer. This won't be
the case anymore after the Evil Plan.
12 years ago
Anton Khirnov
0651e892e1
Replace remaining includes of audioconvert.h with channel_layout.h
12 years ago
Anton Khirnov
d8b31be6ca
Add the bumps and APIchanges entries for reference counted buffers changes.
12 years ago
Anton Khirnov
7e350379f8
lavfi: switch to AVFrame.
Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it
and use AVFrame instead.
13 years ago
Reimar Döffinger
efa7f42020
Use the avstring.h locale-independent character type functions
Make sure the behavior does not change with the locale.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
4c56b79a16
vf_stereo3d: Add AVOption table terminator
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
34d0ea5247
lavfi/deshake: support named options.
12 years ago
Stefano Sabatini
8d9509377e
lavfi/overlay: improve log message warning in case of clipped overlay
12 years ago
Stefano Sabatini
f164228fd7
lavfi/overlay: add support for partial overlaying
Partially rework the iteration logic, in order to limit iteration only
for the clipped overlay region.
12 years ago
Paul B Mahol
1c808943b8
lavfi/mp: drop mp=stereo3d filter
The filter has been natively integrated into libavfilter.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
3f35f36a2e
lavfi: port MP stereo3d filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
14e240cb4a
lavfi/opencv: isgraph -> av_isgraph.
Fix build after 88d55b8 .
12 years ago
Reimar Döffinger
88d55b827d
Remove incorrect use of ctype.h functions.
As far as I can tell the code should not change behaviour
depending on locale in any of these places.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years ago
Nicolas George
3d2adeb6f8
lavfi/af_aresample: fix info log for unknown layouts.
12 years ago
Nicolas George
2bd104c72a
lavfi/af_aresample: fix layout consistency check.
If the channel layout is unknown, lswr will internally use
the default one for the corresponding number of channels.
12 years ago
Michael Niedermayer
21c2e201f6
vf_lut: correct color/comp permutation
Fixes Ticket2225
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
e0ccb5fa38
lavfi/hflip: support more formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
eac93932b0
lavfi/geq: improve support for formats with alpha plane
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
bb7bc3443d
af_biquads: memset(0) cache
Fixes valgrind warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
566560b85c
lavfi/abuffersink: fix weird indent and spacing
12 years ago
Stefano Sabatini
b59cd089ff
lavfi/abuffersink: add sample_rates field to AVABufferSinkParams
Allow to select sample rates.
12 years ago
Michael Niedermayer
c4c702b6d3
avfilter/avfiltergraph.h: Move public field out of the private fields
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
e568d432b1
lavfi/formats: reindent after last commit.
12 years ago
Nicolas George
2d98dd3d14
lavfi: fix merging of formats and clarify exception.
The following commit:
b97d61f avfilter/ff_merge_formats: only merge if doing so does not loose chroma or alpha
introduced an exception to avoid lossy conversions.
Add a comment to explain the logic.
Fix the call to avoid applying it on audio formats.
12 years ago
Nicolas George
bf0712c2f8
libavfilter/af_amerge: fix segfault if init fails.
12 years ago
Justin Ruggles
9f1223562e
lavfi: connect libavresample options to af_resample via AVFilterGraph
13 years ago
Michael Niedermayer
73fce258b7
vf_mp: Set pseudo pal
Fixes ticket2140
Fixes null pointer dereference
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
cfcab4c507
vf_overlay: silence warning: X may be used uninitialized in this function
Also ensure that format is valid in query_formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago