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
This commit is contained in:
parent
4e795c5fc5
commit
3b3bd1687c
@ -1,3 +1,9 @@
|
|||||||
|
2008-04-17 Jan Schmidt <Jan.Schmidt@sun.com>
|
||||||
|
|
||||||
|
* gst/goom/convolve_fx.c: (convolve_apply):
|
||||||
|
Don't ever draw the GOOM logo.
|
||||||
|
Fixes: #528615
|
||||||
|
|
||||||
2008-04-17 Edward Hervey <edward.hervey@collabora.co.uk>
|
2008-04-17 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||||
|
|
||||||
* ext/cdio/gstcdiocddasrc.c:
|
* ext/cdio/gstcdiocddasrc.c:
|
||||||
|
@ -9,6 +9,9 @@
|
|||||||
//#define CONV_MOTIF_W 32
|
//#define CONV_MOTIF_W 32
|
||||||
//#define CONV_MOTIF_WMASK 0x1f
|
//#define CONV_MOTIF_WMASK 0x1f
|
||||||
|
|
||||||
|
/* Define if you like the wacky GOOM logo: */
|
||||||
|
#undef DRAW_MOTIF
|
||||||
|
|
||||||
#define CONV_MOTIF_W 128
|
#define CONV_MOTIF_W 128
|
||||||
#define CONV_MOTIF_WMASK 0x7f
|
#define CONV_MOTIF_WMASK 0x7f
|
||||||
|
|
||||||
@ -119,6 +122,7 @@ convolve_free (VisualFX * _this)
|
|||||||
free (_this->fx_data);
|
free (_this->fx_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DRAW_MOTIF
|
||||||
static void
|
static void
|
||||||
create_output_with_brightness (VisualFX * _this, Pixel * src, Pixel * dest,
|
create_output_with_brightness (VisualFX * _this, Pixel * src, Pixel * dest,
|
||||||
PluginInfo * info, int iff)
|
PluginInfo * info, int iff)
|
||||||
@ -240,7 +244,7 @@ create_output_with_brightness (VisualFX * _this, Pixel * src, Pixel * dest,
|
|||||||
|
|
||||||
compute_tables (_this, info);
|
compute_tables (_this, info);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*#include <stdint.h>
|
/*#include <stdint.h>
|
||||||
|
|
||||||
@ -302,11 +306,15 @@ convolve_apply (VisualFX * _this, Pixel * src, Pixel * dest, PluginInfo * info)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef DRAW_MOTIF
|
||||||
if ((ff > 0.98f) && (ff < 1.02f))
|
if ((ff > 0.98f) && (ff < 1.02f))
|
||||||
memcpy (dest, src, info->screen.size * sizeof (Pixel));
|
memcpy (dest, src, info->screen.size * sizeof (Pixel));
|
||||||
else
|
else
|
||||||
create_output_with_brightness (_this, src, dest, info, iff);
|
create_output_with_brightness (_this, src, dest, info, iff);
|
||||||
|
#else
|
||||||
|
memcpy (dest, src, info->screen.size * sizeof (Pixel));
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Benching suite...
|
// Benching suite...
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user