diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-19 20:16:10 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-19 20:17:22 +0400 |
commit | 3b2f6dbf9847476f9491218cbed948c1c0aa6c7d (patch) | |
tree | 80b5c2ded3821c54f99d7b0ef26dc76bf21e7306 /source/blender/makesdna/DNA_sequence_types.h | |
parent | 00b29156e087bba3675c7247ffe64a1696a90558 (diff) |
Sequencer: Add gaussian blur effect
Currently this gaussian blur implementation accumulates values in the
square kernel rather that doing X direction and then Y direction because
of the lack of using multiple-staged filters.
Once we can we'll implement a way to apply filter as multiple stages we
can optimize hell of a lot in here.
Another thing we can do is to use SSE2 instructions here.
Diffstat (limited to 'source/blender/makesdna/DNA_sequence_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_sequence_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index bd2d39ff1f0..4795048d346 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -249,6 +249,11 @@ typedef struct SpeedControlVars { int lastValidFrame; } SpeedControlVars; +typedef struct GaussianBlurVars { + float size_x; + float size_y; +} GaussianBlurVars; + /* ***************** Sequence modifiers ****************** */ typedef struct SequenceModifierData { @@ -421,7 +426,8 @@ enum { SEQ_TYPE_SPEED = 29, SEQ_TYPE_MULTICAM = 30, SEQ_TYPE_ADJUSTMENT = 31, - SEQ_TYPE_EFFECT_MAX = 31 + SEQ_TYPE_GAUSSIAN_BLUR = 40, + SEQ_TYPE_EFFECT_MAX = 40 }; #define SEQ_MOVIECLIP_RENDER_UNDISTORTED (1 << 0) |