Stefano Sabatini
64c5fbd7de
lavfi/select: remove deprecated and unused poll_frame() callback
...
Simplify.
12 years ago
Michael Niedermayer
02b238186a
avfilter_get_audio_buffer_ref_from_frame: check that layout and channels match if they are set
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e69e780cde
ff_copy_buffer_ref: use the channel count
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
5a4eb6aa27
avfilter_get_video_buffer_ref_from_frame: check channel count
...
more than 8 channels is not supported and crashes with null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
9138f6da4a
lavfi/showinfo: check plane count before dereferencing.
12 years ago
Clément Bœsch
4b4f16cdc0
lavfi/fps: remove parse opt error message.
...
See cc650cf0
for more info.
12 years ago
Clément Bœsch
0e0e3db189
lavfi/fps: add shorthand.
12 years ago
Clément Bœsch
fd3cdcaf5f
lavfi: remove mp=denoise3d filter.
...
hqdn3d was meant to be a more efficient denoise3d filter, is supported
natively, and is faster on my computer thanks to the ASM optimisations.
12 years ago
Clément Bœsch
18d9398143
doxy: add ref for lavfi, lpp and lsws.
12 years ago
Michael Niedermayer
b11a889055
vf_tinterlace: default of mode switch is impossible, add assert.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
642a60f1c2
lavfi/setfield: add support to named options and introspection
12 years ago
Matthieu Bouron
7f154bd54f
lavfi/setfield: switch to filter_frame API
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Matthieu Bouron
4cd40ef343
lavfi/idet: switch to filter_frame API
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Stefano Sabatini
5825e9425b
lavfi/version: remove unused dropped symbol
12 years ago
Stefano Sabatini
10db70d5e9
lavfi: drop af_volume_stefano.c in favor of af_volume_justin.c
...
Justin's version has more features but is otherwise equivalent from the
point of view of the syntax.
12 years ago
Stefano Sabatini
769546631c
lavfi/volume_justin: add support to option shorthands and introspection
12 years ago
Stefano Sabatini
402ac72bbc
lavfi/volume_justin: fix a few grammar inconsistencies in options description
12 years ago
Stefano Sabatini
35e81441fc
lavfi/sendcmd: switch to filter_frame API
12 years ago
Stefano Sabatini
3eae531de2
lavfi/swapuv: switch to filter_frame API
12 years ago
Stefano Sabatini
fe508f807a
lavfi/alphaextract: consistently prefer "cur" over "in" in filter_frame()
...
Improve consistency/readability.
12 years ago
Stefano Sabatini
0bc0d31b7b
lavfi/alphaextract: access outlink properties rather than out_buf->video
...
Avoid one dereference, simplify.
12 years ago
Stefano Sabatini
130c6497d2
lavfi/alphaextract: fix assignment of invalid size value to memcpy in case linesize < 0
...
Fix crash, for example in the command:
ffmpeg -f image2 -vcodec pgmyuv -i tests/vsynth1/%02d.pgm \
-vf "[in]format=yuv420p,split,alphamerge,split[o3][o4];
[o4]vflip,alphaextract[alpha];[o3][alpha]alphamerge[out]" \
-vcodec rawvideo -f nut md5:
12 years ago
Stefano Sabatini
c3ad91a3d7
lavfi/alphaextract: switch to filter_frame() API
12 years ago
Stefano Sabatini
1f467220cf
lavfi/alphaextract: drop cur_linesize = out_linesize branch in draw_slice()
...
The code causes uninitialized data copy, and may be actually slower than
a loop over each line in case the padding is big.
12 years ago
Carl Eugen Hoyos
24b20087bd
Fix compilation with yasm 0.6.2.
12 years ago
Stefano Sabatini
da9a45b681
lavfi/tinterlace: drop redundant NULL checks in uninit()
12 years ago
Stefano Sabatini
c6a216771f
lavfi/tinterlace: add support to option parsing
...
Simplify code, and provide introspection through the AVOption system.
12 years ago
Stefano Sabatini
fef7b2e0be
lavfi/tinterlace: switch to filter_frame API
...
Also add missing NULL checks.
12 years ago
Clément Bœsch
bbd44f6ca4
lavfi/mp: switch to ff_filter_frame.
12 years ago
Clément Bœsch
eaa47e7454
lavfi/deshake: small align prettifying.
12 years ago
Clément Bœsch
03778575b9
lavfi/deshake: switch inverted comments.
12 years ago
Clément Bœsch
0678641b7c
lavfi/deshake: remove unecessary check before unref.
12 years ago
Clément Bœsch
e7b0e83e96
lavfi/deshake: switch to filter_frame.
12 years ago
Michael Niedermayer
1bb547192f
lavfi: rename af_volume to af_volume_stefano
...
This matches the naming style of the new af_volume_justin filter.
Note, Yes i would too prefer having one filter instead of 2.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
a0b2e8e155
lavfi/silencedetect: use eval builtin to parse dB.
...
Also update FATE test to use the dB form.
12 years ago
Stefano Sabatini
c3fa6add58
lavfi/field: switch to filter_frame API
12 years ago
Stefano Sabatini
3942294fd5
lavfi/drawtext: make use of outlink variable in filter_frame()
...
Fix warning.
12 years ago
Clément Bœsch
1e85fd6a47
lavfi/mp: remove dead extern vf_info_t declarations.
12 years ago
anonymous
de42d2a347
lavfi/mp: add ff_ prefix to exported symbols
12 years ago
Justin Ruggles
b384e031da
lavfi: add volume filter
...
Based on the volume filter in FFmpeg written by Stefano Sabatini
<stefasab@gmail.com>.
12 years ago
Justin Ruggles
b30a363331
x86: af_volume: add SSE2/SSSE3/AVX-optimized s32 volume scaling
12 years ago
Justin Ruggles
f96f1e06a4
x86: af_volume: add SSE2-optimized s16 volume scaling
12 years ago
Clément Bœsch
ab5497df15
lavfi/subtitles: 10l close codec before format.
...
Fix invalid memory accesses.
12 years ago
Anton Khirnov
cb45553f57
Remove pointless #undefs of previously forbidden functions.
12 years ago
Nicolas George
0444733b78
lavfi/drawtext: add the reload option.
12 years ago
Clément Bœsch
359cd12a43
lavfi/mp: fix invalid read with filters with no argument.
12 years ago
Clément Bœsch
ef1868351d
lavfi/removelogo: switch to ff_filter_frame.
12 years ago
Clément Bœsch
3313e46c4a
lavfi: add subtitles filter.
12 years ago
Clément Bœsch
b5eb630e21
lavfi: remove some video w/h settings after avfilter_copy_buffer_ref_props.
...
video->[wh] will be set with the same values as the input after
avfilter_copy_buffer_ref_props. These filters don't change the size of
the input so there is no need for this code.
12 years ago
Clément Bœsch
d91388367f
lavfi/gradfun: remove check for AV_PERM_PRESERVE.
...
This check does not make sense in this context, see
doc/filter_design.txt for details about the usage of such flag.
12 years ago