Michael Niedermayer
8cc77646c0
yadif: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Piotr Bandurski
9d87cf51d8
lavfi/vf_frei0: add missing new line to some error messages
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9cdb5969d4
libmpcodecs: remove unused and half existing vo_fs variable
...
It breaks linking with suncc sometimes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
d55252c331
lavfi/mp: remove decimate wrapper
...
It was natively integrated into libavfilter.
12 years ago
Michael Niedermayer
e4e02a7d47
libavfilter: Support the forks ABI for buffer sinks
...
With this change avconv compiled against libav and linked to ffmpegs libs
will run through the whole fate testsuite without any crashes.
857 tests pass, the remaining tests fail one way or another, which is
to be expected as avconv is not a drop in replacement for ffmpeg
The testsuite used was the ffmpeg fate testsuite, not libavs.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
235f74db59
Rename missed cases of FF_OPT_TYPE_* to AV_OPT_TYPE_*
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
7b607eb5e7
avfiltergraph: use avcodec_find_best_pix_fmt_of_2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Jérémy Tran
54ca7e39da
lavfi/hue: add process_command callback
...
This allows dynamic reconfiguration of the filter.
The callback uses some code that was in the init function. Hence this code
has been moved in its own function.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Stefano Sabatini
9dd3d6c72a
lavfi: port decimate libmpcodecs filter
...
This filter is based on the MPlayer decimate filter by Rich Felker.
12 years ago
Stefano Sabatini
6c0107822d
lavfi/mp=decimate: fix off-by-one logic in diff_C() x loop
...
Set x offset values in the range 0-7, rather than in the range 8-1.
The y loop is changed accordingly, to avoid confusion.
This also fixes output difference with the new pending native decimate
filter.
12 years ago
Stefano Sabatini
e64b941dbc
lavfi/mp: remove smartblur filter
...
It was natively integrated into libavfilter.
12 years ago
Michael Niedermayer
0b7d12e840
vf_mp: fix duplicate return
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9cb9199970
buffersink: remove stray ;
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
17337f54c0
x86: Split inline and external assembly #ifdefs
12 years ago
Diego Biurrun
cdaec0b240
avfilter: x86: Use more precise compile template names
12 years ago
Michael Niedermayer
d40e2c7a86
avfiltergraph: kill uninitialized variable warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
310fd0d3d4
vsrc_testsrc: fix uninitilaized variable bug
...
Found-by: gcc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
19dceef905
vf_framestep: fix uninitilaized variable bug
...
Found-by: gcc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
a5704659e3
lavfi/af_atempo: use av_malloc for rDFT buffers.
...
Memory obtained from av_realloc is not aligned enough for AVX.
The other similar allocations are changed too because they use
the same macro. The buffers were cleared afterwards anyway.
Fix trac ticket #1692 .
12 years ago
Jérémy Tran
316afee708
lavfi: add smartblur filter
...
This is a port of the MPlayer smartblur filter (libmpcodecs/vf_smartblur.c)
by Michael Niedermayer.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Michael Niedermayer
4f92d31aa4
vf_hqdn3d: remove duplicate inline
...
This should fix compilation with gcc 3
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
b441a4517b
vf_hqdn3d: Remove a duplicate inline declaration
...
Compilation seems to fail on GCC 3.4 due to this duplicate
declaration.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
2bd67175c7
vf_hqdn3d: Don't declare the loop variable within the for loop
...
This C99 feature is generally not used in the libav codebase,
since it breaks building with some fringe compilers (GCC 2.95,
MSVC).
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
851bac4b06
vf_hqdn3d: avoid declaring variable in for()
...
This should fix compilation with gcc 2.95 and possibly others
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Loren Merritt
7a1944b907
vf_hqdn3d: x86 asm
...
13% faster on penryn, 16% on sandybridge, 15% on bulldozer
Not simd; a compiler should have generated this, but gcc didn't.
12 years ago
Loren Merritt
566858a770
vf_hqdn3d: support 16bit colordepth
12 years ago
Stefano Sabatini
b66afe087a
lavfi/asetpts,setpts: rework debug log
...
Show more information, and only the information stored in the values
array. Improve debugging usefulness.
12 years ago
Stefano Sabatini
1181461ca5
lavfi/asetpts,setpts: add variables T, STARTT, PREV_INT and PREV_OUTT
12 years ago
Stefano Sabatini
0b9a915dad
lavfi: rename vf_setpts.c to f_setpts.c
...
The file contains the asetpts audio filter.
12 years ago
Anton Khirnov
4d7adec8bd
AVOptions: store defaults for INT64 options in int64 union member.
...
Double does not have enough precision to represent all int64 numbers
exactly.
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
52820bc578
lavfi/overlay: fix return values.
...
They were only roughly adapted when error return was
added to the push functions.
12 years ago
Nicolas George
a9cfe656d7
lavfi/split: handle closed outputs.
...
Return AVERROR_EOF if all outputs are closed.
12 years ago
Nicolas George
beeba9161a
lavfi: add a closed field to AVFilerLink.
...
It will help forward errors and maintain consistency.
12 years ago
Stefano Sabatini
9a199040d8
lavfi/showspectrum: add priv_class and flags to options
12 years ago
Thomas Weber
1c585dddbb
lavfi/asyncts: Fix compilation with GCC 4.7
...
Compilation failed since commit 42d621d131
Error messages:
libavfilter/af_asyncts.c:249:5: error: initializer element is not
computable at load time
libavfilter/af_asyncts.c:249:5: error: (near initialization for
‘avfilter_af_asyncts.priv_size’)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
5bbe4142d1
lavfi/buffersrc: add AV_BUFFERSRC_FLAG_PUSH.
12 years ago
Clément Bœsch
3899e49955
lavfi/edgedetect: use "@see" instead of the invalid "@url".
12 years ago
Clément Bœsch
ddda29b4a7
lavfi: add showspectrum filter.
12 years ago
Nicolas George
5980e57cf9
lavfi: add volumedetect filter.
12 years ago
Michael Niedermayer
7f46f042d1
buildsys: fix cleaning of libmpcodecs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
dc7e4d685f
lavfi/mp: remove framestep wrapped filter
...
An equivalent framestep filter has been natively integrated.
12 years ago
Stefano Sabatini
48d116400c
lavfi: add framestep filter
...
This filter is inspired upon libmpcodecs/vf_framestep.c, by Daniele
Forghieri.
Only-keyframe output is not supported, since that feature can be achieved
through the more versatile select filter.
12 years ago
Stefano Sabatini
7cd5fa35fe
lavfi/testsrc: set output framerate
12 years ago
Stefano Sabatini
42d621d131
lavfi: add priv class to filter definitions and flags to filter internal options
...
This allows the iteration callbacks to discover the internal class and
options, and show them when required.
12 years ago
Stefano Sabatini
831a999dda
lavfi/movie: split class definitions for movie and amovie
...
This is required for iterating through the filter class (without
incurring into a loop).
12 years ago
Stefano Sabatini
a77436abad
lavfi/lut: duplicate class definitions for each lut variant filter
...
This is due to the design of components iteration through AVClass
child_class_next() callback, which requires that two components cannot
share the same class.
12 years ago
Nicolas George
9341bbfc51
vf_yadif: fix permissions.
...
Require AV_PERM_PRESERVE and leave harmless permissions
alone for the next filter.
12 years ago
Nicolas George
71adb74059
vf_tinterlace: leave harmless permissions alone.
12 years ago