summaryrefslogtreecommitdiff
path: root/src/android/camera_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_device.cpp')
-rw-r--r--src/android/camera_device.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp
index bd69198e..969c8192 100644
--- a/src/android/camera_device.cpp
+++ b/src/android/camera_device.cpp
@@ -611,6 +611,17 @@ const camera_metadata_t *CameraDevice::constructDefaultRequestSettings(int type)
&faceDetectMode, 1);
METADATA_ASSERT(ret);
+ uint8_t noiseReduction = ANDROID_NOISE_REDUCTION_MODE_OFF;
+ ret = add_camera_metadata_entry(requestTemplate_,
+ ANDROID_NOISE_REDUCTION_MODE, &noiseReduction, 1);
+ METADATA_ASSERT(ret);
+
+ uint8_t aberrationMode = ANDROID_COLOR_CORRECTION_ABERRATION_MODE_OFF;
+ ret = add_camera_metadata_entry(requestTemplate_,
+ ANDROID_COLOR_CORRECTION_ABERRATION_MODE,
+ &aberrationMode, 1);
+ METADATA_ASSERT(ret);
+
ret = add_camera_metadata_entry(requestTemplate_,
ANDROID_CONTROL_CAPTURE_INTENT,
&captureIntent, 1);