4 #include "splaytree_types.h"
5 #include "expr_types.h"
6 #include "per_pixel_eqn_types.h"
15 typedef struct PRESET_T {
17 char name[MAX_TOKEN_SIZE]; /* preset name as parsed in file */
18 char file_path[MAX_PATH_SIZE]; /* Points to the preset file name */
20 int per_pixel_eqn_string_index;
21 int per_frame_eqn_string_index;
22 int per_frame_init_eqn_string_index;
24 int per_pixel_flag[NUM_OPS];
25 char per_pixel_eqn_string_buffer[STRING_BUFFER_SIZE];
26 char per_frame_eqn_string_buffer[STRING_BUFFER_SIZE];
27 char per_frame_init_eqn_string_buffer[STRING_BUFFER_SIZE];
29 /* Data structures that contain equation and initial condition information */
30 splaytree_t * per_frame_eqn_tree; /* per frame equations */
31 splaytree_t * per_pixel_eqn_tree; /* per pixel equation tree */
32 gen_expr_t * per_pixel_eqn_array[NUM_OPS]; /* per pixel equation array */
33 splaytree_t * per_frame_init_eqn_tree; /* per frame initial equations */
34 splaytree_t * init_cond_tree; /* initial conditions */
35 splaytree_t * user_param_tree; /* user parameter splay tree */
37 splaytree_t * custom_wave_tree; /* custom wave forms for this preset */
38 splaytree_t * custom_shape_tree; /* custom shapes for this preset */