xine-lib  1.2.10
goom.h
Go to the documentation of this file.
1 #ifndef _GOOMCORE_H
2 #define _GOOMCORE_H
3 
4 #include "goom_config.h"
5 #include "goom_plugin_info.h"
6 #include "goomsl.h"
7 
8 #define NB_FX 10
9 
10 PluginInfo *goom_init (guint32 resx, guint32 resy);
11 void goom_set_resolution (PluginInfo *goomInfo, guint32 resx, guint32 resy);
12 
13 /*
14  * forceMode == 0 : do nothing
15  * forceMode == -1 : lock the FX
16  * forceMode == 1..NB_FX : force a switch to FX n# forceMode
17  *
18  * songTitle = pointer to the title of the song...
19  * - NULL if it is not the start of the song
20  * - only have a value at the start of the song
21  */
22 guint32 *goom_update (PluginInfo *goomInfo, gint16 data[2][512], int forceMode, float fps,
23  char *songTitle, char *message);
24 
25 /* returns 0 if the buffer wasn't accepted */
26 int goom_set_screenbuffer(PluginInfo *goomInfo, void *buffer);
27 
28 void goom_close (PluginInfo *goomInfo);
29 
30 #endif
goom_close
void goom_close(PluginInfo *goomInfo)
Definition: goom_core.c:759
goom_plugin_info.h
goom_init
PluginInfo * goom_init(unsigned int resx, unsigned int resy)
Definition: goom_core.c:64
goom_update
unsigned int * goom_update(PluginInfo *goomInfo, signed short int data[2][512], int forceMode, float fps, char *songTitle, char *message)
Definition: goom_core.c:151
goomsl.h
gint16
#define gint16
Definition: goom_config.h:30
the_font
static const struct @34 the_font
width
unsigned int width
Definition: gfontrle.c:4
goom_set_screenbuffer
int goom_set_screenbuffer(PluginInfo *goomInfo, void *buffer)
Definition: goom_core.c:139
_PLUGIN_INFO
Definition: goom_plugin_info.h:75
height
unsigned int height
Definition: gfontrle.c:5
guint32
#define guint32
Definition: goom_config.h:28
rle_pixel
unsigned char rle_pixel[49725]
Definition: gfontrle.c:8
goom_config.h
goom_set_resolution
void goom_set_resolution(PluginInfo *goomInfo, unsigned int resx, unsigned int resy)
Definition: goom_core.c:119
rle_size
unsigned int rle_size
Definition: gfontrle.c:7
bytes_per_pixel
unsigned int bytes_per_pixel
Definition: gfontrle.c:6