Commit graph

20 commits

Author SHA1 Message Date
Tobias Mueller 6faeb75170 goom: Initialised variables to remove compiler warnings
goom_core.c: In function 'goom_update':
goom_core.c:685:5: error: 'param2' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     goom_lines_switch_to (goomInfo->gmline2, mode, param2, amplitude, couleur);
     ^
goom_core.c:684:5: error: 'param1' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     goom_lines_switch_to (goomInfo->gmline1, mode, param1, amplitude, couleur);
     ^

https://bugzilla.gnome.org/show_bug.cgi?id=752053
2015-07-07 13:18:49 +03:00
Luis de Bethencourt e56ef6bcf0 goom: possible uninitialized variables warning
Build fails with the latest snapshot of gcc-4.9 because param1 and param2 might
possibly be used uninitialized. They are set depending on the cases of a switch
statement and the compiler sees this as not a complete guarantee.
Set them to 0 if the switch statement falls down to the default case.

https://bugzilla.gnome.org/show_bug.cgi?id=750566#c6
2015-06-08 23:06:39 +01:00
Tim-Philipp Müller 230cf41cc9 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Benjamin Otte c2846f698b Make goom not use aggregate returns 2010-03-21 17:23:43 +01:00
Stefan Kost 6eb6d5b9ac gst/goom/: Add license headers in all source files. Remove filter.c from
Original commit message from CVS:
* gst/goom/Makefile.am:
* gst/goom/README:
* gst/goom/config_param.c:
* gst/goom/convolve_fx.c:
* gst/goom/drawmethods.c:
* gst/goom/drawmethods.h:
* gst/goom/filters.c:
* gst/goom/filters_mmx.s:
* gst/goom/flying_stars_fx.c:
* gst/goom/goom.h:
* gst/goom/goom_config.h:
* gst/goom/goom_config_param.h:
* gst/goom/goom_core.c:
* gst/goom/goom_filters.h:
* gst/goom/goom_fx.h:
* gst/goom/goom_graphic.h:
* gst/goom/goom_plugin_info.h:
* gst/goom/goom_tools.c:
* gst/goom/goom_tools.h:
* gst/goom/goom_typedefs.h:
* gst/goom/goom_visual_fx.h:
* gst/goom/graphic.c:
* gst/goom/ifs.c:
* gst/goom/ifs.h:
* gst/goom/lines.c:
* gst/goom/lines.h:
* gst/goom/mathtools.c:
* gst/goom/mathtools.h:
* gst/goom/mmx.c:
* gst/goom/motif_goom1.h:
* gst/goom/motif_goom2.h:
* gst/goom/plugin_info.c:
* gst/goom/ppc_drawings.h:
* gst/goom/ppc_zoom_ultimate.h:
* gst/goom/sound_tester.c:
* gst/goom/sound_tester.h:
* gst/goom/surf3d.c:
* gst/goom/surf3d.h:
* gst/goom/tentacle3d.c:
* gst/goom/tentacle3d.h:
* gst/goom/v3d.c:
* gst/goom/v3d.h:
* gst/goom/xmmx.c:
Add license headers in all source files. Remove filter.c from
EXTRA_DIST, as its in SOURCES already. Mention the files in the REDME
which are not used right now. Fixes #557709.
2008-10-28 06:50:57 +00:00
Michael Smith 90fdf92640 gst/goom/: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed.
Original commit message from CVS:
* gst/goom/convolve_fx.c:
* gst/goom/filters.c:
* gst/goom/goom_config.h:
* gst/goom/goom_core.c:
* gst/goom/goom_tools.h:
Fix build with MSVC: include glib.h to define inline appropriately,
use header guards where needed.
* gst/udp/gstudpnetutils.c:
* gst/udp/gstudpsrc.c:
Fix build with MSVC: use WSA* constants/functions where appropriate, use
g_snprintf rather than snprintf.
Fixes #544433.
2008-07-23 22:01:20 +00:00
Jesús Corrius 883d93df58 gst/goom/: Fix build with mingw32: use rand() instead of random() and replace bzero() with memset(). Fixes #529692.
Original commit message from CVS:
Patch by: Jesús Corrius <jesus at softcatala org>
* gst/goom/filters.c: (zoomVector):
* gst/goom/goom_core.c: (init_buffers):
Fix build with mingw32: use rand() instead of random() and
replace bzero() with memset(). Fixes #529692.
2008-04-25 12:52:44 +00:00
Jan Schmidt 4e11c34300 gst/goom/: Free a bunch of stuff, and initialise things to fix leaks and valgrind warnings in the testsuite.
Original commit message from CVS:
* gst/goom/config_param.c: (goom_plugin_parameters_free):
* gst/goom/convolve_fx.c: (convolve_init), (convolve_free):
* gst/goom/filters.c: (zoomFilterVisualFXWrapper_free):
* gst/goom/flying_stars_fx.c: (fs_free):
* gst/goom/goom_config_param.h:
* gst/goom/goom_core.c: (goom_init), (goom_close):
* gst/goom/goom_plugin_info.h:
* gst/goom/gstgoom.c: (gst_goom_finalize):
* gst/goom/lines.c: (goom_lines_free):
* gst/goom/plugin_info.c: (plugin_info_init), (plugin_info_free):
* gst/goom/surf3d.c: (grid3d_free):
* gst/goom/surf3d.h:
* gst/goom/tentacle3d.c: (tentacle_free):
Free a bunch of stuff, and initialise things to fix leaks
and valgrind warnings in the testsuite.
Fixes: #529268
2008-04-22 00:18:52 +00:00
Tim-Philipp Müller a8dec12d98 Strip out the config/script parsing stuff, we don't need it.
Original commit message from CVS:
* configure.ac:
* gst/goom/Makefile.am:
* gst/goom/convolve_fx.c:
* gst/goom/default_scripts.h:
* gst/goom/goom.h:
* gst/goom/goom_core.c: (choose_a_goom_line):
* gst/goom/goom_plugin_info.h:
* gst/goom/goomsl.c:
* gst/goom/goomsl.h:
* gst/goom/goomsl_hash.c:
* gst/goom/goomsl_hash.h:
* gst/goom/goomsl_heap.c:
* gst/goom/goomsl_heap.h:
* gst/goom/goomsl_private.h:
* gst/goom/plugin_info.c:
Strip out the config/script parsing stuff, we don't need it.
Fixes #527999.
2008-04-16 10:31:17 +00:00
Tim-Philipp Müller b1877117fa gst/goom/: Remove a bunch of font/text related code that we don't need.
Original commit message from CVS:
* gst/goom/Makefile.am:
* gst/goom/gfontlib.c:
* gst/goom/gfontlib.h:
* gst/goom/gfontrle.c:
* gst/goom/gfontrle.h:
* gst/goom/goom.h:
* gst/goom/goom_core.c: (goom_update):
* gst/goom/goom_plugin_info.h:
* gst/goom/gstgoom.c: (gst_goom_chain):
* gst/goom/plugin_info.c:
Remove a bunch of font/text related code that we don't need.
2008-04-09 16:11:40 +00:00
Jan Schmidt c34fa140d0 configure.ac: Detect and indicate if GCC inline assembly syntax is available.
Original commit message from CVS:
* configure.ac:
Detect and indicate if GCC inline assembly syntax is
available.
* gst/goom/Makefile.am:
* gst/goom/convolve_fx.c:
* gst/goom/flying_stars_fx.c:
* gst/goom/goom_config.h:
* gst/goom/goom_core.c:
* gst/goom/goomsl.c:
* gst/goom/ifs.c:
* gst/goom/mmx.c:
* gst/goom/plugin_info.c:
* gst/goom/xmmx.c:
Fix various GCC-isms, and only build the inline assembly
with compilers that support GCC inline assembly.
Fix a couple of other warnings shown with Forte.
2008-02-26 10:09:38 +00:00
Bastien Nocera a7bc7485b1 configure.ac: Add checks for Flex/Yacc/Bison and other furry animals, for the new goom 2k4 based plugin
Original commit message from CVS:
2008-02-23  Bastien Nocera  <hadess@hadess.net>

