lines.c File Reference

Go to the source code of this file.

Functions

static unsigned char lighten (unsigned char value, float power)
static void lightencolor (int *col, float power)
static void genline (int id, float param, GMUnitPointer *l, int rx, int ry)
static guint32 getcouleur (int mode)
void goom_lines_set_res (GMLine *gml, int rx, int ry)
static void goom_lines_move (GMLine *l)
void goom_lines_switch_to (GMLine *gml, int IDdest, float param, float amplitude, int col)
GMLinegoom_lines_init (int rx, int ry, int IDsrc, float paramS, int coulS, int IDdest, float paramD, int coulD)
void goom_lines_free (GMLine **l)
void goom_lines_draw (GMLine *line, gint16 data[512], unsigned int *p)

Variables

unsigned int resolx
unsigned int c_resoly


Function Documentation

static unsigned char lighten ( unsigned char  value,
float  power 
) [inline, static]

Definition at line 15 of file lines.c.

Referenced by lightencolor().

static void lightencolor ( int *  col,
float  power 
) [static]

Definition at line 34 of file lines.c.

Referenced by goom_lines_draw(), and tentacle_update().

static void genline ( int  id,
float  param,
GMUnitPointer l,
int  rx,
int  ry 
) [static]

Definition at line 49 of file lines.c.

Referenced by goom_lines_init(), goom_lines_set_res(), and goom_lines_switch_to().

static guint32 getcouleur ( int  mode  )  [static]

Definition at line 82 of file lines.c.

Referenced by goom_lines_init(), and goom_lines_switch_to().

void goom_lines_set_res ( GMLine gml,
int  rx,
int  ry 
)

Definition at line 104 of file lines.c.

Referenced by goom_set_resolution().

static void goom_lines_move ( GMLine l  )  [static]

Definition at line 118 of file lines.c.

Referenced by goom_lines_draw().

void goom_lines_switch_to ( GMLine gml,
int  IDdest,
float  param,
float  amplitude,
int  col 
)

Definition at line 156 of file lines.c.

Referenced by goom_lines_init(), and goom_update().

GMLine* goom_lines_init ( int  rx,
int  ry,
int  IDsrc,
float  paramS,
int  coulS,
int  IDdest,
float  paramD,
int  coulD 
)

Definition at line 168 of file lines.c.

Referenced by goom_init().

void goom_lines_free ( GMLine **  l  ) 

Definition at line 205 of file lines.c.

Referenced by goom_close().

void goom_lines_draw ( GMLine line,
gint16  data[512],
unsigned int *  p 
)

Definition at line 214 of file lines.c.

Referenced by goom_update().


Variable Documentation

unsigned int resolx

Definition at line 65 of file goom_core.c.

unsigned int c_resoly

Definition at line 65 of file goom_core.c.


Generated on Sat Dec 18 05:15:53 2010 for MythTV by  doxygen 1.5.5