Michael Niedermayer
62447248f3
vf_noise: remove low quality mode
...
It produces vissible correlation between lines
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-06 19:54:36 +02:00
Michael Niedermayer
21f4fc2e40
avfilter/vf_mp: fix x86 cpu caps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-06 18:23:59 +02:00
Paul B Mahol
2b26077c95
lavfi/blend: use standard options parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-05 00:14:55 +00:00
Paul B Mahol
a95e683867
lavfi/noise: use standard options parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-05 00:14:55 +00:00
Paul B Mahol
659672f3ee
lavfi/afade: use standard options parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-05 00:14:55 +00:00
Paul B Mahol
bd252ff6fa
lavfi/smptebars: fix invalid writes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-04 22:10:42 +00:00
Paul B Mahol
b1dea2c0d8
lavfi/blend: add N variable
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-04 15:30:06 +00:00
Paul B Mahol
6a08ccd61d
lavfi/smptebars: fix output for subsampled yuv
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-04 14:32:49 +00:00
Michael Niedermayer
ab2989378f
Merge commit 'dbb1425811a672eddf4acf0513237cdf20f83756'
...
* commit 'dbb1425811a672eddf4acf0513237cdf20f83756':
lavf: make sure stream probe data gets freed.
avfiltergraph: set deprecated filter_count.
Conflicts:
libavformat/utils.c
See: 44a7a6300d
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-04 13:24:33 +02:00
Anton Khirnov
6d0546bbaf
avfiltergraph: set deprecated filter_count.
2013-04-04 07:52:32 +02:00
Nicolas George
d38c173dfb
lavfi/af_atempo: simplify request_frame loop.
2013-04-03 17:44:10 +02:00
Nicolas George
b570f24d76
lavfi/af_asetnsamples: simplify request_frame loop.
2013-04-03 17:44:10 +02:00
Nicolas George
9566ba91ab
lavfi/f_ebur128: remove request_frame hack.
2013-04-03 17:44:10 +02:00
Nicolas George
77fa554b6e
lavfi/vf_tile: simplify request_frame loop.
2013-04-03 17:44:10 +02:00
Nicolas George
69d67fb622
lavfi: reindent after last commit.
2013-04-03 17:44:10 +02:00
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.
2013-04-03 17:33:27 +02:00
Michael Niedermayer
c208576cef
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Fix make checkheaders without opencl headers.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-03 15:35:23 +02:00
Carl Eugen Hoyos
c484b3af15
Fix make checkheaders without opencl headers.
2013-04-03 15:28:29 +02:00
Michael Niedermayer
d3fc2db47e
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avfiltergraph: check for sws opts being non-NULL before using them.
Conflicts:
libavfilter/avfiltergraph.c
libavfilter/graphparser.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-03 15:20:05 +02:00
Paul B Mahol
6fcb4ae1d8
lavfi/afade * biquads: call av_frame_copy_props()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-03 11:10:00 +00:00
Paul B Mahol
0ab10f69ef
lavfi/earwax: clip sample, this is what sox does
...
Fixes #1884 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-03 10:55:13 +00:00
Carl Eugen Hoyos
6e90d9e206
vf_deshake: Reorder constant arguments in an if() statement.
...
Fixes compilation with clang on netbsd with --disable-optimizations.
Tested-by: Paul B Mahol
2013-04-03 12:52:38 +02:00
Paul B Mahol
bf65752848
aphaser filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-04-03 08:33:59 +00:00
Anton Khirnov
6e3c13a559
avfiltergraph: check for sws opts being non-NULL before using them.
...
Avoid snprintfing a NULL pointer.
CC: libav-stable@libav.org
2013-04-03 09:29:55 +02:00
Clément Bœsch
e7692a9bac
lavfi/edgedetect: reindent after previous commit.
2013-04-03 00:31:19 +02:00
Clément Bœsch
e366aec030
lavfi/edgedetect: add direct path.
2013-04-03 00:30:48 +02:00
highgod0401
9079359141
deshake opencl based on comments on 20130402 3rd
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-02 15:57:44 +02:00
Clément Bœsch
6278bc8a6c
lavfi/curves: make use of options to store the preset names.
2013-04-01 20:37:45 +02:00
Nicolas George
52853077ee
lavfi/af_asetnsamples: fix EOF handling.
...
Only filter one buffered frame.
Correctly return EOF if there is none.
2013-04-01 10:38:52 +02:00
Nicolas George
f810ca63f8
lavfi: detect merge failure for unknown layouts.
...
Detect when filtering known layouts from an explicit list
results in an empty list.
Fix erratic behavior.
2013-04-01 10:37:48 +02:00
Stefano Sabatini
39aad43465
lavfi/overlay: fix debug PTS output in try_filter_frame()
...
The PTS of the input frames must be interpreted according to the input
timebase, which is not the same as the output timebase.
2013-03-31 18:00:44 +02:00
Clément Bœsch
01b2d1288a
lavfi/volume: use designated initializers for the sample_fmts declaration.
2013-03-31 11:58:20 +02:00
Clément Bœsch
4dae804d3c
lavfi/volume: use copy props helper instead of incomplete manual code.
2013-03-31 11:58:20 +02:00
Clément Bœsch
29667a2c20
decimate: check for avctx ptr before closing.
...
Fixes a crash init failed before setting avctx.
2013-03-31 10:00:32 +02:00
Michael Niedermayer
e0dd8cadcc
af_join: fix channel count and format
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-28 15:29:14 +01:00
Michael Niedermayer
acaee26008
af_channelsplit: set output channels, fix assertion failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-28 14:29:11 +01:00
Paul B Mahol
705b607db8
lavfi/biquads: fix min allowed option value
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-03-28 11:52:11 +00:00
Clément Bœsch
1ae44c87c9
lavfi/gradfun: remove rounding to match C and SSE code.
...
There is no noticable benefit for such precision.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-03-28 07:59:29 +01:00
Clément Bœsch
38a2f88d39
lavfi/gradfun: fix dithering in MMX code.
...
Current dithering only uses the first 4 instead of the whole 8 random values.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-03-28 07:59:18 +01:00
Clément Bœsch
2d66fc543b
lavfi/gradfun: fix rounding in MMX code.
...
Current code divides before increasing precision.
Also reduce upper bound for strength from 255 to 64. 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.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-03-28 07:59:04 +01:00
Clément Bœsch
8b9a153ef3
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.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-03-28 07:58:55 +01:00
Michael Niedermayer
0d6e5a1712
vsrc_mandelbrot: Mandel morphing support
...
Example: ffplay -f lavfi "mandelbrot=outer=outz:morphamp=1:end_scale=2:maxiter=100"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-27 19:27:37 +01:00
Michael Niedermayer
79938a4e97
mandelbrot: add outer coloring method showing bailouted z
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-27 16:21:44 +01:00
Michael Niedermayer
a2b5825649
vsrc_mandelbrot: support coloring the outside white
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-27 16:00:18 +01:00
Paul B Mahol
62d36abef4
lavfi/mptestsrc: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-03-26 13:23:42 +00:00
Paul B Mahol
401f9c95e9
lavfi/cellauto: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-03-26 13:23:42 +00:00
Paul B Mahol
8c5b37b402
lavfi/life: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-03-26 13:23:42 +00:00
Paul B Mahol
975efc8864
lavfi/mandelbrot: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-03-26 13:23:42 +00:00
Paul B Mahol
54056c6655
lavfi/testsrc: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-03-26 13:23:41 +00:00
Paul B Mahol
7606f4a1af
lavfi/fps: make use of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-03-26 13:23:41 +00:00
Clément Bœsch
e32cbd0f54
lavfi/perms: add myself to the copyright header.
2013-03-26 02:41:05 +01:00
Clément Bœsch
9371467d9d
lavfi/perms: add seed option.
2013-03-26 02:39:55 +01:00
Clément Bœsch
e600d0628e
lavfi/perms: remove unecessary indirection after f7324c06
.
2013-03-26 02:24:03 +01:00
Clément Bœsch
133035c40d
lavfi/curves: add forgotten strong_contrast preset.
2013-03-26 01:05:26 +01:00
Clément Bœsch
183f3450fd
lavfi/curves: support preset shorthand.
2013-03-26 00:04:06 +01:00
Clément Bœsch
dc65d784df
lavfi/curves: add presets support.
...
Except for the vintage preset, the values are defined by Lou Logan based
on the ones found in Adobe Photoshop CS6.
Signed-off-by: Clément Bœsch <ubitux@gmail.com>
Signed-off-by: Lou Logan <lou@lrcd.com>
2013-03-25 23:48:51 +01:00
Björn S
f248b8a902
blend: Adding yuvj pixelformats to the blend effect
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-25 13:14:38 +01:00
Michael Niedermayer
ae65327e5e
vsrc_testsrc: avoid floats and non bit exactness
...
The round to zero behavior is maintained, possibly this should
be changed to round to nearest.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-25 03:11:43 +01:00
Nicolas George
125acd2152
lavfi: support multiple rounds of format negotiation.
...
Remove the temporary hack for amerge and replace it with a
generic solution.
2013-03-24 23:17:47 +01:00
Nicolas George
00da527b44
lavfi/af_amerge: return EAGAIN if the input layouts are not known.
...
Also downgrade the error to a warning.
2013-03-24 23:17:47 +01:00
Clément Bœsch
386dc9a3a8
lavfi/thumbnail: add support for named options.
2013-03-24 20:38:12 +01:00
Stefano Sabatini
3b811bcf67
lavfi/colormatrix: reword error message in init
...
Change:
"source and destination color space are identical"
which is a true fact, but doesn't tell nothing about what's wrong, to:
"Source and destination color space must not be identical"
which tells more explicitly what the problem is.
2013-03-24 20:21:35 +01:00
Stefano Sabatini
1b140835b6
lavfi/colormatrix: add support for named options
2013-03-24 20:21:20 +01:00
Clément Bœsch
cbf224b631
lavfi/tinterlace: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
9e21c89841
lavfi/subtitles: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
06784b737a
lavfi/smartblur: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
15878b2b5b
lavfi/setfield: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
e62587bc5e
lavfi/overlay: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
5dc074d321
lavfi/kerndeint: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
ab228f9163
lavfi/idet: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
552c02f20f
lavfi/histeq: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
b27a8ba13c
lavfi/gradfun: use standard options parsing.
2013-03-24 12:26:25 +01:00
Clément Bœsch
b595819cde
lavfi/geq: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
cb0fb4d04d
lavfi/fieldorder: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
a733481d0a
lavfi/field: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
7edda1a935
lavfi/deshake: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
1341dd2dd0
lavfi/cropdetect: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
a36d903601
lavfi/boxblur: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
3f8072886b
lavfi/blackframe: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
67ad9fd098
lavfi/settb: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
8b994c8c1c
lavfi/select: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
f7324c068f
lavfi/perms: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
07b7c2a217
lavfi/sine: use standard options parsing.
2013-03-24 12:26:24 +01:00
Clément Bœsch
3ac77f67af
lavfi/apad: use standard options parsing.
2013-03-24 12:26:24 +01:00
Michael Niedermayer
62f56fd7ea
buffersink/uninit: use av_frame_free() not unref
...
Fixes memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-23 23:49:33 +01:00
Stefano Sabatini
a42d15a3a0
lavfi/anullsrc: add missing checks
2013-03-23 16:53:25 +01:00
Stefano Sabatini
4e8062c2d7
lavfi/anullsrc: remove extra parentheses
2013-03-23 16:53:19 +01:00
Stefano Sabatini
fe2cfd50f0
lavfi/anullsrc: simplify logging code in config_props
2013-03-23 16:53:13 +01:00
Stefano Sabatini
5373a2a221
lavfi/anullsrc: fix format negotiation
...
Samplerate and channel layouts must be set in query_formats.
2013-03-23 16:53:08 +01:00
Michael Niedermayer
9bb6504e3b
Merge commit '20a8ee3061e6d777600c13db731bee3c25878991'
...
* commit '20a8ee3061e6d777600c13db731bee3c25878991':
af_asyncts: fix compensation and PTS monotonicity
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-23 12:16:32 +01:00
Clément Bœsch
89b4e758d3
lavfi/blend: always peek the first frame of each queue.
...
Before the change, filter_frame() always waited for 2 samples in the
bottom frames queue. This notably fixes commands such as
./ffplay tests/lena.pnm -vf split,blend=c0_mode=addition
2013-03-22 23:09:08 +01:00
Jindřich Makovička
20a8ee3061
af_asyncts: fix compensation and PTS monotonicity
...
This patch improves af_asyncts behavior on streams with bogus PTS, which
are either non-monotonic, or contain PTS jitter, and trigger the
non-monotonicity error. With this patch, af_asyncts is able to correct
these streams and avoid the error.
Firstly, it fixes resample compensation calculation by supplying proper
units to avresample_set_compensation (sample count per second instead
of sample count per some arbitrary frame size). Also, the calculation of
the compensation itself is fixed - delta is proportional to an adjustment
of the compensation, not the compensation itself. Ideally, the compensation
should converge to a value that keeps delta at zero.
To be able to deal with sources with PTS jitter even without resampling,
small PTS errors are adjusted, so the output frames do not overlap.
Finally, one more monotonicity check is added.
The FATE reference changes because now there is 8 less samples of
silence because of the pts jitter.
Signed-off-by: Jindřich Makovička <makovick@gmail.com>
2013-03-22 20:09:34 +01:00
Paul B Mahol
c5b484e616
lavfi/vf_stereo3d: use standard options parsing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-03-21 09:17:32 +00:00
Michael Niedermayer
76fdced109
asrc_sine: avoid use of INFINITY as it might be a non constant
...
This should fix compilation on openbsd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-21 00:53:57 +01:00
Nicolas George
2753d4ebf0
lavfi/vf_yadif: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
8d4d11cd89
lavfi/vf_unsharp: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
769cc30072
lavfi/vf_transpose: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
392ec7ec1c
lavfi/vf_pad: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
b201c167d0
lavfi/vf_fps: use standard options parsing.
2013-03-20 21:13:56 +01:00
Nicolas George
4e2bcec95f
lavfi/vf_fade: use standard options parsing.
2013-03-20 21:13:56 +01:00