* configure.ac: Add checks for Flex/Yacc/Bison and other
furry animals, for the new goom 2k4 based plugin

* gst/goom/*: Update to use goom 2k4, uses liboil to detect
CPU optimisations (not working yet), move the old plugin to...

* gst/goom2k1/*: ... here, in case somebody is sick enough

Fixes #515073
2008-02-23 01:51:37 +00:00
Jan Schmidt 1af582d518 gst/goom/: Free filter data when cleaning up. (Fixes: #334995)
Original commit message from CVS:
* gst/goom/filters.c: (zoomFilterDestroy):
* gst/goom/goom_core.c: (goom_close):
Free filter data when cleaning up. (Fixes: #334995)
2006-03-20 17:38:48 +00:00
Jan Schmidt 07c1dceae0 gst/goom/: Make goom reentrant by moving all important static variables into instance structures.
Original commit message from CVS:
* gst/goom/filters.c: (zoomFilterNew), (calculatePXandPY),
(setPixelRGB), (setPixelRGB_), (getPixelRGB), (getPixelRGB_),
(zoomFilterSetResolution), (zoomFilterDestroy),
(zoomFilterFastRGB), (pointFilter):
* gst/goom/filters.h:
* gst/goom/goom_core.c: (goom_init), (goom_set_resolution),
(goom_update), (goom_close):
* gst/goom/goom_core.h:
* gst/goom/goom_tools.h:
* gst/goom/graphic.c:
* gst/goom/gstgoom.c: (gst_goom_class_init), (gst_goom_init),
(gst_goom_dispose), (gst_goom_src_setcaps), (gst_goom_chain):
* gst/goom/gstgoom.h:
* gst/goom/lines.c: (goom_lines):
* gst/goom/lines.h:
Make goom reentrant by moving all important static variables
into instance structures.
(Fixes #329181)
2006-02-05 20:43:49 +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
David Schleef df0b94aae4 Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
Original commit message from CVS:
Change %lld, %llu to G_G[U]INT64_FORMAT globally.  Fix bad pointer->integer
conversion.
2003-02-02 05:26:29 +00:00
Benjamin Otte ffd4b556cc fixed first bunch of compiler warnings
Original commit message from CVS:
fixed first bunch of compiler warnings
2002-04-06 03:40:14 +00:00
Andy Wingo d6258153e0 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:05 +00:00
Wim Taymans 4d3b1472e7 Added a goom plugin (goom.sourceforge.net) to test: ./gst-launch filesrc location=/opt/data/south.mp3 ! mad ! tee sil...
Original commit message from CVS:
Added a goom plugin (goom.sourceforge.net)

to test:
./gst-launch filesrc location=/opt/data/south.mp3 ! mad ! tee silent=true src%d! goom ! colorspace ! xvideosink  tee0.src%d! osssink
2002-02-01 19:28:30 +00:00