From 9e28fca9f16f96a054ea17ab0df14df05b8d0e55 Mon Sep 17 00:00:00 2001 From: Weijie Wang Date: Tue, 29 Aug 2017 19:51:59 +0800 Subject: SnapdragonCamera: Support HFR 60 and 90 fps Support HFR 60 and 90 fps Change-Id: Ib615196e691782ee6d595d5216f2966cee284a9c --- src/com/android/camera/CaptureModule.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/com/android/camera/CaptureModule.java') 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 gazeDegree = new CaptureResult.Key<>("org.codeaurora.qcamera3.stats.gaze_degree", byte[].class); + public static final CameraCharacteristics.Key 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; -- cgit v1.2.3