Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schlaile <peter@schlaile.de>2006-11-10 01:23:09 +0300
committerPeter Schlaile <peter@schlaile.de>2006-11-10 01:23:09 +0300
commit57a2f7a5b569d1d0564c45e33eae1ebad3cd560b (patch)
tree94a9a2e2613423eccfdcbb68b7f929c344e42f5a /source/blender/include
parent708e327b10195d9e711a55253402f7c374529d29 (diff)
== Sequencer ==
This adds support for "generator effect strips", which don't need necessarily an input strip and my version of Matt Ebb's [ #5035 ] 'Solid Color' sequence strip. TODO: With a little bit more tweaking it will be possible to make animated effect plugins and my still unfinished "Bake"-Strip. For the 'Solid Color'-Effect, to quote Matt: This is nice and simple, just provides a solid colour that's set in a colour picker in the properties popup. This is something we've needed for a long time, and I got totally sick of having to make 'black.png' and 'white.png' just to do fades, so I coded this.
Diffstat (limited to 'source/blender/include')
-rw-r--r--source/blender/include/BSE_seqeffects.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/include/BSE_seqeffects.h b/source/blender/include/BSE_seqeffects.h
index a7fd56593e0..0c3eab82e0b 100644
--- a/source/blender/include/BSE_seqeffects.h
+++ b/source/blender/include/BSE_seqeffects.h
@@ -47,6 +47,10 @@ struct SeqEffectHandle {
void (*init)(struct Sequence *seq);
void (*init_plugin)(struct Sequence * seq, const char * fname);
+ /* number of input strips needed
+ (called directly after construction) */
+ int (*num_inputs)();
+
/* load is called first time after readblenfile in
get_sequence_effect automatically */
void (*load)(struct Sequence *seq);
@@ -57,7 +61,10 @@ struct SeqEffectHandle {
/* destruct */
void (*free)(struct Sequence *seq);
- /* returns: 0: no early out, 1: out = ibuf1, 2: out = ibuf2 */
+ /* returns: -1: no input needed,
+ 0: no early out,
+ 1: out = ibuf1,
+ 2: out = ibuf2 */
int (*early_out)(struct Sequence *seq,
float facf0, float facf1);
@@ -78,6 +85,7 @@ struct SeqEffectHandle {
};
struct SeqEffectHandle get_sequence_effect(struct Sequence * seq);
+int get_sequence_effect_num_inputs(int seq_type);
#endif