After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 651536 - baseclass for scopes (visualizers)
baseclass for scopes (visualizers)
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-31 10:51 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2011-06-06 12:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
scopes: first version of a scopes plugin using a new baseclass (25.33 KB, patch)
2011-05-31 11:01 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
scopes: add a simple fft based scope (10.30 KB, patch)
2011-05-31 11:01 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
basescope: remove some comments (1.35 KB, patch)
2011-05-31 11:02 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
basescope: allow subclasses telling how many sample they need per frame (4.73 KB, patch)
2011-05-31 11:02 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
basescope: add a backbuffer and apply shading effects (11.20 KB, patch)
2011-05-31 11:02 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
basescope: add a property to modify the ammount of shading (5.38 KB, patch)
2011-05-31 11:02 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
basescope: add more shading effects (5.98 KB, patch)
2011-05-31 11:02 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
scopes: draw pixels with signle 32bit writes (4.26 KB, patch)
2011-05-31 11:02 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
scopes: add a new element similar to synaesthesia (12.74 KB, patch)
2011-05-31 11:02 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
spectrascope: use add_pixel for non-white pixels (1.42 KB, patch)
2011-05-31 11:02 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review
readme with testing info and stuff (2.02 KB, application/octet-stream)
2011-05-31 11:03 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
  Details

Description Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 10:51:07 UTC
I have started a baseclass for visualizers and wrote a couple of them. I'll post this here for some early comments as I will be away for a few days.
Next things I will do is:
* unit tests
* element-maker template
* improve synaescope (it is already quite similar)
* more shading functions
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:01:56 UTC
Created attachment 188917 [details] [review]
scopes: first version of a scopes plugin using a new baseclass

Add a new baseclass for writing visualisation plugins. Provide a simple wave
oscilloscope as a first subclass.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:01:59 UTC
Created attachment 188918 [details] [review]
scopes: add a simple fft based scope

Add a 2nd demo scope that uses a fft.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:02:02 UTC
Created attachment 188919 [details] [review]
basescope: remove some comments

Those comments where pointing to example calls that we do in the subclass.
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:02:05 UTC
Created attachment 188920 [details] [review]
basescope: allow subclasses telling how many sample they need per frame

This allows e.g. FFT based elements to require enough data. If they need more
data than what we get, we flush less from the adapter.
Comment 5 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:02:08 UTC
Created attachment 188921 [details] [review]
basescope: add a backbuffer and apply shading effects

Keep the last frame and apply shade and geometry effects. Expose the shading
effects as a controllable gobject property on the baseclass.
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:02:12 UTC
Created attachment 188922 [details] [review]
basescope: add a property to modify the ammount of shading

Add another property to specify the shading per color channel. Fix endianess
issues in the shading code.
Comment 7 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:02:15 UTC
Created attachment 188923 [details] [review]
basescope: add more shading effects
Comment 8 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:02:18 UTC
Created attachment 188924 [details] [review]
scopes: draw pixels with signle 32bit writes
Comment 9 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:02:22 UTC
Created attachment 188925 [details] [review]
scopes: add a new element similar to synaesthesia
Comment 10 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:02:25 UTC
Created attachment 188926 [details] [review]
spectrascope: use add_pixel for non-white pixels
Comment 11 Stefan Sauer (gstreamer, gtkdoc dev) 2011-05-31 11:03:33 UTC
Created attachment 188927 [details]
readme with testing info and stuff
Comment 12 David Schleef 2011-05-31 22:14:39 UTC
"Scope"?  How about "Visualizer" or something.
Comment 13 Stefan Sauer (gstreamer, gtkdoc dev) 2011-06-03 08:49:01 UTC
I found Visualizer to long and I am always unsure wheter it is Visuali{z,s}er :). But if that is all that people are worried about I can change it for sure.
Comment 14 Sebastian Dröge (slomo) 2011-06-03 08:58:09 UTC
Seems that we're using the American spelling everywhere (e.g. serialize)... so use the z :)
Comment 15 Stefan Sauer (gstreamer, gtkdoc dev) 2011-06-06 12:23:49 UTC
I have been making the changes (renaming), integrated with docs, tests and other stuff. Just pushed the patches. Change request per IRC/email :)