diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-06-12 16:34:10 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-06-12 16:34:10 +0400 |
commit | 22d2faccefb3b44f5f4b6372e4d114c44f27e194 (patch) | |
tree | 386b933b4983859204831bd977f5cfcf237cfa21 /source/blender/blenkernel/BKE_tracking.h | |
parent | 2aab2d97de00e39c1c623e544df2c285131e6e2d (diff) |
Cleaned code a bit around 2D stabilization
Hopefully it's more readable now. Took me a while to remmeber
all the stuff going on here while was looking into possibility
of implementing some feature here.
Diffstat (limited to 'source/blender/blenkernel/BKE_tracking.h')
-rw-r--r-- | source/blender/blenkernel/BKE_tracking.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_tracking.h b/source/blender/blenkernel/BKE_tracking.h index d8c761cd1b4..84bca0bd3ba 100644 --- a/source/blender/blenkernel/BKE_tracking.h +++ b/source/blender/blenkernel/BKE_tracking.h @@ -204,10 +204,10 @@ void BKE_tracking_detect_fast(struct MovieTracking *tracking, struct ListBase *t /* **** 2D stabilization **** */ void BKE_tracking_stabilization_data_get(struct MovieTracking *tracking, int framenr, int width, int height, - float loc[2], float *scale, float *angle); + float translation[2], float *scale, float *angle); struct ImBuf *BKE_tracking_stabilize_frame(struct MovieTracking *tracking, int framenr, struct ImBuf *ibuf, - float loc[2], float *scale, float *angle); -void BKE_tracking_stabilization_data_to_mat4(int width, int height, float aspect, float loc[2], + float translation[2], float *scale, float *angle); +void BKE_tracking_stabilization_data_to_mat4(int width, int height, float aspect, float translation[2], float scale, float angle, float mat[4][4]); /* Dopesheet */ |