Rémi Denis-Courmont
80d88b05f2
Mark unreachable code on GCC even if NDEBUG
This might suppress some warnings (and very slightly reduce code size)
when assertions are disabled. Not that I particularly like to create
VLC-specific macros.
11 years ago
Thierry Foucu
f1cfcbfd8f
Using fabsf for floating value instead of abs
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years ago
Rafaël Carré
896bc25795
peack -> peak
12 years ago
Tristan Matthews
6c4493a716
visual: don't crash on empty buffers
Fixes #10533
12 years ago
Jean-Baptiste Kempf
130a8081fc
Visual: add an assert in an impossible switch case
12 years ago
Ron Wright
cf02472407
Visual: use of FFT windowing in spectrum effect
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Ron Wright
17b03dd5fc
Introducing FFT windowing routines for spectrum-based visualizations
This patch introduces FFT windowing routines to reduce spectral leakage in
spectrum-based visualizations. It supports four types of windows that are
commonly used in spectrum analyzers (besides the pre-existing rectangular
window): Hann, flat top, Blackman-Harris, and Kaiser.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Adrien Maglo
f0d02027f1
visu: fix the scope visualization drawing.
13 years ago
Rémi Duraffort
bb2e749435
visual: spect-sections should be strictly positive
13 years ago
Jean-Baptiste Kempf
b26c25387c
Visualizations: relicense to LGPLv2.1
Note that the visual plugin still depends on a GPL'd fft.
Note that the new vsxu plugin is still GPL (depending on a GPL library
anyway)
13 years ago
Jean-Baptiste Kempf
965e16f80b
Revert "Fix scope alignment"
This reverts commit e61ba5a72f .
13 years ago
Rémi Denis-Courmont
f0e288aca9
aout: drop 2 version number from "visualization2" capability
13 years ago
Rémi Denis-Courmont
57720af12f
Use NULL rather than 0 as pointer
13 years ago
Rémi Denis-Courmont
80bfd0e806
visual: use dedicated thread ( fixes #6229 )
The new thread avoids blocking the audio pipeline while waiting for a
picture buffer. The Goom plugin already follows the same approach.
13 years ago
Rémi Denis-Courmont
3364219c0e
visual: clean up clean up code
13 years ago
Rémi Denis-Courmont
032bbe0578
visual: reduce symbols count
13 years ago
Rémi Denis-Courmont
6c636f2ca1
visual: remove write only field psz_args
13 years ago
Rémi Denis-Courmont
1f02e8c058
visual: do not keep unused fields
13 years ago
Rémi Denis-Courmont
3c4189bcef
visual: privatize filter_sys_t, etc.
13 years ago
Rémi Denis-Courmont
2ce82a3f94
visual: remove non-sensical code
This mostly reverts commit fc5156cc00 .
This also fixes a use-after-free bug.
13 years ago
Rémi Denis-Courmont
d0233fac5d
visual: force FL32 input and set output format
13 years ago
Edward Wang
a86dbb3b85
visual: use mutexes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years ago
Rémi Denis-Courmont
9bc110c4b9
Remove recursion into modules/visualization/visual/
14 years ago
Rémi Denis-Courmont
17b3aee7c7
visual: do not pretend to support FI32
14 years ago
Edward Wang
fc5156cc00
visual: remove depreciated vlc_object_alive
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years ago
Edward Wang
73e246278f
visual: check for NULL before free
Close #6879
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years ago
Jean-Baptiste Kempf
9f13c667de
Visualisation: use 16:10 vout by default
Instead of 5:4
15 years ago
Rémi Denis-Courmont
c0d70328b4
Remove no-op variable callback
15 years ago
Jean-Baptiste Kempf
21a7c129da
Visual: remove 5 translation text
It is a bit ridiculous to have 34 translations needed for such a small
module...
15 years ago
Rémi Denis-Courmont
94b7316fc4
visual: correct object cast
15 years ago
Jean-Baptiste Kempf
151fdeef0d
Visual: code cosmetics and comments
15 years ago
Michael E
e61ba5a72f
Fix scope alignment
This sets the base level of the scope display back to the centre of
its channel. Has been broken for at least +1 year.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
16 years ago
Rémi Denis-Courmont
40b4d780a4
add_bool: remove callback parameter
16 years ago
Rémi Denis-Courmont
f98a66cea0
add_integer: remove callback parameter
16 years ago
Rémi Denis-Courmont
3204d23260
Remove legacy parameter from add_string()
16 years ago
Laurent Aimar
0c5adb0ef5
Modified vout_*Picture API.
It is a bit simpler and cleaner.
I plan to remove the need for specific vout
vout_HoldPicture/ReleasePicture functions, but it is not yet possible.
16 years ago
Jean-Baptiste Kempf
93c4f0f889
Visual: Center the vuMeter.
Close #3534
16 years ago
Rémi Denis-Courmont
b2262bc364
video plugins: use var_Inherit
16 years ago
Rémi Denis-Courmont
46b7f9a6e1
Remove unused string
Pointed-out-by: Fumio Nakayama
17 years ago
Laurent Aimar
d466fd4185
Removed es_format_t::i_aspect.
It was duplicated with es_format_t::i_sar_num/den.
17 years ago
Rémi Duraffort
b5cc8bd2de
visual: factorize.
17 years ago
Rémi Duraffort
60b30f42e9
visual: save again some allocation/deallocation cycles.
17 years ago
Rémi Duraffort
5d99f7d3d5
visual: fix a crash (double free or use after free) if an error occure.
17 years ago
Rémi Duraffort
c8f699876c
visual: small cleanup.
17 years ago
Rémi Duraffort
8b96a4c2a0
visual: fix use of uninitialized value (introduced in 68dd76f1cd)
17 years ago
Rémi Duraffort
8cf7b429d7
visual: factorize.
17 years ago
Rémi Duraffort
68dd76f1cd
visual: save a huge number of allocation/deallocation.
17 years ago
Rémi Duraffort
5534850701
visual: factorize.
17 years ago
Rémi Denis-Courmont
dd93b14aea
visual: adapt to filter_t
17 years ago
Rémi Denis-Courmont
d2549af08b
aout_filter_t.(in|out)put -> aout_filter_t.fmt_(in|out).audio
This migrates to a filter_t-like syntax
17 years ago