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-17 12:27:19 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-17 12:27:19 +0400
commited3b7e2c23ca50eb67e63caec0c88197f59b2573 (patch)
treec614e23685d9ab93d9c6e7ec04e5b0463afea002 /source/blender/makesdna
parentfdeca277fdfab889279c0a4a3b7b1935ff0121fa (diff)
parent62d09c9103f07c86c484d2a044a8884c337a92a3 (diff)
Camera tracking: configurable filter type for 2d stabilization
-- svn merge -r44151:44152 ^/branches/soc-2011-tomato
Diffstat (limited to 'source/blender/makesdna')
-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)