Clément Bœsch
174c483e2e
lavfi/select: fix compilation with avcodec disabled.
13 years ago
Stefano Sabatini
022e118e3f
lavfi/setpts: enable debug logs, and improve/extend debug messages
13 years ago
Clément Bœsch
de2022c5dd
lavfi/gradfun: small align cosmetics.
13 years ago
Clément Bœsch
526e2415bd
lavfi/gradfun: support named options.
This breaks usage for out-of-range values.
13 years ago
Clément Bœsch
3bdd70fc66
lavfi/gradfun: reduce up limit for threshold.
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.
13 years ago
Clément Bœsch
63e1fc2588
lavfi/gradfun: remove rounding to match C and SSE code.
There is no noticable benefit for such precision.
13 years ago
Clément Bœsch
60ba9a9a88
lavfi/gradfun: fix dithering in MMX code.
Current dithering only use the first 4w instead of the whole 8 random values.
13 years ago
Clément Bœsch
49de902a1e
lavfi/gradfun: fix rounding in MMX code.
Current code divide before increasing precision.
13 years ago
Clément Bœsch
dd8a76ab08
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.
13 years ago
Michael Niedermayer
9700a7a1dd
af_apad: remove unneeded av_opt_free
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c311431e29
apad: add whole_len and pad_len options.
These options allow padding to a specific length or adding a specific amount if silence.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c2640146e0
apad: fix apad_options formating
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b7e085a288
af_apad: add user setable packet_size
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5eae7f8f35
avfilter: add apad filter
This filter pads an audio stream with silence
It can together with -shortest be used to extend audio streams to
the same length as video.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
94877aad57
lavfi/crop: free x and y parsed expression objects
Fix leak introduced in 1e5492ffe6 .
13 years ago
Stefano Sabatini
1e5492ffe6
lavfi/crop: add support to option parsing
Also fix documentation accordingly.
13 years ago
Stefano Sabatini
54b0c04ae3
lavfi/overlay: clarify/fix comment, add a few empty lines to ease readability
13 years ago
Stefano Sabatini
3d1e2ada25
lavfi/overlay: remove duplicated definition of ff_null_get_video_buffer()
Simplify.
13 years ago
Stefano Sabatini
8f44170d30
lavfi/avfilter.h: clarify doxy for AVFilterLink.out_buf
13 years ago
Justin Ruggles
c0dc57f126
asyncts: merge two conditions
13 years ago
Justin Ruggles
4e5a8878d5
asyncts: ignore min_delta only if first_pts is set
13 years ago
Justin Ruggles
8083332c2d
asyncts: use clipped delta value when setting resample compensation
The max_comp option is supposed to limit maximum compensation, but
currently the clipped value is not actually used.
13 years ago
Justin Ruggles
0ee440fe38
asyncts: cosmetics: reindent
13 years ago
Justin Ruggles
c143de40c3
asyncts: fix the asyncts behavior when using the first_pts option
Currently it will do padding, but it does not properly handle
start-of-stream trimming as documented.
13 years ago
Justin Ruggles
f266486b2e
asyncts: fix flushing of final samples at EOF
13 years ago
Michael Niedermayer
616e6ffac6
aresample: increase n_out buffer size a bit to reduce delay in some corner cases
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
db6e960450
lavfi: drop ff_null_start_frame/end_frame/draw_slice.
The functions have become unused
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
43912625e0
lavfi/select: assign NAN to ignored values
Also log scene value. Improve debugging.
13 years ago
Stefano Sabatini
6ba1f28008
lavfi/select: add support to options
Add options introspection, and improve error feedback.
13 years ago
Stefano Sabatini
c214cd18e2
lavfi/select: in select_frame(), rename picref -> ref
The variable is now used also for audio frames.
13 years ago
Stefano Sabatini
c51f090ff9
lavfi: mv vf_select.c -> f_select.c
The file now contains also an audio select implementation. Also move the
aselect/select documentation from video filters to the multimedia filters
section.
13 years ago
Stefano Sabatini
f5461face5
lavfi: add aselect audio variant of select
13 years ago
Stefano Sabatini
64c5fbd7de
lavfi/select: remove deprecated and unused poll_frame() callback
Simplify.
13 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>
13 years ago
Michael Niedermayer
e69e780cde
ff_copy_buffer_ref: use the channel count
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 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>
13 years ago
Clément Bœsch
9138f6da4a
lavfi/showinfo: check plane count before dereferencing.
13 years ago
Clément Bœsch
4b4f16cdc0
lavfi/fps: remove parse opt error message.
See cc650cf0 for more info.
13 years ago
Clément Bœsch
0e0e3db189
lavfi/fps: add shorthand.
13 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.
13 years ago
Clément Bœsch
18d9398143
doxy: add ref for lavfi, lpp and lsws.
13 years ago
Michael Niedermayer
b11a889055
vf_tinterlace: default of mode switch is impossible, add assert.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
642a60f1c2
lavfi/setfield: add support to named options and introspection
13 years ago
Matthieu Bouron
7f154bd54f
lavfi/setfield: switch to filter_frame API
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Matthieu Bouron
4cd40ef343
lavfi/idet: switch to filter_frame API
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Stefano Sabatini
5825e9425b
lavfi/version: remove unused dropped symbol
13 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.
13 years ago
Stefano Sabatini
769546631c
lavfi/volume_justin: add support to option shorthands and introspection
13 years ago
Stefano Sabatini
402ac72bbc
lavfi/volume_justin: fix a few grammar inconsistencies in options description
13 years ago
Stefano Sabatini
35e81441fc
lavfi/sendcmd: switch to filter_frame API
13 years ago