~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/makesdna/DNA_sequence_types.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * blenlib/DNA_sequence_types.h (mar-2001 nzc)
3
 
 *      
4
 
 * $Id: DNA_sequence_types.h,v 1.7 2003/07/13 20:16:49 larstiq Exp $ 
 
3
 *
 
4
 * $Id: DNA_sequence_types.h,v 1.16 2005/03/24 09:37:06 ton Exp $
5
5
 *
6
6
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
7
7
 *
42
42
struct Ipo;
43
43
struct Scene;
44
44
 
 
45
/* strlens; 80= FILE_MAXFILE, 160= FILE_MAXDIR */
 
46
 
45
47
typedef struct StripElem {
46
 
        char name[40];
 
48
        char name[80];
47
49
        struct ImBuf *ibuf;
48
50
        struct StripElem *se1, *se2, *se3;
49
51
        short ok, nr;
50
52
        int pad;
51
 
                
 
53
 
52
54
} StripElem;
53
55
 
54
56
typedef struct Strip {
55
57
        struct Strip *next, *prev;
56
58
        short rt, len, us, done;
57
59
        StripElem *stripdata;
58
 
        char dir[80];
 
60
        char dir[160];
59
61
        short orx, ory;
60
62
        int pad;
61
 
                
 
63
 
62
64
} Strip;
63
65
 
64
66
 
65
67
typedef struct PluginSeq {
66
 
        char name[80];
 
68
        char name[256];
67
69
        void *handle;
68
 
        
 
70
 
69
71
        char *pname;
70
 
        
 
72
 
71
73
        int vars, version;
72
74
 
73
75
        void *varstr;
74
76
        float *cfra;
75
 
        
 
77
 
76
78
        float data[32];
77
79
 
78
80
        void (*doit)(void);
88
90
        struct Sequence *next, *prev, *newseq;
89
91
        void *lib;
90
92
        char name[24];
91
 
        
 
93
 
92
94
        short flag, type;
93
95
        int len;
94
96
        int start, startofs, endofs;
97
99
        int startdisp, enddisp;
98
100
        float mul, handsize;
99
101
        int sfra;
100
 
        
 
102
 
101
103
        Strip *strip;
102
104
        StripElem *curelem;
103
 
        
 
105
 
104
106
        struct Ipo *ipo;
105
107
        struct Scene *scene;
106
108
        struct anim *anim;
107
109
        float facf0, facf1;
108
 
        
 
110
 
109
111
        PluginSeq *plugin;
110
112
 
111
113
        /* pointers for effects: */
112
114
        struct Sequence *seq1, *seq2, *seq3;
113
 
        
 
115
 
114
116
        /* meta */
115
117
        ListBase seqbase;
116
 
        
 
118
 
117
119
        struct bSound *sound;   /* the linked "bSound" object */
118
120
        float level, pan;               /* level in dB (0=full), pan -1..1 */
119
121
        int curpos;                             /* last sample position in audio_fill() */
120
122
        int pad;
121
 
        
 
123
 
 
124
        void *effectdata;                       /* Struct pointer for effect settings */
 
125
 
122
126
} Sequence;
123
 
#
124
 
#
 
127
 
125
128
typedef struct MetaStack {
126
129
        struct MetaStack *next, *prev;
127
130
        ListBase *oldbasep;
136
139
        int pad;
137
140
} Editing;
138
141
 
 
142
/* ************* Effect Variable Structs ********* */
 
143
typedef struct WipeVars {
 
144
        float edgeWidth,angle;
 
145
        short forward, wipetype;
 
146
} WipeVars;
 
147
 
 
148
typedef struct GlowVars {       
 
149
        float fMini;    /*      Minimum intensity to trigger a glow */
 
150
        float fClamp;
 
151
        float fBoost;   /*      Amount to multiply glow intensity */
 
152
    float dDist;        /*      Radius of glow blurring */
 
153
        int     dQuality;
 
154
        int     bNoComp;        /*      SHOW/HIDE glow buffer */
 
155
} GlowVars;
 
156
 
 
157
 
139
158
/* ***************** SEQUENCE ****************** */
140
159
 
141
160
/* seq->flag */
144
163
#define SEQ_OVERLAP             8
145
164
#define SEQ_FILTERY             16
146
165
#define SEQ_MUTE                32
 
166
#define SEQ_MAKE_PREMUL 64
147
167
 
148
168
/* seq->type WATCH IT: BIT 3!!! */
149
169
#define SEQ_IMAGE               0
162
182
#define SEQ_MUL                 14
163
183
#define SEQ_OVERDROP    15
164
184
#define SEQ_PLUGIN              24
 
185
#define SEQ_WIPE                25
 
186
#define SEQ_GLOW                26
165
187
 
166
188
#endif
167
189