diff options
author | Gaurav Sarode <sgaurav@google.com> | 2018-01-11 17:51:38 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-01-11 17:51:38 +0000 |
commit | 6bd266236b4d1fb459cd90faeb32810e50b1a9d5 (patch) | |
tree | 1f0dec9c0c265727b557747742d98fc4625a5467 | |
parent | 013dbd7233831a8a4077536a70eaea4e9b6b8bb0 (diff) | |
parent | 5cfa154cd124f3a0a3f9194e594a3be785727b28 (diff) | |
download | libxcam-6bd266236b4d1fb459cd90faeb32810e50b1a9d5.tar.gz |
Merge remote-tracking branch 'aosp/upstream-master' into master am: 507c4324d9 am: cdbaf6db45android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-dev
am: 5cfa154cd1
Change-Id: I0319c3f4b492b5af13e0f4fb2b772f71634a708a
-rw-r--r-- | Android.mk | 5 | ||||
-rw-r--r-- | modules/soft/soft_blender.cpp | 2 | ||||
-rw-r--r-- | modules/soft/soft_stitcher.cpp | 6 |
3 files changed, 11 insertions, 2 deletions
@@ -10,11 +10,16 @@ ifeq ($(ENABLE_DEBUG), 1) XCAM_CFLAGS += -DDEBUG endif +ENABLE_OPENCV := 0 +ifneq ($(filter $(TARGET_ARCH),x86 x86_64),) + ifneq ($(wildcard external/opencv),) ENABLE_OPENCV := 1 XCAM_CFLAGS += -DHAVE_OPENCV=1 endif +endif + # For libxcam # ================================================= diff --git a/modules/soft/soft_blender.cpp b/modules/soft/soft_blender.cpp index 2141f4e..7e0c678 100644 --- a/modules/soft/soft_blender.cpp +++ b/modules/soft/soft_blender.cpp @@ -30,7 +30,7 @@ #define OVERLAP_POOL_SIZE 6 #define LAP_POOL_SIZE 4 -#define DUMP_BLENDER 1 +#define DUMP_BLENDER 0 namespace XCam { 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 |