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.
13 years ago
Stefano Sabatini
35135a3989
lavfi/smartblur: add support to named options
13 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.
13 years ago
Stefano Sabatini
606efe18be
lavfi/unsharp: add missing option flags
13 years ago
Michael Niedermayer
f963c77856
avfilter: avoid direct access to "frame"->channels
This avoids ABI issues
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 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>
13 years ago
Clément Bœsch
65fc80f012
lavfi: add curves filter.
13 years ago
Clément Bœsch
3d813e7ec3
lavfi: bump minor version after the first round of evil changes.
13 years ago
Michael Niedermayer
108434a30c
sink_buffer: remove unused variables
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
96e4b00d62
lavfi: remove remaining forgotten min/rej perms.
13 years ago
Clément Bœsch
f0a5f71074
lavfi/hue: reindent.
13 years ago
Clément Bœsch
3da54858d3
lavfi/hue: add an optimized direct path.
13 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.
13 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>
13 years ago
Michael Niedermayer
4c56b79a16
vf_stereo3d: Add AVOption table terminator
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
34d0ea5247
lavfi/deshake: support named options.
13 years ago
Stefano Sabatini
8d9509377e
lavfi/overlay: improve log message warning in case of clipped overlay
13 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.
13 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>
13 years ago
Paul B Mahol
3f35f36a2e
lavfi: port MP stereo3d filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Clément Bœsch
14e240cb4a
lavfi/opencv: isgraph -> av_isgraph.
Fix build after 88d55b8 .
13 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>
13 years ago
Nicolas George
3d2adeb6f8
lavfi/af_aresample: fix info log for unknown layouts.
13 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.
13 years ago
Michael Niedermayer
21c2e201f6
vf_lut: correct color/comp permutation
Fixes Ticket2225
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
e0ccb5fa38
lavfi/hflip: support more formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
eac93932b0
lavfi/geq: improve support for formats with alpha plane
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
bb7bc3443d
af_biquads: memset(0) cache
Fixes valgrind warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
566560b85c
lavfi/abuffersink: fix weird indent and spacing
13 years ago
Stefano Sabatini
b59cd089ff
lavfi/abuffersink: add sample_rates field to AVABufferSinkParams
Allow to select sample rates.
13 years ago
Michael Niedermayer
c4c702b6d3
avfilter/avfiltergraph.h: Move public field out of the private fields
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
e568d432b1
lavfi/formats: reindent after last commit.
13 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.
13 years ago
Nicolas George
bf0712c2f8
libavfilter/af_amerge: fix segfault if init fails.
13 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>
13 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>
13 years ago
Michael Niedermayer
3c14c82b7e
avfilter: Silence warning: passing argument 3 of av_image_copy from incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
f30979e095
lavfi/boxblur: add support to named options
13 years ago
Paul B Mahol
47619e41c4
blend filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Nicolas George
01649c79c8
lavfi/buffersrc: set channel layout if it is known.
If buffersrc was configured for frames with an unknown layout,
the incoming frames will have channel_layout = 0.
If the format negotiation has selected a known (and compatible)
channel layout for the link, the frame is assumed to have
that layout, the field must be set before injecting the frame
in the filters.
13 years ago
Michael Niedermayer
cdb7a1ac63
vf_idet: adapt default scores due to bugfix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dc9edb06b0
vf_idet: Fix macro arguments sideeffect
Fixes valgrind errors
should improve detection scores
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
9b9d996b34
lavfi/subtitles: fix recently introduced warning about discarded const qualifier.
13 years ago
Stefano Sabatini
22b06103f0
lavfi/overlay: add format option
In particular, fix misbehavior in case main and overlay input formats
mismatch (e.g. YUV420 and YUV444).
13 years ago
Stefano Sabatini
2db0056f96
lavfi/overlay: apply minor consistency fixes
13 years ago
Stefano Sabatini
3d77a27548
lavfi/overlay: implement shortest option
Force termination when the overlay stream ends. Simplify scripting logic,
for example when an infinite source is used to generate a background for
a composite video.
13 years ago
Stefano Sabatini
a2a1e20fa2
lavfi/decimate: use named options
13 years ago
Michael Niedermayer
951d39fecd
avfilter: fix segfault with setsar/dar
Reported-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago