xine-lib 1.2.13-20230125hg15249
Functions
lines.c File Reference
#include "lines.h"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include "goom_tools.h"
#include "drawmethods.h"
#include "goom_plugin_info.h"

Functions

static unsigned char lighten (unsigned char value, float power)
 
static void lightencolor (unsigned int *col, float power)
 
static void genline (int id, float param, GMUnitPointer *l, int rx, int ry)
 
static unsigned int 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 (PluginInfo *goomInfo, 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 (PluginInfo *plug, GMLine *line, signed short int data[512], Pixel *p)
 

Function Documentation

◆ genline()

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

◆ getcouleur()

static unsigned int getcouleur ( int mode)
static

◆ goom_lines_draw()

void goom_lines_draw ( PluginInfo * plug,
GMLine * line,
signed short int data[512],
Pixel * p )

◆ goom_lines_free()

void goom_lines_free ( GMLine ** l)

References NULL.

Referenced by goom_close().

◆ goom_lines_init()

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

◆ goom_lines_move()

static void goom_lines_move ( GMLine * l)
static

◆ goom_lines_set_res()

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

◆ goom_lines_switch_to()

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

◆ lighten()

static unsigned char lighten ( unsigned char value,
float power )
inlinestatic

Referenced by lightencolor().

◆ lightencolor()

static void lightencolor ( unsigned int * col,
float power )
static

References lighten().

Referenced by goom_lines_draw().