Paul B Mahol
d4ce63a1bf
avfilter/af_sidechaincompress & af_agate: use audio fifo from lavu
...
Fixes regression causing segfault.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
7d76294ce0
avfilter: add ahistogram multimedia filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
48f5244df7
avfilter/vaf_spectrumsynth: Fix mixed declaration and statment
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
d6f1abe9ce
avfilter/vf_fftfilt: this is video filter so use pixels instead of samples
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
2bbc7e9625
avfilter/vf_fftfilt: use the name 's' for the pointer to the private context
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
653f9d84ae
avfilter: add spectrumsynth filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
70df51112c
avfilter/af_dynaudnorm: fix possible null pointer dereference
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
57df71eaf7
avfilter/avf_showspectrum: reduce number of operations
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
2009d922db
avfilter/avf_showspectrum: add posibility to display phase
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Timothy Gu
53d6bf6627
avf_showspectrum: Silence "deprecated pixel format" warning
9 years ago
Paul B Mahol
cbad37e5bf
avfilter/avf_showspectrum: set color range to frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
a69cf50dca
avfilter/avf_showspectrum: add cool color map
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
b7b4d99a18
avfilter/avf_showfreqs: fix possible null pointer dereference
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Hendrik Leppkes
53ada3af62
x86/vf_w3fdif: 32-bit compatibility for w3fdif_simple_high
9 years ago
Paul B Mahol
08aec7c1bd
avfilter/avf_showspectrum: add option to draw legend
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Ganesh Ajjanagadde
2fbdc4faf1
lavfi/avf_showspectrum: replace pow(x, 0.25) by sqrt(sqrt(x))
...
This is faster; precision assured as result is a float.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Clément Bœsch
90cd02059b
lavfi/deshake: use FF_CEIL_RSHIFT()
9 years ago
Paul B Mahol
9f17d4ae7e
avfilter/formats: fix leak of formats on error
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Andrey Turkin
149b1f7cca
avfilter/vf_pad: fix direct padding
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Ganesh Ajjanagadde
fc703f53cf
lavfi/af_compensationdelay: replace pow(x,0.5) by sqrt(x)
...
sqrt is faster, and is sometimes more accurate depending on the libm.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Paul B Mahol
206f65b06d
avfilter/avf_avectorscope: add line drawing support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
c13216ac08
avfilter/window_func: add tukey window function
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
c31fa1d7b4
avfilter/avf_showspectrum: use av_clip/lrintf
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
0d3b31ae89
avfilter/avf_showspectrum: add yet another color map
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
6defda1cdb
avfilter/avf_showspectrum: add option to set gain for calculating color intensity
...
Inspired by Sonic Visualizer.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
0a451082c7
avfilter/avf_showspectrum: finally fix log scaler
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
14caf9667e
avfilter/avf_showspectrum: switch to FFT
...
Rationale: supports >16 bit audio, more than 96dB SNR.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Carl Eugen Hoyos
ae9f2e6f28
lavfi/drawtext: Fix microsecond display.
...
Fixes ticket #4792 .
9 years ago
Nicolas George
962727acb4
lavfi/vf_decimate: do not compare the first frame to itself.
...
This is a waste of computing power and will result to 0,
making it always dropped.
Use maximum difference values instead.
9 years ago
James Almer
35b0c7efda
x86/vf_stereo3d: remove a few unnecessary movas
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
af018d802d
avfilter/avf_showspectrum: add 4th and 5th root scaler
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
2b172cb625
avfilter/avf_showspectrum: make some helper functions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
d35c029cbf
avfilter/avf_showspectrum: fix null pointer dereference if allocation fails
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
9b06e7befa
avfilter/avf_showspectrum: add fiery color map
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
72280d1c6c
avfilter: add showspectrumpic filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
7f7a9dd782
avfilter/avf_showspectrum: store win_size in private context and calculate it only once
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
8bcd1997ea
avfilter/vf_zoompan: do not free frame we pushed to lavfi
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Ganesh Ajjanagadde
9dba3f8f09
lavfi/af_sofalizer: remove exp2 and replace clz by ff_clz
...
ff_clz is faster, and uses an intrinsic (at the moment on GCC). exp2 is
a wasteful function for a simple integer exponentiation.
Untested.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Paul B Mahol
15e1fd9883
avfilter/avf_showspectrum: add window overlap support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
b98c58573b
avfilter/avf_showspectrum: add fire color map
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
4160900899
avfilter/trim: support all channel numbers in atrim filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Thomas Mundt
73ce8162f3
avfilter/vf_scale: set proper out frame color range
...
Prevents that following scalers in the filter chain will do unintentional color range conversions.
Fixes Ticket #5096
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
0f387f2b62
avfilter/avf_showspectrum: add nebulae color map
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
2893dbfe2c
avfilter/avf_showspectrum: add moreland color map
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
b0e23f2a37
avfilter/avf_showspectrum: add rainbow colormap
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
efa666e0da
avfilter/avf_showspectrum: properly calculate w factor
...
It is used in calculating loudness of each frequency bin.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
e30e5c83ae
avfilter/avf_showspectrum: add horizontal orientation support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Ganesh Ajjanagadde
9f4c7b4df7
lavfi/af_anequalizer: replace pow(x,-2) by 1/(x*x)
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
59ac7ce4da
lavfi/af_anequalizer: replace pow(10,x) by ff_exp10(x)
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
63702014fa
lavfi/af_anequalizer: remove cabs, cexp dependencies
...
Replaces by real arithmetic. Tested the validity of these transformations separately.
Numerical differences are ~1e-15, and should not matter: it is not even
clear which is more precise mathematically.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago