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:
authorJohnny Matthews <johnny.matthews@gmail.com>2004-07-06 23:07:13 +0400
committerJohnny Matthews <johnny.matthews@gmail.com>2004-07-06 23:07:13 +0400
commit9c94728d893655d378004a5c39d9c5b51da07259 (patch)
treee99906bd787209afa26397a6c37b676baf052e95 /source/blender/include/BSE_sequence.h
parent5b09bb1eb173e07c21b33af9df19df072db11bde (diff)
This is the initial commit of a revamp of the sweep effects that goofster committed that was originally a sequence plugin from sirdude.
The changes from the original include the ability to add a blurred edge with a selectable width to the wipe and to rotate the effect. Has these sweep types included already -single -double -iris These still need to be coded -box -cross -clock
Diffstat (limited to 'source/blender/include/BSE_sequence.h')
-rw-r--r--source/blender/include/BSE_sequence.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/source/blender/include/BSE_sequence.h b/source/blender/include/BSE_sequence.h
index f4d7c99ec02..c8bbedd2fbb 100644
--- a/source/blender/include/BSE_sequence.h
+++ b/source/blender/include/BSE_sequence.h
@@ -96,15 +96,10 @@ void do_mul_effect(float facf0, float facf1,
unsigned int *rect1, unsigned int *rect2,
unsigned int *out);
/* Sweep effect */
-enum {DO_LEFT_RIGHT, DO_RIGHT_LEFT, DO_DOWN_UP, DO_UP_DOWN,
- DO_LOWER_LEFT_UPPER_RIGHT, DO_UPPER_RIGHT_LOWER_LEFT,
- DO_UPPER_LEFT_LOWER_RIGHT, DO_LOWER_RIGHT_UPPER_LEFT,
- DO_HORZ_OUT, DO_HORZ_IN, DO_VERT_OUT, DO_VERT_IN,
- DO_HORZ_VERT_OUT, DO_HORZ_VERT_IN, DO_LEFT_DOWN_RIGHT_UP_OUT,
- DO_LEFT_DOWN_RIGHT_UP_IN, DO_LEFT_UP_RIGHT_DOWN_OUT,
- DO_LEFT_UP_RIGHT_DOWN_IN, DO_DIAG_OUT, DO_DIAG_IN, DO_DIAG_OUT_2,
- DO_DIAG_IN_2};
-int check_zone(int x, int y, int xo, int yo, struct Sequence *seq, float facf0);
+enum {DO_SINGLE_WIPE, DO_DOUBLE_WIPE, DO_BOX_WIPE, DO_CROSS_WIPE,
+ DO_IRIS_WIPE};
+float in_band(float width,float dist, float perc,int side,int dir);
+float check_zone(int x, int y, int xo, int yo, struct Sequence *seq, float facf0);
void init_sweep_effect(struct Sequence *seq);
void do_sweep_effect(struct Sequence *seq, float facf0, float facf1, int x, int y, unsigned int *rect1, unsigned int *rect2, unsigned int *out);