summaryrefslogtreecommitdiffstats
path: root/gst/goom/lines.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-03-19 04:10:05 +0000
committerAndy Wingo <wingo@pobox.com>2002-03-19 04:10:05 +0000
commitd6258153e0aa7d3fe89a31acd3e57b9c13de4464 (patch)
tree92fd06f31c13bf0eee35395bfcef45ba6166c0d8 /gst/goom/lines.c
parent0f1d7549324aa62357580b1b35e61bec6b6482ab (diff)
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.
Diffstat (limited to 'gst/goom/lines.c')
-rw-r--r--gst/goom/lines.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/goom/lines.c b/gst/goom/lines.c
index fbab8b1c..cadf9203 100644
--- a/gst/goom/lines.c
+++ b/gst/goom/lines.c
@@ -27,14 +27,14 @@ void goom_lines(gint16 data [2][512], unsigned int ID,unsigned int* p, guint32 p
switch (ID)
{
- case 0: // Horizontal stereo lines
+ case 0: /* Horizontal stereo lines */
{
color1 = 0x0000AA00;
color2 = 0x00AA0000;
break;
}
- case 1: // Stereo circles
+ case 1: /* Stereo circles */
{
color1 = 0x00AA33DD;
color2 = 0x00AA33DD;
@@ -55,7 +55,7 @@ void goom_lines(gint16 data [2][512], unsigned int ID,unsigned int* p, guint32 p
switch (ID)
{
- case 0: // Horizontal stereo lines
+ case 0: /* Horizontal stereo lines */
{
unsigned int i;
for (i=0;i<512;i++)
@@ -71,7 +71,7 @@ void goom_lines(gint16 data [2][512], unsigned int ID,unsigned int* p, guint32 p
break;
}
- case 1: // Stereo circles
+ case 1: /* Stereo circles */
{
float z;
unsigned int monX = resolx/2;
@@ -79,7 +79,7 @@ void goom_lines(gint16 data [2][512], unsigned int ID,unsigned int* p, guint32 p
float monY2 = resoly/2;
for (z=0;z<6.2832f; z+=1.0f/monY)
{
- // float offset1 = 128+data[1][(unsigned int)(z*81.33f)])/200000;
+ /* float offset1 = 128+data[1][(unsigned int)(z*81.33f)])/200000; */
p[ monX + (unsigned int)( (monY + ((float)resoly) * (128+data[1][(unsigned int)(z*81.33f)])/200000) * cos (z) + resolx * (unsigned int)( monY2 + (monY + ((float)resoly)*(128+data[1][(unsigned int)(z*81.33f)])/400000) * sin (z)))] = color1;
p[ monX + (unsigned int)((monY - ((float)resoly) * (128+data[0][(unsigned int)(z*81.33f)])/200000) * cos (z) + resolx * (unsigned int)( monY2 + (monY - ((float)resoly)*(128+data[0][(unsigned int)(z*81.33f)])/400000) * sin (z)))] = color2;
}