summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2016-07-19 15:15:21 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-21 18:46:32 -0700
commit0e7092ef14cf92663831a615c0aa63ab672e476e (patch)
tree1bd78930bb1633240a3d8b3566e0a58f985bf092
parent900db9a5d43331250bb017495a9e41790f4e077e (diff)
downloadandroid_packages_apps_Snap-0e7092ef14cf92663831a615c0aa63ab672e476e.zip
android_packages_apps_Snap-0e7092ef14cf92663831a615c0aa63ab672e476e.tar.gz
android_packages_apps_Snap-0e7092ef14cf92663831a615c0aa63ab672e476e.tar.bz2
SnapdragonCamera: Set edge mode to high quality
Force edge mode to high quality CRs-Fixed: 993611 Change-Id: I51bf69b681dbf58eb04412abad4ba9d067f40aa8
-rw-r--r--src/org/codeaurora/snapcam/filter/ClearSightImageProcessor.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/org/codeaurora/snapcam/filter/ClearSightImageProcessor.java b/src/org/codeaurora/snapcam/filter/ClearSightImageProcessor.java
index c64a0de..8970ca8 100644
--- a/src/org/codeaurora/snapcam/filter/ClearSightImageProcessor.java
+++ b/src/org/codeaurora/snapcam/filter/ClearSightImageProcessor.java
@@ -529,6 +529,13 @@ public class ClearSightImageProcessor {
.createReprocessCaptureRequest(reprocImg.mCaptureResult);
reprocRequest.addTarget(mImageReader[camId]
.getSurface());
+ reprocRequest.set(CaptureRequest.COLOR_CORRECTION_ABERRATION_MODE,
+ CaptureRequest.COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY);
+ reprocRequest.set(CaptureRequest.EDGE_MODE,
+ CaptureRequest.EDGE_MODE_HIGH_QUALITY);
+ reprocRequest.set(CaptureRequest.NOISE_REDUCTION_MODE,
+ CaptureRequest.NOISE_REDUCTION_MODE_HIGH_QUALITY);
+
if(reprocRequests.size() == 0) {
reprocRequest.setTag(new Object());
}