Stefano Sabatini
fe508f807a
lavfi/alphaextract: consistently prefer "cur" over "in" in filter_frame()
Improve consistency/readability.
13 years ago
Stefano Sabatini
0bc0d31b7b
lavfi/alphaextract: access outlink properties rather than out_buf->video
Avoid one dereference, simplify.
13 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:
13 years ago
Stefano Sabatini
c3ad91a3d7
lavfi/alphaextract: switch to filter_frame() API
13 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.
13 years ago
Carl Eugen Hoyos
24b20087bd
Fix compilation with yasm 0.6.2.
13 years ago
Stefano Sabatini
da9a45b681
lavfi/tinterlace: drop redundant NULL checks in uninit()
13 years ago
Stefano Sabatini
c6a216771f
lavfi/tinterlace: add support to option parsing
Simplify code, and provide introspection through the AVOption system.
13 years ago
Stefano Sabatini
fef7b2e0be
lavfi/tinterlace: switch to filter_frame API
Also add missing NULL checks.
13 years ago
Clément Bœsch
bbd44f6ca4
lavfi/mp: switch to ff_filter_frame.
13 years ago
Clément Bœsch
eaa47e7454
lavfi/deshake: small align prettifying.
13 years ago
Clément Bœsch
03778575b9
lavfi/deshake: switch inverted comments.
13 years ago
Clément Bœsch
0678641b7c
lavfi/deshake: remove unecessary check before unref.
13 years ago
Clément Bœsch
e7b0e83e96
lavfi/deshake: switch to filter_frame.
13 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>
13 years ago
Clément Bœsch
a0b2e8e155
lavfi/silencedetect: use eval builtin to parse dB.
Also update FATE test to use the dB form.
13 years ago
Stefano Sabatini
c3fa6add58
lavfi/field: switch to filter_frame API
13 years ago
Stefano Sabatini
3942294fd5
lavfi/drawtext: make use of outlink variable in filter_frame()
Fix warning.
13 years ago
Clément Bœsch
1e85fd6a47
lavfi/mp: remove dead extern vf_info_t declarations.
13 years ago
anonymous
de42d2a347
lavfi/mp: add ff_ prefix to exported symbols
13 years ago
Justin Ruggles
b384e031da
lavfi: add volume filter
Based on the volume filter in FFmpeg written by Stefano Sabatini
<stefasab@gmail.com>.
13 years ago
Justin Ruggles
b30a363331
x86: af_volume: add SSE2/SSSE3/AVX-optimized s32 volume scaling
13 years ago
Justin Ruggles
f96f1e06a4
x86: af_volume: add SSE2-optimized s16 volume scaling
13 years ago
Clément Bœsch
ab5497df15
lavfi/subtitles: 10l close codec before format.
Fix invalid memory accesses.
13 years ago
Anton Khirnov
cb45553f57
Remove pointless #undefs of previously forbidden functions.
13 years ago
Nicolas George
0444733b78
lavfi/drawtext: add the reload option.
13 years ago
Clément Bœsch
359cd12a43
lavfi/mp: fix invalid read with filters with no argument.
13 years ago
Clément Bœsch
ef1868351d
lavfi/removelogo: switch to ff_filter_frame.
13 years ago
Clément Bœsch
3313e46c4a
lavfi: add subtitles filter.
13 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.
13 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.
13 years ago
Stefano Sabatini
5148147b26
lavfi/bbox: switch to ff_filter_frame() API
13 years ago
Stefano Sabatini
255be0734d
lavfi/alphamerge: fix leak introduced in 217163eb
13 years ago
Nicolas George
ddd87236f0
lavfi/vf_super2xsai: fix output ref size.
13 years ago
Stefano Sabatini
bd465fdc73
lavfi/framestep: switch to ff_filter_frame API
13 years ago
Stefano Sabatini
fbc339ff41
lavfi/super2xsai: switch to ff_filter_frame() API
13 years ago
Clément Bœsch
adfd9ca3fa
lavfi/hue: move to ff_filter_frame.
13 years ago
Nicolas George
24cb1f9718
lavfi/vf_tile: forward errors.
13 years ago
Nicolas George
3b316247fb
lavfi/vf_tile: cosmetic after last commit.
13 years ago
Nicolas George
6f3d2fb18b
lavfi/vf_tile: switch to filter_frame.
Also add error check on buffer allocation.
13 years ago
Stefano Sabatini
3d72820722
lavfi/decimate: switch to ff_filter_frame() API
13 years ago
Stefano Sabatini
217163eb98
lavfi/alphamerge: switch to ff_filter_frame() API
13 years ago
Stefano Sabatini
83ab46a57e
lavfi/blackdetect: switch to new ff_filter_frame() API
13 years ago
Clément Bœsch
9e1914dfba
lavfi/hqdn3d: avoid use of uninitialized variable.
13 years ago
Clément Bœsch
a3554bb457
lavfi/gradfun: avoid use of uninitialized variable.
13 years ago
Clément Bœsch
f61369d762
lavfi/vsrc: switch to ff_filter_frame.
13 years ago
Stefano Sabatini
13c39e9676
lavfi/geq: add T variable and example
13 years ago
Clément Bœsch
a7eabbb20d
lavfi/concat: prefer av_asprintf() over stack allocated buffer.
13 years ago
Clément Bœsch
b99f1303ad
lavfi/concat: switch to filter_frame.
13 years ago
Clément Bœsch
ea3bad0e9e
lavfi/smartblur: switch to filter_frame.
13 years ago