Stefan Sauer
af29e77858
monoscope: rework the scaling code
...
The running average was wrong and the resulting scaling factor was only held in
place using the CLAMP. In addtion we are now convering quickly to volume
changes.
FInally now with this change, we can change the resolution defines and
everythign adjusts.
2016-02-12 21:01:03 +01:00
Stefan Sauer
5e68873d22
monoscope: use constants in the drawing code
...
Make all the drawing ops be based on the constants. This way we can change
the fixed size at least at compile time.
2016-02-12 21:01:03 +01:00
Stefan Sauer
8d17911b33
monoscpe: make the convolver use dynamic memory
...
Replace all #defines with members and initialize the convolver with a parameter.
2016-02-12 21:01:03 +01:00
Stefan Sauer
daea0540fd
monoscope: code cleanup
...
Use constants more often. Cleanup comments and add more to explain how things
work.
2016-02-12 21:01:03 +01:00
Stefan Kost
3ec3bed497
monoscope: don't leak the monoscope_state data
...
The monoscope_close() implementation was empty.
2011-03-02 13:01:45 +02:00
Stefan Kost
7bc3344131
monoscope: we have 64 colors, don't access colors[64]
...
Fixes remaining invalid read.
2011-03-02 13:01:45 +02:00
Christian Schaller
fdbea2d6a7
fix licensing of monoscope
...
Original commit message from CVS:
fix licensing of monoscope
2004-12-07 17:22:19 +00:00
Benjamin Otte
f7b65944ee
gst/monoscope/gstmonoscope.c: make sure we only provide 256x128
...
Original commit message from CVS:
* gst/monoscope/gstmonoscope.c:
make sure we only provide 256x128
* gst/monoscope/monoscope.c: (monoscope_init):
assert size of 256x128
2004-04-27 15:59:57 +00:00
Thomas Vander Stichele
6cc1c73d2b
don't mix tabs and spaces
...
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:27 +00:00
Thomas Vander Stichele
5d25c00e4b
gst-indent
...
Original commit message from CVS:
gst-indent
2004-03-14 22:34:33 +00:00
Ronald S. Bultje
5621eae1c5
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:47:01 +00:00
Richard Boulton
31b3a71dc8
Remove static structures: you can now have multiple monoscopes, and they'll actually display different things. :)
...
Original commit message from CVS:
Remove static structures: you can now have multiple monoscopes, and they'll
actually display different things. :)
2002-03-08 16:43:08 +00:00
Richard Boulton
b62e08de6e
Fix monoscope: caps already asked for mono input: make it actually expect such input.
...
Original commit message from CVS:
Fix monoscope: caps already asked for mono input: make it actually expect
such input.
2002-03-03 17:29:59 +00:00
Thomas Vander Stichele
2f7d0766d9
what sort of compiler allowed this anomaly to pass ??? please fix indentation too ;)
...
Original commit message from CVS:
what sort of compiler allowed this anomaly to pass ???
please fix indentation too ;)
2002-03-02 20:15:00 +00:00
Richard Boulton
ff816a1475
I'm too lazy to comment this
...
Original commit message from CVS:
*** empty log message ***
2002-03-02 12:36:07 +00:00