MythTV master
|
#include <algorithm>
#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 |
|
static |
Definition at line 44 of file lines.cpp.
Referenced by goom_lines_init(), goom_lines_set_res(), and goom_lines_switch_to().
|
static |
Definition at line 73 of file lines.cpp.
Referenced by goom_lines_init(), and goom_lines_switch_to().
void goom_lines_draw | ( | GMLine * | line, |
const GoomSingleData & | data, | ||
unsigned int * | p | ||
) |
Definition at line 200 of file lines.cpp.
Referenced by goom_update().
void goom_lines_free | ( | GMLine ** | l | ) |
Definition at line 191 of file lines.cpp.
Referenced by goom_close().
GMLine * goom_lines_init | ( | int | rx, |
int | ry, | ||
int | IDsrc, | ||
float | paramS, | ||
int | coulS, | ||
int | IDdest, | ||
float | paramD, | ||
int | coulD | ||
) |
Definition at line 154 of file lines.cpp.
Referenced by goom_init().
|
static |
Definition at line 109 of file lines.cpp.
Referenced by goom_lines_draw().
void goom_lines_set_res | ( | GMLine * | gml, |
int | rx, | ||
int | ry | ||
) |
Definition at line 95 of file lines.cpp.
Referenced by goom_set_resolution().
void goom_lines_switch_to | ( | GMLine * | gml, |
int | IDdest, | ||
float | param, | ||
float | amplitude, | ||
int | col | ||
) |
Definition at line 142 of file lines.cpp.
Referenced by goom_lines_init(), and goom_update().
|
inlinestatic |
Definition at line 18 of file lines.cpp.
Referenced by lightencolor().
|
static |
Definition at line 31 of file lines.cpp.
Referenced by goom_lines_draw().
unsigned int c_resoly |
Definition at line 15 of file lines.cpp.
Referenced by calculatePXandPY(), getPixelRGB(), getPixelRGB_(), pointFilter(), and setPixelRGB_().
|
extern |
Definition at line 56 of file goom_core.cpp.
Referenced by choose_a_goom_line(), goom_init(), goom_set_resolution(), and goom_update().