Nicolas George
c36302a7a4
lavfi/sink_buffer: switch to filter_frame.
12 years ago
Nicolas George
a978c04e22
lavfi/video: ensure that filter_frame is called.
...
This is a temporary workaround until all filters have been
upgraded to filter_frame and the framework can forget completely
about start_frame/draw_slice/end_frame.
12 years ago
Michael Niedermayer
b84871b8eb
vf_tinterlace: dont mix declarations and expressions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Mark Himsley
8997a0fa79
lavfi/tinterlace: add low-pass-filter for top/bottom interleave modes
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Michael Niedermayer
3cd137bfea
vf_deshake: fix strict aliassing errors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
53228f47d6
avf_concat: init pointers to NULL for saftey and to avoid warning of uninitialized use.
...
Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
981baf742c
lavfi: replace REGISTER_BUILTIN_FILTER() by REGISTER_FILTER_UNCONDITIONAL()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
c73c87b412
cosmetics: Prettyprint codec/format/filter registration files
12 years ago
Diego Biurrun
69583bd3b1
avfilter: Refactor unconditional filter registration
12 years ago
Michael Niedermayer
8afe168c78
vf_divtc: dont mix av_strdup and free
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
baa5d6df77
vf_detc: dont mix av_strdup & free
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
458afd2a0e
vf_mp: fix 'discards const qualifier from pointer target type'
...
args are not supposed to be changed by filters even if the argument is
not marked as const.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
ceee4407e3
lavfi/tile: small align cosmetics.
12 years ago
Clément Bœsch
4cd724daee
lavfi/tile: remove usage of link->{cur,out}_buf.
12 years ago
Clément Bœsch
3b870f973e
lavfi/scale: remove usage of link->cur_buf.
12 years ago
Clément Bœsch
a612e86ea6
lavfi/deshake: remove usage of link->cur_buf.
12 years ago
Clément Bœsch
5673a0102a
lavfi/decimate: remove usage of link->cur_buf.
12 years ago
Clément Bœsch
33e0eb5109
lavfi/video: remove unused ff_inplace_start_frame().
12 years ago
Paul B Mahol
c46cfedf09
build: mp filter does not depend on postproc anymore
...
This fixes testprogs build target if libpostproc is disabled.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
a2349dc3f0
vf_idet: fix type of stats
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
d155abd1fc
lavfi/idet: remove unused assert include.
12 years ago
Clément Bœsch
a7f0af1b9a
lavfi/idet: remove unecessary context assignment.
12 years ago
Clément Bœsch
43cbd4406e
lavfi/idet: support named parameters.
...
The parameters are currently not documented in doc/filters.texi, but now
they at least appear in the automatic help.
12 years ago
Clément Bœsch
915d7487d7
lavfi/idet: remove unecessary poll_frame callback.
12 years ago
Stefano Sabatini
e06c147581
lavfi/aresample: fix style
...
Improve overall consistency/improve readability.
12 years ago
Hendrik Leppkes
8b6b3632fe
vf_pp: add postproc to the library dependencys for avfilter when enabled.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bd16f0a331
avfiltergraph: put variables used in #if 0 code themselfs under #if 0
...
Fixes unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
768c47ec37
lavfi: remove mp=pp filter.
...
Native pp filter is available.
postproc dependency is also dropped from mp wrapper since it was the
only filter needing that dependency.
12 years ago
Clément Bœsch
9b8de93036
lavfi: add pp filter.
...
Ported from MPlayer. Original author is A'rpi, with various
contributions from Michael Niedermayer. The original documentation was
mostly written by Diego Biurrun. See the MPlayer history for full
credits.
The filter is under GPL like the original filter, even if it differs
quite a lot. There is not much point in making it LGPL since pp is under
GPL.
12 years ago
Diego Biurrun
5af53731d9
avfilter: Compile FIFO filters unconditionally
...
Building libavfilter without that functionality makes little sense.
12 years ago
Stefano Sabatini
bde1e8bf06
lavfi/overlay: make use of av_opt_set_from_string()
...
Simplify.
12 years ago
Stefano Sabatini
5e402a5319
lavfi/overlay: switch to filter_frame API
12 years ago
Paul B Mahol
185d1f3bfc
lavfi: declare arrays that never change as static const
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
a8ebb77493
lavfi/swapuv: use FFSWAP
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
69f086e0f9
build: avfilter: Remove duplicate compilation entry for vf_scale
...
vf_scale should not be unconditionally compiled even if disabled.
12 years ago
Nicolas George
c7a1239bf9
lavfi/af_aconvert: update audio->channels.
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
5033a1af17
lavfi/buffersrc: remove init of rate and layout.
...
The sample rate and channel layout are negotiated and set
by the filter graph system, the filters must not set them.
12 years ago
Nicolas George
34de47aa35
lavfi: add an accessor for ref->audio->channels.
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
Clément Bœsch
174c483e2e
lavfi/select: fix compilation with avcodec disabled.
12 years ago
Stefano Sabatini
022e118e3f
lavfi/setpts: enable debug logs, and improve/extend debug messages
12 years ago
Clément Bœsch
de2022c5dd
lavfi/gradfun: small align cosmetics.
12 years ago
Clément Bœsch
526e2415bd
lavfi/gradfun: support named options.
...
This breaks usage for out-of-range values.
12 years ago
Clément Bœsch
3bdd70fc66
lavfi/gradfun: reduce up limit for threshold.
...
This will prevent an overflow in the SSSE3 and MMX filter_line code:
delta is expressed as an u16 being shifted by 2 to the left. If it
overflows, having a strength not above 64 will make sure that m is set
to 0 (making the m*m*delta >> 14 expression void).
A value above 64 should not make any sense unless gradfun is used as a
blur filter.
12 years ago
Clément Bœsch
63e1fc2588
lavfi/gradfun: remove rounding to match C and SSE code.
...
There is no noticable benefit for such precision.
12 years ago
Clément Bœsch
60ba9a9a88
lavfi/gradfun: fix dithering in MMX code.
...
Current dithering only use the first 4w instead of the whole 8 random values.
12 years ago
Clément Bœsch
49de902a1e
lavfi/gradfun: fix rounding in MMX code.
...
Current code divide before increasing precision.
12 years ago
Clément Bœsch
dd8a76ab08
lavfi/gradfun: do not increment DC pointer for odd values.
...
First DC is only used once otherwise. This also makes the code
consistent with ASM versions.
12 years ago