commit | af3d28870f7890370d6acb21d20cf1ccab4b9e08 | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Thu Oct 04 14:22:18 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Oct 05 12:05:07 2012 -0700 |
tree | 609f37c19d8cf94a4b65fb75d7445140f9d36134 | |
parent | becb0bc4b620dcd88b559d821e40a9ca7ced5604 [diff] [blame] |
Camera2: Change policy for calculating previewFpsRange from previewFps Bug: 7259959 Change-Id: I759a559d7115201264f88db1f23edc2d6aef6c43
diff --git a/services/camera/libcameraservice/camera2/Parameters.h b/services/camera/libcameraservice/camera2/Parameters.h index 53ddf99..cb9738b 100644 --- a/services/camera/libcameraservice/camera2/Parameters.h +++ b/services/camera/libcameraservice/camera2/Parameters.h
@@ -267,6 +267,14 @@ int arrayYToNormalized(int height) const; int normalizedXToArray(int x) const; int normalizedYToArray(int y) const; + + struct Range { + int min; + int max; + }; + + int32_t fpsFromRange(int32_t min, int32_t max) const; + }; // This class encapsulates the Parameters class so that it can only be accessed