aboutsummaryrefslogtreecommitdiff
path: root/modules/soft/soft_stitcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/soft/soft_stitcher.cpp')
-rw-r--r--modules/soft/soft_stitcher.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/soft/soft_stitcher.cpp b/modules/soft/soft_stitcher.cpp
index c345dcd..42f0c93 100644
--- a/modules/soft/soft_stitcher.cpp
+++ b/modules/soft/soft_stitcher.cpp
@@ -43,7 +43,7 @@
#define MAP_FACTOR_X 16
#define MAP_FACTOR_Y 16
-#define DUMP_STITCHER 1
+#define DUMP_STITCHER 0
namespace XCam {
@@ -352,7 +352,11 @@ StitcherImpl::init_config (uint32_t count)
config.recur_offset_error = 8.0f;
config.max_adjusted_offset = 24.0f;
config.max_valid_offset_y = 20.0f;
+#ifndef ANDROID
config.max_track_error = 28.0f;
+#else
+ config.max_track_error = 3600.0f;
+#endif
_overlaps[i].matcher->set_config (config);
_overlaps[i].matcher->set_fm_index (i);
#endif