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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-16 19:03:37 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-16 19:03:37 +0400
commit62d09c9103f07c86c484d2a044a8884c337a92a3 (patch)
treee181e4903ea3baf7fc04936053e2c8e3f96766c2 /source/blender/makesdna/DNA_tracking_types.h
parent14a92fc3a24735900693617cb1b89bf9918893df (diff)
Tomato: configurable filter type for 2d stabilization
Diffstat (limited to 'source/blender/makesdna/DNA_tracking_types.h')
-rw-r--r--source/blender/makesdna/DNA_tracking_types.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_tracking_types.h b/source/blender/makesdna/DNA_tracking_types.h
index 1b41131c07d..e81344d7d51 100644
--- a/source/blender/makesdna/DNA_tracking_types.h
+++ b/source/blender/makesdna/DNA_tracking_types.h
@@ -159,8 +159,10 @@ typedef struct MovieTrackingStabilization {
float locinf, scaleinf, rotinf; /* influence on location, scale and rotation */
+ int filter; /* filter used for pixel interpolation */
+
/* some pre-computing run-time variables */
- int ok, pad; /* are precomputed values and scaled buf relevant? */
+ int ok; /* are precomputed values and scaled buf relevant? */
float scale; /* autoscale factor */
struct ImBuf *scaleibuf; /* currently scaled ibuf */
@@ -258,6 +260,11 @@ enum {
#define TRACKING_AUTOSCALE (1<<1)
#define TRACKING_STABILIZE_ROTATION (1<<2)
+/* MovieTrackingStrabilization->filter */
+#define TRACKING_FILTER_NEAREAST 0
+#define TRACKING_FILTER_BILINEAR 1
+#define TRACKING_FILTER_BICUBIC 2
+
/* MovieTrackingReconstruction->flag */
#define TRACKING_RECONSTRUCTED (1<<0)