From 07c1dceae064b547747a1513ca17225c1c1c3e0e Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Sun, 5 Feb 2006 20:43:49 +0000 Subject: 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) --- gst/goom/graphic.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gst/goom/graphic.c') diff --git a/gst/goom/graphic.c b/gst/goom/graphic.c index 33fff165..c20f987d 100644 --- a/gst/goom/graphic.c +++ b/gst/goom/graphic.c @@ -12,10 +12,3 @@ const Color BLUE = { 0, 0, 0xff }; const Color YELLOW = { 0xff, 0xff, 0x33 }; const Color ORANGE = { 0xff, 0xcc, 0x00 }; const Color VIOLET = { 0x55, 0x00, 0xff }; - -unsigned int SIZE; -unsigned int HEIGHT; -unsigned int WIDTH; - -int *rand_tab = 0; -unsigned short int rand_pos = 0; -- cgit