Stefano Sabatini
2ffee3ec14
lavfi/smartblur: switch to AVOption-based system
12 years ago
Clément Bœsch
e2b0edb6ac
lavfi/subtitles: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
8da1fff85a
lavfi/pp: switch to an AVOptions-based system.
Also add and use the '|' separator instead of ':' since it's
incompatible with the new option system...
12 years ago
Clément Bœsch
f8eabab04d
lavfi/geq: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
1cdb9f48db
lavfi/edgedetect: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
34610e11e7
lavfi/curves: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
8da1f1f208
lavfi/colormatrix: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
8388e1e2b3
lavfi/perms: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
5afd58fbb4
lavfi/ebur128: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
4964ec2cd4
lavfi/showspectrum: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
1b1688bfc6
lavfi/silencedetect: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
7c11c21669
lavfi/thumbnail: switch to an AVOptions-based system.
12 years ago
Michael Niedermayer
90efdf98b1
avfilter: support alternative keys in the alternative shorthand system
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
ee0e8d4b15
vf_libopencv: switch to an AVOptions-based system.
12 years ago
Anton Khirnov
c334c113d4
vf_scale: switch to an AVOptions-based system.
12 years ago
Anton Khirnov
5aa1a668cf
vf_frei0r: switch to an AVOptions-based system.
12 years ago
Anton Khirnov
e67a87eac8
vf_(no)format: switch to an AVOptions-based system.
12 years ago
Anton Khirnov
4fa1f52e33
af_resample: switch to an AVOptions-based system.
12 years ago
Anton Khirnov
b439c992c2
lavfi: switch to an AVOptions-based system.
12 years ago
Nicolas George
69d67fb622
lavfi: reindent after last commit.
12 years ago
Nicolas George
79d8cfacf0
lavfi: loop on request_frame if necessary.
Some filters need several input frames before producing output.
For these filter, it becomes simpler to return 0 in
request_frame() and let the framework call it again until
output has been produced.
12 years ago
Nicolas George
befbcc374d
lavfi: add common code to handle options parsing.
12 years ago
Anton Khirnov
556aab8f11
lavfi: use designated initializers in avfilter_class
12 years ago
Clément Bœsch
df5be5e275
lavfi/avfilter: raise filter_frame() error.
12 years ago
Michael Niedermayer
212b89f8b4
avfilter: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Anton Khirnov
7e350379f8
lavfi: switch to AVFrame.
Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it
and use AVFrame instead.
12 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>
12 years ago
Stefano Sabatini
e47114d545
lavfi: increment max number of registered filters from 128 to 256
The total number of implemented filters is already over 128.
12 years ago
Xi Wang
eb553096e5
lavfi: fix null checking in avfilter_config_links()
Move the first use of `link' after the null pointer check.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
ff6b34009d
lavfi: fix use-after-free in ff_filter_frame.
Unlike the original ff_start_frame code, the incoming reference
may be freed before that point.
Fix CID966654.
12 years ago
Nicolas George
82541d8330
lavfi: merge all filtering code into ff_filter_frame.
12 years ago
Michael Niedermayer
c0c0b19644
lavfi: remove some draw_slice related code that has become unneeded
Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
0146c1f0f1
lavfi: remove init and check of rate and layout.
The sample rate and channel layout are negotiated and set
by the filter graph system.
12 years ago
Nicolas George
238edd2fe3
lavfi: add a channels field to AVFilterLink.
Also: fix af_pan and af_aresample, that forgot to update
audio->channels.
12 years ago
Michael Niedermayer
3ed483cdfa
libavfilter: Support using filter_frame for video
With this we can mix filters using filter_frame OR start/draw_slice/end
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f6dd145533
avfilter: check that filter_frame and slice variants are not both used
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
cd7febd33f
lavfi: replace filter_samples by filter_frame
Based on patch by Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
565e4993c6
lavfi: merge start_frame/draw_slice/end_frame
Any alleged performance benefits gained from the split are purely
mythological and do not justify added code complexity.
12 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
Anton Khirnov
59ee9f78b0
lavfi: do not use av_pix_fmt_descriptors directly.
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Mans Rullgard
1fce361d70
lavfi: replace empty input/output lists with null pointers
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Stefano Sabatini
34bf06a35c
lavfi: when configuring a link, set channel layout from previous link if unspecified
In avfilter_config_links(), if the current channel layout is not
specified, set the same value of the previous link in the filterchain.
Consistent with the logic used to set the other link parameters.
12 years ago
Nicolas George
c2271fa7f9
lavfi: free partial audio buffers when destroying links.
Fix a memleak that the recent change of architecture made
more likely to happen.
12 years ago
Nicolas George
beeba9161a
lavfi: add a closed field to AVFilerLink.
It will help forward errors and maintain consistency.
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Stefano Sabatini
5c0d8bc4ce
lavfi: add avfilter_get_class() and iteration callbacks
Allow iteration over filter options.
13 years ago
Diego Biurrun
49c45a2624
avfilter: Fix printf format string conversion specifier
libavfilter/avfilter.c:224:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat]
13 years ago
Nicolas George
d06bfda07e
lavfi: rescale link->current_pts.
The doxy says, and the heap implementations assumes,
it is in AV_TIME_BASE units.
13 years ago