diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-10-21 12:28:12 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-10-21 12:28:12 +0300 |
commit | 8d2cabcb97c5b49a19115f47a6f364d02af03f87 (patch) | |
tree | 2cf9abf47d02c99a762176683461c6c00568f4f8 | |
parent | 98e1c6e9358a54001a2c76a86d7ca31283175547 (diff) |
Cleanup: VSE code docstring
-rw-r--r-- | source/blender/sequencer/intern/strip_transform.c | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/source/blender/sequencer/intern/strip_transform.c b/source/blender/sequencer/intern/strip_transform.c index c70f8d646af..becf44a7a8e 100644 --- a/source/blender/sequencer/intern/strip_transform.c +++ b/source/blender/sequencer/intern/strip_transform.c @@ -468,14 +468,6 @@ void SEQ_image_transform_origin_offset_pixelspace_get(const Scene *scene, mul_v2_v2(r_origin, mirror); } -/** - * Get strip transform origin offset from image center - * - * \param scene: Scene in which strips are located - * \param seq: Sequence to calculate image transform origin - * \param apply_rotation: Apply sequence rotation transform to the quad - * \param r_origin: return value - */ static void seq_image_transform_quad_get_ex(const Scene *scene, const Sequence *seq, bool apply_rotation, @@ -527,6 +519,14 @@ static void seq_image_transform_quad_get_ex(const Scene *scene, } } +/** + * Get 4 corner points of strip image, optionally without rotation component applied + * + * \param scene: Scene in which strips are located + * \param seq: Sequence to calculate image transform origin + * \param apply_rotation: Apply sequence rotation transform to the quad + * \param r_quad: array of 4 2D vectors + */ void SEQ_image_transform_quad_get(const Scene *scene, const Sequence *seq, bool apply_rotation, @@ -535,6 +535,13 @@ void SEQ_image_transform_quad_get(const Scene *scene, seq_image_transform_quad_get_ex(scene, seq, apply_rotation, r_quad); } +/** + * Get 4 corner points of strip image. + * + * \param scene: Scene in which strips are located + * \param seq: Sequence to calculate image transform origin + * \param r_quad: array of 4 2D vectors + */ void SEQ_image_transform_final_quad_get(const Scene *scene, const Sequence *seq, float r_quad[4][2]) |