diff options
author | Weijie Wang <weijiew@codeaurora.org> | 2017-09-02 12:11:20 +0800 |
---|---|---|
committer | Weijie Wang <weijiew@codeaurora.org> | 2017-09-02 12:11:20 +0800 |
commit | f884ef3a01cefaf71f6ff0ed059c8d356b40c17c (patch) | |
tree | b4b545a0cd632402dddc406247fcd7836b408b84 /src/com/android/camera/imageprocessor/FrameProcessor.java | |
parent | 2e0ed791732a27bb4d951bfbdaba3ddcda4e6b2c (diff) | |
download | android_packages_apps_Snap-f884ef3a01cefaf71f6ff0ed059c8d356b40c17c.tar.gz android_packages_apps_Snap-f884ef3a01cefaf71f6ff0ed059c8d356b40c17c.tar.bz2 android_packages_apps_Snap-f884ef3a01cefaf71f6ff0ed059c8d356b40c17c.zip |
Revert "SnapdragonCamera: Sync LA.UM.6.4 to LA.UM.6.3"
This reverts commit b5533d51a7c97138235d29b35cec876d107aeadd.
Change-Id: I8063422680802e25d03a374be91e884a86ad55e9
Diffstat (limited to 'src/com/android/camera/imageprocessor/FrameProcessor.java')
-rw-r--r-- | src/com/android/camera/imageprocessor/FrameProcessor.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/com/android/camera/imageprocessor/FrameProcessor.java b/src/com/android/camera/imageprocessor/FrameProcessor.java index 6b0c97732..b1b415acd 100644 --- a/src/com/android/camera/imageprocessor/FrameProcessor.java +++ b/src/com/android/camera/imageprocessor/FrameProcessor.java @@ -401,11 +401,7 @@ public class FrameProcessor { } } else { filter.init(mSize.getWidth(), mSize.getHeight(), stride, stride); - if (filter instanceof BeautificationFilter) { - filter.addImage(bY, bVU, 0, new Boolean(false)); - } else { - filter.addImage(bY, bVU, 0, new Boolean(true)); - } + filter.addImage(bY, bVU, 0, new Boolean(true)); needToFeedSurface = true; } bY.rewind(); @@ -489,11 +485,7 @@ public class FrameProcessor { mBY.rewind(); mBVU.rewind(); mFilter.init(mWidth, mHeight, mStride, mStride); - if (mFilter instanceof BeautificationFilter) { - mFilter.addImage(mBY, mBVU, 0, new Boolean(false)); - } else { - mFilter.addImage(mBY, mBVU, 0, new Boolean(true)); - } + mFilter.addImage(mBY, mBVU, 0, new Boolean(true)); mMutureLock.release(); } catch (InterruptedException e) { } |