Clément Bœsch
6b5ec76283
lavfi: fix forgotten chunk in eb0f774d
.
12 years ago
Michael Niedermayer
0acf7e268b
avfilter: remove opaque passing hacks
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
f16a6f667c
lavfi/ocv: fix crash with no dilate arguments.
12 years ago
Clément Bœsch
490786c02e
lavfi/ocv: fix crash with no filter name specified.
12 years ago
Clément Bœsch
51e71d6e11
lavfi/ocv: fix build after fd6228e65
.
12 years ago
Michael Niedermayer
4a88989254
buffersink: remove shorthand
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f1e62af0e0
avfilter: remove mixed args hack for scale.
...
Our option handling code does not need this hack.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
e48ded8551
lavfi/buffersink: accept parameters as options.
...
Move validation from init to query_formats().
Accept the formats lists as binary options.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3d7d819aad
avfilter/asrc_aevalsrc: fix return code, 2nd try
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
fd6228e657
lavfi: remove now unused args parameter from AVFilter.init and init_opaque
...
This is mostly automated global search and replace
The deprecated aconvert filter is disabled, if it still has users
it should be updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
d69a4177b9
lavfi: remove now unused args parameter from AVFilter.init
...
Conflicts:
libavfilter/avfilter.c
libavfilter/vf_drawtext.c
libavfilter/vf_lut.c
libavfilter/vf_select.c
libavfilter/vf_setpts.c
libavfilter/vsrc_color.c
libavfilter/vsrc_movie.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
491d261ade
avfilter/asrc_aevalsrc: check correct variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
04924bc923
avfilter: remove old shorthand system
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
80116b6e67
af_pan: avoid spaces before % to avoid possible issues with MSVC
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3c821e7550
af_pan: switch to an AVOptions-based shorthand system.
...
TODO: The first argument can be seperated into its own AVOption
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Серж Нискородов
9470b541e5
af_pan: fix parsing arguments from the example in the documentation
...
pan=stereo: FL < FL + 0.5*FC + 0.6*BL + 0.6*SL : FR < FR + 0.5*FC +
0.6*BR + 0.6*SR
didn't actually work ('Expected out channel name, got " FL < FL"')
12 years ago
Michael Niedermayer
c378ba19b5
abuffer: switch to an AVOptions-based shorthand system.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
16e5e13c7e
buffersrc: switch to an AVOptions-based shorthand system.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Pavel Koshevoy
8f3c440a39
lavfi/atempo: switch to an AVOptions-based system.
...
Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9ab796127a
avfilter: Update scale to dictionary based options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
9da369604e
lavfi/overlay: improve feedback in case of invalid expression
...
Based on vf_hue.c code.
12 years ago
Stefano Sabatini
aff6cebb41
lavfi/overlay: fix crash in case of invalid expression
12 years ago
Stefano Sabatini
ed2c827575
lavfi/overlay: add repeatlast option
12 years ago
Stefano Sabatini
a77454ec14
lavfi/overlay: reindent constants in option list
...
Wanted-By: ubitux
12 years ago
Clément Bœsch
838d803155
lavfi/mp: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
7bd014eaec
lavfi/aspect: fix d2q convert in init.
...
Regression since git 71ef1ec7b
.
12 years ago
Clément Bœsch
9ab221f8d8
lavfi: deprecate aconvert.
...
This filter is not required anymore with aformat. Drop it at next bump.
12 years ago
Clément Bœsch
71ef1ec7b4
lavfi/aspect: switch to an AVOptions-based system.
...
This is heavily based on 2831b307
by Anton Khirnov <anton@khirnov.net>
12 years ago
Stefano Sabatini
976e3439ed
lavfi/flite: switch to AVOption-based system
12 years ago
Stefano Sabatini
160ed967f4
lavfi/hue: extend debugging message
...
In particular, show h value in degrees.
12 years ago
Stefano Sabatini
3411aba82c
lavfi/hue: reindent after last commit
12 years ago
Stefano Sabatini
e4fd58f472
lavfi/hue: apply major simplifications, and switch to AVOption-based system
...
This also drops support for "flat syntax" and "reinit" command.
"reinit" command is not very robust and complicates the logic more than
necessary, since requires to reset all the options in the command.
*This is a syntax break*.
12 years ago
Clément Bœsch
c36ab01cd2
lavfi/ebur128: remove now unused av_opt_free call.
12 years ago
Michael Niedermayer
4f43e9b4af
avfilter/aresample: use init_dict system and set child AVOption context correctly
...
Parts of this commit are based on: 4fa1f52e
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f6bfeef7fa
avfilter: fix handing of child context options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
48a5adab62
lavfi: add avfilter_init_str() to replace avfilter_init_filter().
...
Drop the unused opaque parameter from its signature.
12 years ago
Anton Khirnov
1565cbc65c
lavfi: make avfilter_free() remove the filter from its graph.
12 years ago
Anton Khirnov
111367263a
lavfi: add AVFilterContext.graph.
...
It will be useful in the following commits.
12 years ago
Anton Khirnov
c2c9801bc9
lavfi: deprecate avfilter_graph_add_filter().
...
Since this function adds a standalone filter to a filter graph and we do
not support creating such filters, there is no reason for this function
to exist.
12 years ago
Anton Khirnov
bc1a985ba0
lavfi: replace avfilter_open() with avfilter_graph_alloc_filter().
...
Since we do not support "standalone" filters not attached to an
AVFilterGraph, we should not have a public function to create such
filters. In addition that function is horribly named, the action it does
cannot be possibly described as "opening" a filter.
12 years ago
Anton Khirnov
38f0c0781a
lavfi: merge avfiltergraph.h into avfilter.h
...
We do not support using filters without AVFilterGraph in practice
anyway, so there is no point in pretending we do.
12 years ago
Anton Khirnov
4a37d4b3f8
lavfi: add const to the pads parameter of avfilter_pad_get_name/type
12 years ago
Anton Khirnov
91d2efa7d6
lavfi: add const to AVFilterContext.filter.
...
lavfi should never modify the filter through that pointer.
12 years ago
Clément Bœsch
c1907bd732
lavfi/removelogo: switch to an AVOptions-based system.
12 years ago
Michael Niedermayer
865e20daf3
avfilter/f_select: use AVFrame metadata accessor function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
c74b0eda34
lavfi/amerge: switch to an AVOptions-based system.
12 years ago
Clément Bœsch
23a750c994
lavfi: do not warn inappropriately with aevalsrc.
12 years ago
Clément Bœsch
64ce15b9f4
lavfi/aevalsrc: switch to an AVOptions-based system.
12 years ago
Paul B Mahol
567feaafa8
lavfi/bbox: remove unused variables and functions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
ad9e66a565
lavfi: add pp to the ':'-to-'|' compat layer.
12 years ago