MythTV
master
|
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include "lines.h"
#include "drawmethods.h"
#include "goom_core.h"
#include "goom_tools.h"
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) |
GMLine * | goom_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, const GoomSingleData &data, unsigned int *p) |
Variables | |
unsigned int | resolx |
unsigned int | c_resoly |
|
inlinestatic |
Definition at line 17 of file lines.cpp.
Referenced by lightencolor().
|
static |
Definition at line 32 of file lines.cpp.
Referenced by goom_lines_draw().
|
static |
Definition at line 45 of file lines.cpp.
Referenced by goom_lines_init(), goom_lines_set_res(), and goom_lines_switch_to().
|
static |
Definition at line 74 of file lines.cpp.
Referenced by goom_lines_init(), and goom_lines_switch_to().
void goom_lines_set_res | ( | GMLine * | gml, |
int | rx, | ||
int | ry | ||
) |
Definition at line 96 of file lines.cpp.
Referenced by goom_set_resolution().
|
static |
Definition at line 110 of file lines.cpp.
Referenced by goom_lines_draw().
void goom_lines_switch_to | ( | GMLine * | gml, |
int | IDdest, | ||
float | param, | ||
float | amplitude, | ||
int | col | ||
) |
Definition at line 143 of file lines.cpp.
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 155 of file lines.cpp.
Referenced by goom_init().
void goom_lines_free | ( | GMLine ** | l | ) |
Definition at line 192 of file lines.cpp.
Referenced by goom_close().
void goom_lines_draw | ( | GMLine * | line, |
const GoomSingleData & | data, | ||
unsigned int * | p | ||
) |
Definition at line 201 of file lines.cpp.
Referenced by goom_update().
unsigned int resolx |
Definition at line 56 of file goom_core.cpp.
Referenced by choose_a_goom_line(), goom_init(), goom_set_resolution(), and goom_update().
unsigned int c_resoly |
Definition at line 14 of file lines.cpp.
Referenced by calculatePXandPY(), getPixelRGB(), getPixelRGB_(), pointFilter(), and setPixelRGB_().