xine-lib  1.2.9
goom_filters.h
Go to the documentation of this file.
1 #ifndef FILTERS_H
2 #define FILTERS_H
3 
4 #include "goom_config.h"
5 #include "goom_typedefs.h"
6 #include "goom_visual_fx.h"
7 #include "goom_graphic.h"
8 
10 
12 {
13  int vitesse; /* 128 = vitesse nule... * * 256 = en arriere
14  * hyper vite.. * * 0 = en avant hype vite. */
15  unsigned char pertedec;
16  unsigned char sqrtperte;
17  int middleX, middleY; /* milieu de l'effet */
18  char reverse; /* inverse la vitesse */
19  char mode; /* type d'effet à appliquer (cf les #define) */
21  int hPlaneEffect; /* deviation horitontale */
22  int vPlaneEffect; /* deviation verticale */
24  int waveEffect; /* applique une "surcouche" de wave effect */
25  int hypercosEffect; /* applique une "surcouche de hypercos effect */
26 
27  char noisify; /* ajoute un bruit a la transformation */
28 };
29 
30 #define NORMAL_MODE 0
31 #define WAVE_MODE 1
32 #define CRYSTAL_BALL_MODE 2
33 #define SCRUNCH_MODE 3
34 #define AMULETTE_MODE 4
35 #define WATER_MODE 5
36 #define HYPERCOS1_MODE 6
37 #define HYPERCOS2_MODE 7
38 #define YONLY_MODE 8
39 #define SPEEDWAY_MODE 9
40 
41 void pointFilter (PluginInfo *goomInfo, Pixel * pix1, Color c,
42  float t1, float t2, float t3, float t4, guint32 cycle);
43 
44 /* filtre de zoom :
45  * le contenu de pix1 est copie dans pix2.
46  * zf : si non NULL, configure l'effet.
47  * resx,resy : taille des buffers.
48  */
49 void zoomFilterFastRGB (PluginInfo *goomInfo, Pixel * pix1, Pixel * pix2, ZoomFilterData * zf, guint32 resx,
50  guint32 resy, int switchIncr, float switchMult);
51 
52 #endif
unsigned char sqrtperte
Definition: goom_filters.h:16
int vPlaneEffect
Definition: goom_filters.h:22
char noisify
Definition: goom_filters.h:27
int hPlaneEffect
Definition: goom_filters.h:21
Definition: goom_visual_fx.h:17
Definition: goom_graphic.h:6
int hypercosEffect
Definition: goom_filters.h:25
unsigned char pertedec
Definition: goom_filters.h:15
Definition: goom_filters.h:11
void zoomFilterFastRGB(PluginInfo *goomInfo, Pixel *pix1, Pixel *pix2, ZoomFilterData *zf, unsigned int resx, unsigned int resy, int switchIncr, float switchMult)
Definition: filters.c:528
Definition: goom_graphic.h:55
VisualFX zoomFilterVisualFXWrapper_create(void)
Definition: filters.c:753
int waveEffect
Definition: goom_filters.h:24
#define guint32
Definition: goom_config.h:28
Definition: goom_plugin_info.h:75
char mode
Definition: goom_filters.h:19
int vitesse
Definition: goom_filters.h:13
int middleX
Definition: goom_filters.h:17
int middleY
Definition: goom_filters.h:17
void pointFilter(PluginInfo *goomInfo, Pixel *pix1, Color c, float t1, float t2, float t3, float t4, unsigned int cycle)
Definition: filters.c:765
char reverse
Definition: goom_filters.h:18