Anton Khirnov
713d3f98c8
vf_shuffleplanes: fix the type of the mapping indices
...
They are TYPE_INT AVOptions, so they must be ints
11 years ago
Anton Khirnov
599b81ca9a
lavfi: add shuffleplanes filter
11 years ago
Anton Khirnov
bba2a7cc5f
lavfi: use the correct filter context for logging an error.
11 years ago
Luca Barbato
e995cf1bcc
avfilter: Add missing emms_c when needed
...
Arch specific calls should have an emms_c following to keep the cpu
state consistent.
Reported-By: wm4
CC: libav-stable@libav.org
11 years ago
Vittorio Giovara
4c41a7a179
vf_frei0r: fix missing end of line character
...
Error introduced in 61b323ce7c
.
11 years ago
Vittorio Giovara
61b323ce7c
vf_frei0r: refactor library loading from env variable
...
strtok_r is not needed any more, so remove it from configure.
11 years ago
Vittorio Giovara
4e0be9c86f
vf_frei0r: prevent a segfault when filter parameters are not set
11 years ago
Vittorio Giovara
8accddeb58
vf_frei0r: adjust error messages
11 years ago
Anton Khirnov
bc6461c286
af_compand: replace strtok_r() with av_get_token()
11 years ago
Andrew Kelley
738f83582a
lavfi: add compand audio filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anton Khirnov
39c2880eea
af_volume: preserve frame properties
11 years ago
Anton Khirnov
dcc7e4bf1d
af_resample: preserve frame properties
11 years ago
Anton Khirnov
30517a9f05
Use av_frame_copy() to simplify code where appropriate.
11 years ago
Vittorio Giovara
35b05c5184
vf_interlace: deprecate lowpass option
11 years ago
Anton Khirnov
ba7dfe5c50
lavfi doxy: add buffer{src,sink}.h to the main lavfi doxy group
11 years ago
Anton Khirnov
f758ea6e99
buffersink: document special error codes returned from av_buffersink_get_frame
11 years ago
Diego Biurrun
4a7d3837b4
buffersrc: Have function parameter names match between .c and .h file
...
This fixes two related Doxygen warnings. Also document one parameter.
11 years ago
Keith Lawson
de203abd71
vf_overlay: add eof_action switch
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anton Khirnov
104a97beaf
buffersrc: handle non-refcounted frames in av_buffersrc_add_frame() correctly
11 years ago
Robert Krüger
d8e763fda7
vf_yadif: Relicense from GPL to LGPL
...
All copyright holders have agreed to the relicensing.
11 years ago
Vittorio Giovara
abb5e37f64
avfilter: fix leaks on error in ff_filter_frame
11 years ago
Vittorio Giovara
5655732c77
avfilter: add needs_writable field to the internal AVFilterPad structure
11 years ago
Vittorio Giovara
d44bd7fb27
avfilter: add documentation for needs_writable
11 years ago
Vittorio Giovara
a7d0e7ead9
lavfi: add framepack filter
11 years ago
Luca Barbato
d68dc3c944
drawtext: Drop pointless header
...
It should be forward compatible with newer freetype.
11 years ago
Diego Biurrun
b83d1ee3b4
avutil: Move library version related macros to version.h
...
This is a more sensible place for these macros.
11 years ago
Reinhard Tartler
6d3ea1957f
Bump major of libavfilter for reference counted buffer API changes.
...
Applications that have been linked against an older release of Libav and pick up
updated libraries experience segmentation faults because they pick up the new
libavfilter, which assumes AVFrames have been allocated by libavutil and thus
contain new reference-counting related fields. This will break for AVFrames that
have been allocated by old libavcodec.
All scheduled API changes are deferred to the next bump.
11 years ago
Diego Biurrun
8f8bc92365
Add missing #includes for *INT64_MAX and *INT64_C
11 years ago
Vittorio Giovara
3a16ec19d2
vf_interlace: check one av_frame_clone allocation
11 years ago
Diego Biurrun
cffecc0e7e
avfilter/graphparser: Directly free filter memory if initialization fails
11 years ago
Diego Biurrun
7d1a68e95b
avfilter/buffer: Suppress deprecation warning for avfilter_unref_buffer
...
The function is used in a block of code that is deprecated anyway.
11 years ago
Diego Biurrun
e73996954d
filtfmts-test: Fix use of deprecated API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Vittorio Giovara
446e37dc97
vf_fieldorder: remove superfluous get_video_buffer
11 years ago
Rudolf Polzer
3a14b160bd
vf_scale: make the dar variable return the DAR.
...
Before, it just returned width/height. Correct is width/height*sar.
That way it is consistent with DAR as in probe output and setdar.
Signed-off-by: Rudolf Polzer <divverent@xonotic.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Rudolf Polzer
34a0ac41a8
vf_aspect: support variables in evaluating the aspect ratios
...
Example: -vf setsar=sar="sar*9/10"
Signed-off-by: Rudolf Polzer <divverent@xonotic.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Diego Biurrun
ed1a11ed52
gradfun: x86: Factor out common code for some gradfun_filter_line() variants
11 years ago
Diego Biurrun
ee80cf741a
avfilter: x86: K&R formatting cosmetics
11 years ago
Anton Khirnov
cd43ca0443
lavfi: do not export the filters from shared objects
11 years ago
Vittorio Giovara
884c7a6eb8
avfilter: fix const use of avfilter_next
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Vittorio Giovara
5c439b41d0
avfilter: have avfilter_get_by_name return const for next bump
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Daniel Kang
0e73049416
avfilter: x86: Port gradfun filter optimizations to yasm
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
f6633c55a3
avfilter: Fix typo in Loren's email address
11 years ago
Derek Buitenhuis
3511d4fc97
pthread: Avoid crashes/odd behavior caused by spurious wakeups
...
This is similar to 5152196b2b
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Vittorio Giovara
00d7369de0
vf_fieldorder: log when processing is skipped
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Derek Buitenhuis
eb90a2091f
pthread: Fix deadlock during thread initialization
...
Sometimes, if pthread_create() failed, then pthread_cond_wait() could
accidentally be called in the worker threads after the uninit function
had already called pthread_cond_broadcast(), leading to a deadlock.
Don't call pthread_cond_wait() if c->done is set.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Vittorio Giovara
06e7301a2e
vf_interlace: do not process an already interlaced frame
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anton Khirnov
0767bfd199
lavfi: allow user-provided execute() callbacks
11 years ago
Diego Elio Pettenò
faa8245bd4
vf_lut: Constantize
...
The pixel format tables are never modified, mark them as constant.
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Hendrik Leppkes
cb8f70c96e
vf_fps: use double constants for default/min/max for start_time
...
When using AV_NOPTS_VALUE (which expands to INT64_C(0x8000000000000000))
as union initializer for a double field, the c99 converter needs to
interpret this constant when filling the union initializer, and it is
interpreted as a positive value.
When converting AV_NOPTS_VALUE to a double, MSVC 2010 ends up with
the same positive value as the c99 converter, while MSVC 2012 gets
a negative value.
This results in an infite loop in various FATE tests on MSVC 2012.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Vittorio Giovara
0ce1a7598e
vf_interlace: fix file permissions
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago