preset_types.h
资源名称:vlc-1.0.5.zip [点击查看]
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:1k
源码类别:
midi
开发平台:
Unix_Linux
- #ifndef PRESET_TYPES_H
- #define PRESET_TYPES_H
- #include "splaytree_types.h"
- #include "expr_types.h"
- #include "per_pixel_eqn_types.h"
- typedef enum {
- ALPHA_NEXT,
- ALPHA_PREVIOUS,
- RANDOM_NEXT,
- RESTART_ACTIVE,
- } switch_mode_t;
- typedef struct PRESET_T {
- char name[MAX_TOKEN_SIZE]; /* preset name as parsed in file */
- char file_path[MAX_PATH_SIZE]; /* Points to the preset file name */
- int per_pixel_eqn_string_index;
- int per_frame_eqn_string_index;
- int per_frame_init_eqn_string_index;
- int per_pixel_flag[NUM_OPS];
- char per_pixel_eqn_string_buffer[STRING_BUFFER_SIZE];
- char per_frame_eqn_string_buffer[STRING_BUFFER_SIZE];
- char per_frame_init_eqn_string_buffer[STRING_BUFFER_SIZE];
- /* Data structures that contain equation and initial condition information */
- splaytree_t * per_frame_eqn_tree; /* per frame equations */
- splaytree_t * per_pixel_eqn_tree; /* per pixel equation tree */
- gen_expr_t * per_pixel_eqn_array[NUM_OPS]; /* per pixel equation array */
- splaytree_t * per_frame_init_eqn_tree; /* per frame initial equations */
- splaytree_t * init_cond_tree; /* initial conditions */
- splaytree_t * user_param_tree; /* user parameter splay tree */
- splaytree_t * custom_wave_tree; /* custom wave forms for this preset */
- splaytree_t * custom_shape_tree; /* custom shapes for this preset */
- } preset_t;
- #endif