]> git.sesse.net Git - vlc/blob - modules/visualization/galaktos/per_pixel_eqn_types.h
a5d4021f8761135f08887783c889e85bd6fc6343
[vlc] / modules / visualization / galaktos / per_pixel_eqn_types.h
1 #ifndef PER_PIXEL_EQN_TYPES_H
2 #define PER_PIXEL_EQN_TYPES_H
3 /* This is sort of ugly, but it is also the fastest way to access the per pixel equations */
4 #include "common.h"
5 #include "expr_types.h"
6
7 typedef struct PER_PIXEL_EQN_T {
8   int index; /* used for splay tree ordering. */
9   int flags; /* primarily to specify if this variable is user-defined */
10   param_t * param; 
11   gen_expr_t * gen_expr;        
12 } per_pixel_eqn_t;
13
14
15 #define ZOOM_OP 0
16 #define ZOOMEXP_OP 1
17 #define ROT_OP 2
18 #define CX_OP 3
19 #define CY_OP 4
20 #define SX_OP 5
21 #define SY_OP  6
22 #define DX_OP 7
23 #define DY_OP 8
24 #define WARP_OP 9
25 #define NUM_OPS 10 /* obviously, this number is dependent on the number of existing per pixel operations */
26 #endif