From 3b3bd1687cd2e44de49f20b014292c4a4f0580b0 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 17 Apr 2008 18:08:53 +0000 Subject: gst/goom/convolve_fx.c: Don't ever draw the GOOM logo. Original commit message from CVS: * gst/goom/convolve_fx.c: (convolve_apply): Don't ever draw the GOOM logo. Fixes: #528615 --- gst/goom/convolve_fx.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'gst/goom') diff --git a/gst/goom/convolve_fx.c b/gst/goom/convolve_fx.c index 0e4666dd..d1b06d84 100644 --- a/gst/goom/convolve_fx.c +++ b/gst/goom/convolve_fx.c @@ -9,6 +9,9 @@ //#define CONV_MOTIF_W 32 //#define CONV_MOTIF_WMASK 0x1f +/* Define if you like the wacky GOOM logo: */ +#undef DRAW_MOTIF + #define CONV_MOTIF_W 128 #define CONV_MOTIF_WMASK 0x7f @@ -119,6 +122,7 @@ convolve_free (VisualFX * _this) free (_this->fx_data); } +#ifdef DRAW_MOTIF static void create_output_with_brightness (VisualFX * _this, Pixel * src, Pixel * dest, PluginInfo * info, int iff) @@ -240,7 +244,7 @@ create_output_with_brightness (VisualFX * _this, Pixel * src, Pixel * dest, compute_tables (_this, info); } - +#endif /*#include @@ -302,11 +306,15 @@ convolve_apply (VisualFX * _this, Pixel * src, Pixel * dest, PluginInfo * info) break; } } - +#ifdef DRAW_MOTIF if ((ff > 0.98f) && (ff < 1.02f)) memcpy (dest, src, info->screen.size * sizeof (Pixel)); else create_output_with_brightness (_this, src, dest, info, iff); +#else + memcpy (dest, src, info->screen.size * sizeof (Pixel)); +#endif + /* // Benching suite... { -- cgit