diff options
author | Weijie Wang <weijiew@codeaurora.org> | 2017-08-29 19:51:59 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-09-14 05:01:00 -0700 |
commit | 9e28fca9f16f96a054ea17ab0df14df05b8d0e55 (patch) | |
tree | 1aa6e1b60a1c8d82688166bf5cd58a6bd2c0ef64 /src/com/android/camera/CaptureModule.java | |
parent | f47cca2d5e92cf2ed9ed154c32995e1e7e38b176 (diff) | |
download | android_packages_apps_Snap-9e28fca9f16f96a054ea17ab0df14df05b8d0e55.tar.gz android_packages_apps_Snap-9e28fca9f16f96a054ea17ab0df14df05b8d0e55.tar.bz2 android_packages_apps_Snap-9e28fca9f16f96a054ea17ab0df14df05b8d0e55.zip |
SnapdragonCamera: Support HFR 60 and 90 fps
Support HFR 60 and 90 fps
Change-Id: Ib615196e691782ee6d595d5216f2966cee284a9c
Diffstat (limited to 'src/com/android/camera/CaptureModule.java')
-rw-r--r-- | src/com/android/camera/CaptureModule.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java index 50cf0aa2b..d2ce09fd8 100644 --- a/src/com/android/camera/CaptureModule.java +++ b/src/com/android/camera/CaptureModule.java @@ -192,7 +192,7 @@ public class CaptureModule implements CameraModule, PhotoController, // we can change it based on memory status or other requirements. private static final int LONGSHOT_CANCEL_THRESHOLD = 40 * 1024 * 1024; - private static final int NORMAL_SESSION_MAX_FPS = 60; + private static final int NORMAL_SESSION_MAX_FPS = 30; private static final int SCREEN_DELAY = 2 * 60 * 1000; @@ -249,6 +249,8 @@ public class CaptureModule implements CameraModule, PhotoController, public static CaptureResult.Key<byte[]> gazeDegree = new CaptureResult.Key<>("org.codeaurora.qcamera3.stats.gaze_degree", byte[].class); + public static final CameraCharacteristics.Key<int[]> hfrSizeList = + new CameraCharacteristics.Key<>("org.codeaurora.qcamera3.hfr.sizes", int[].class); private boolean[] mTakingPicture = new boolean[MAX_NUM_CAM]; private int mControlAFMode = CameraMetadata.CONTROL_AF_MODE_CONTINUOUS_PICTURE; |