annotate src/paranormal/builtins.c @ 941:fcbf649fefc4 trunk

[svn] - fix last warnings
author nenolod
date Thu, 12 Apr 2007 11:29:55 -0700
parents d517fc608e89
children a7c98f237b03
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
1 #ifdef HAVE_CONFIG_H
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
2 # include <config.h>
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
3 #endif
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
4
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
5 #include "actuators.h"
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
6
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
7 #define DECLARE_ACTUATOR(a) extern struct pn_actuator_desc builtin_##a;
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
8
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
9 /* **************** containers **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
10
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
11 DECLARE_ACTUATOR (container_simple);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
12 DECLARE_ACTUATOR (container_once);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
13 DECLARE_ACTUATOR (container_cycle);
171
9e51ffaca177 [svn] - add OnBeat container. children are only iterated on a detected beat.
nenolod
parents: 149
diff changeset
14 DECLARE_ACTUATOR (container_onbeat);
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
15
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
16 /* **************** cmaps **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
17
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
18 DECLARE_ACTUATOR (cmap_bwgradient);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
19 DECLARE_ACTUATOR (cmap_gradient);
338
d517fc608e89 [svn] - some more presets
nenolod
parents: 336
diff changeset
20 DECLARE_ACTUATOR (cmap_dynamic);
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
21
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
22 /* **************** freq **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
23 DECLARE_ACTUATOR (freq_dots);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
24 DECLARE_ACTUATOR (freq_drops);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
25
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
26 /* **************** general **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
27 DECLARE_ACTUATOR (general_fade);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
28 DECLARE_ACTUATOR (general_blur);
174
3d98be3d74c2 [svn] - mosaic effect (in progress, custom size will be in the next commit)
nenolod
parents: 171
diff changeset
29 DECLARE_ACTUATOR (general_mosaic);
178
62b4e23cb333 [svn] - add missing declaration
nenolod
parents: 177
diff changeset
30 DECLARE_ACTUATOR (general_clear);
179
b44ab11a64c2 [svn] - NOOP instruction. What this does is basically takes a slot in a
nenolod
parents: 178
diff changeset
31 DECLARE_ACTUATOR (general_noop);
181
156d6c875ef0 [svn] - add value invert filter
nenolod
parents: 179
diff changeset
32 DECLARE_ACTUATOR (general_invert);
182
6048abdac7d1 [svn] - add value replace filter, replaces a range of values with a different value
nenolod
parents: 181
diff changeset
33 DECLARE_ACTUATOR (general_replace);
271
b166ce84af57 [svn] - add swap surface
nenolod
parents: 186
diff changeset
34 DECLARE_ACTUATOR (general_swap);
272
d8cefe8ce6e6 [svn] - add copy surface
nenolod
parents: 271
diff changeset
35 DECLARE_ACTUATOR (general_copy);
278
8f4dc0d63925 [svn] - add surface flip
nenolod
parents: 273
diff changeset
36 DECLARE_ACTUATOR (general_flip);
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
37
186
49f532942eec [svn] - add floating particles.
nenolod
parents: 182
diff changeset
38 /* **************** misc **************** */
49f532942eec [svn] - add floating particles.
nenolod
parents: 182
diff changeset
39 DECLARE_ACTUATOR (misc_floater);
49f532942eec [svn] - add floating particles.
nenolod
parents: 182
diff changeset
40
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
41 /* **************** wave **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
42 DECLARE_ACTUATOR (wave_horizontal);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
43 DECLARE_ACTUATOR (wave_vertical);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
44 DECLARE_ACTUATOR (wave_normalize);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
45 DECLARE_ACTUATOR (wave_smooth);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
46 DECLARE_ACTUATOR (wave_radial);
293
4f5983e02cbd [svn] - hook up scope
nenolod
parents: 278
diff changeset
47 DECLARE_ACTUATOR (wave_scope);
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
48
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
49 /* **************** xform **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
50 DECLARE_ACTUATOR (xform_spin);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
51 DECLARE_ACTUATOR (xform_ripple);
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
52 DECLARE_ACTUATOR (xform_bump_spin);
273
fac0b72ee0de [svn] - add halfrender transform, and a new preset which demonstrates what it can do.
nenolod
parents: 272
diff changeset
53 DECLARE_ACTUATOR (xform_halfrender);
333
afc61c0efc05 [svn] - add Trans / Movement implementation
nenolod
parents: 293
diff changeset
54 DECLARE_ACTUATOR (xform_movement);
336
8554beb862c0 [svn] - implement AVS-like Trans / Dynamic Movement
nenolod
parents: 333
diff changeset
55 DECLARE_ACTUATOR (xform_dynmovement);
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
56
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
57 /* **************** builtin_table **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
58 struct pn_actuator_desc *builtin_table[] =
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
59 {
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
60 /* **************** containers **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
61 &builtin_container_simple,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
62 &builtin_container_once,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
63 &builtin_container_cycle,
171
9e51ffaca177 [svn] - add OnBeat container. children are only iterated on a detected beat.
nenolod
parents: 149
diff changeset
64 &builtin_container_onbeat,
9e51ffaca177 [svn] - add OnBeat container. children are only iterated on a detected beat.
nenolod
parents: 149
diff changeset
65
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
66 /* **************** cmaps **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
67 &builtin_cmap_bwgradient,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
68 &builtin_cmap_gradient,
338
d517fc608e89 [svn] - some more presets
nenolod
parents: 336
diff changeset
69 &builtin_cmap_dynamic,
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
70 /* **************** freq **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
71 &builtin_freq_dots,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
72 &builtin_freq_drops,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
73 /* **************** general **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
74 &builtin_general_fade,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
75 &builtin_general_blur,
174
3d98be3d74c2 [svn] - mosaic effect (in progress, custom size will be in the next commit)
nenolod
parents: 171
diff changeset
76 &builtin_general_mosaic,
177
6880934d11bf [svn] - add "Clear Surface" instruction.
nenolod
parents: 174
diff changeset
77 &builtin_general_clear,
179
b44ab11a64c2 [svn] - NOOP instruction. What this does is basically takes a slot in a
nenolod
parents: 178
diff changeset
78 &builtin_general_noop,
181
156d6c875ef0 [svn] - add value invert filter
nenolod
parents: 179
diff changeset
79 &builtin_general_invert,
182
6048abdac7d1 [svn] - add value replace filter, replaces a range of values with a different value
nenolod
parents: 181
diff changeset
80 &builtin_general_replace,
271
b166ce84af57 [svn] - add swap surface
nenolod
parents: 186
diff changeset
81 &builtin_general_swap,
272
d8cefe8ce6e6 [svn] - add copy surface
nenolod
parents: 271
diff changeset
82 &builtin_general_copy,
278
8f4dc0d63925 [svn] - add surface flip
nenolod
parents: 273
diff changeset
83 &builtin_general_flip,
186
49f532942eec [svn] - add floating particles.
nenolod
parents: 182
diff changeset
84 /* **************** misc **************** */
49f532942eec [svn] - add floating particles.
nenolod
parents: 182
diff changeset
85 &builtin_misc_floater,
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
86 /* **************** wave **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
87 &builtin_wave_horizontal,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
88 &builtin_wave_vertical,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
89 &builtin_wave_normalize,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
90 &builtin_wave_smooth,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
91 &builtin_wave_radial,
293
4f5983e02cbd [svn] - hook up scope
nenolod
parents: 278
diff changeset
92 &builtin_wave_scope,
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
93 /* **************** xform **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
94 &builtin_xform_spin,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
95 &builtin_xform_ripple,
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
96 &builtin_xform_bump_spin,
273
fac0b72ee0de [svn] - add halfrender transform, and a new preset which demonstrates what it can do.
nenolod
parents: 272
diff changeset
97 &builtin_xform_halfrender,
333
afc61c0efc05 [svn] - add Trans / Movement implementation
nenolod
parents: 293
diff changeset
98 &builtin_xform_movement,
336
8554beb862c0 [svn] - implement AVS-like Trans / Dynamic Movement
nenolod
parents: 333
diff changeset
99 &builtin_xform_dynmovement,
149
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
100 /* **************** the end! **************** */
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
101 NULL
fd9c0a5871ac [svn] - new and IMPROVED paranormal visualization studio
nenolod
parents:
diff changeset
102 };