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.
12 years ago
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.
12 years ago
Clément Bœsch
01b2d1288a
lavfi/volume: use designated initializers for the sample_fmts declaration.
12 years ago
Clément Bœsch
4dae804d3c
lavfi/volume: use copy props helper instead of incomplete manual code.
12 years ago
Clément Bœsch
29667a2c20
decimate: check for avctx ptr before closing.
Fixes a crash init failed before setting avctx.
12 years ago
Michael Niedermayer
e0dd8cadcc
af_join: fix channel count and format
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
acaee26008
af_channelsplit: set output channels, fix assertion failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
705b607db8
lavfi/biquads: fix min allowed option value
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
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>
13 years ago
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>
13 years ago
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>
13 years ago
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>
13 years ago
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>
12 years ago
Michael Niedermayer
79938a4e97
mandelbrot: add outer coloring method showing bailouted z
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a2b5825649
vsrc_mandelbrot: support coloring the outside white
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
62d36abef4
lavfi/mptestsrc: make use of AV_OPT_TYPE_VIDEO_RATE
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
401f9c95e9
lavfi/cellauto: make use of AV_OPT_TYPE_VIDEO_RATE
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
8c5b37b402
lavfi/life: make use of AV_OPT_TYPE_VIDEO_RATE
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
975efc8864
lavfi/mandelbrot: make use of AV_OPT_TYPE_VIDEO_RATE
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
54056c6655
lavfi/testsrc: make use of AV_OPT_TYPE_VIDEO_RATE
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
7606f4a1af
lavfi/fps: make use of AV_OPT_TYPE_VIDEO_RATE
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
e32cbd0f54
lavfi/perms: add myself to the copyright header.
12 years ago
Clément Bœsch
9371467d9d
lavfi/perms: add seed option.
12 years ago
Clément Bœsch
e600d0628e
lavfi/perms: remove unecessary indirection after f7324c06.
12 years ago
Clément Bœsch
133035c40d
lavfi/curves: add forgotten strong_contrast preset.
12 years ago
Clément Bœsch
183f3450fd
lavfi/curves: support preset shorthand.
12 years ago
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>
12 years ago
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>
12 years ago
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>
12 years ago
Nicolas George
125acd2152
lavfi: support multiple rounds of format negotiation.
Remove the temporary hack for amerge and replace it with a
generic solution.
12 years ago
Nicolas George
00da527b44
lavfi/af_amerge: return EAGAIN if the input layouts are not known.
Also downgrade the error to a warning.
12 years ago
Clément Bœsch
386dc9a3a8
lavfi/thumbnail: add support for named options.
12 years ago
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.
12 years ago
Stefano Sabatini
1b140835b6
lavfi/colormatrix: add support for named options
12 years ago
Clément Bœsch
cbf224b631
lavfi/tinterlace: use standard options parsing.
12 years ago
Clément Bœsch
9e21c89841
lavfi/subtitles: use standard options parsing.
12 years ago
Clément Bœsch
06784b737a
lavfi/smartblur: use standard options parsing.
12 years ago
Clément Bœsch
15878b2b5b
lavfi/setfield: use standard options parsing.
12 years ago
Clément Bœsch
e62587bc5e
lavfi/overlay: use standard options parsing.
12 years ago
Clément Bœsch
5dc074d321
lavfi/kerndeint: use standard options parsing.
12 years ago
Clément Bœsch
ab228f9163
lavfi/idet: use standard options parsing.
12 years ago
Clément Bœsch
552c02f20f
lavfi/histeq: use standard options parsing.
12 years ago
Clément Bœsch
b27a8ba13c
lavfi/gradfun: use standard options parsing.
12 years ago
Clément Bœsch
b595819cde
lavfi/geq: use standard options parsing.
12 years ago
Clément Bœsch
cb0fb4d04d
lavfi/fieldorder: use standard options parsing.
12 years ago
Clément Bœsch
a733481d0a
lavfi/field: use standard options parsing.
12 years ago
Clément Bœsch
7edda1a935
lavfi/deshake: use standard options parsing.
12 years ago
Clément Bœsch
1341dd2dd0
lavfi/cropdetect: use standard options parsing.
12 years ago
Clément Bœsch
a36d903601
lavfi/boxblur: use standard options parsing.
12 years ago
Clément Bœsch
3f8072886b
lavfi/blackframe: use standard options parsing.
12 years ago