diff options
author | jt1134 <jt1134@gmail.com> | 2013-01-25 22:59:33 -0600 |
---|---|---|
committer | Pawit Pornkitprasan <p.pawit@gmail.com> | 2013-01-27 09:32:32 +0700 |
commit | 0c5e4d558a8d2b7d2fff05990290cd93ba22ab6b (patch) | |
tree | ada693492718ebe72b85f377c087867cdf3ac28a | |
parent | 64b672a4813ba24b1c19534841d9fb3847b2ab9e (diff) | |
download | device_samsung_aries-common-0c5e4d558a8d2b7d2fff05990290cd93ba22ab6b.zip device_samsung_aries-common-0c5e4d558a8d2b7d2fff05990290cd93ba22ab6b.tar.gz device_samsung_aries-common-0c5e4d558a8d2b7d2fff05990290cd93ba22ab6b.tar.bz2 |
libcamera: add additional ISO modes
Change-Id: I1d9db7bbce75f6ecec96a73d81e223b260c68ae8
-rwxr-xr-x | libcamera/SecCameraHWInterface.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcamera/SecCameraHWInterface.cpp b/libcamera/SecCameraHWInterface.cpp index 2d4999c..8f24990 100755 --- a/libcamera/SecCameraHWInterface.cpp +++ b/libcamera/SecCameraHWInterface.cpp @@ -348,7 +348,7 @@ void CameraHardwareSec::initDefaultParameters(int cameraId) ip.set("blur", 0); } - p.set("iso-values", "auto,ISO50,ISO100,ISO200,ISO400,ISO800,ISO1600"); + p.set("iso-values", "auto,ISO50,ISO100,ISO200,ISO400,ISO800,ISO1600,ISO_SPORTS,ISO_NIGHT"); p.set("iso", "auto"); p.set(CameraParameters::KEY_HORIZONTAL_VIEW_ANGLE, "51.2"); @@ -1584,6 +1584,10 @@ status_t CameraHardwareSec::setParameters(const CameraParameters& params) new_iso = ISO_800; } else if (!strcmp(new_iso_str, "ISO1600")) { new_iso = ISO_1600; + } else if (!strcmp(new_iso_str, "ISO_SPORTS")) { + new_iso = ISO_SPORTS; + } else if (!strcmp(new_iso_str, "ISO_NIGHT")) { + new_iso = ISO_NIGHT; } else { ALOGE("ERR(%s):Invalid iso value(%s)", __func__, new_iso_str); ret = UNKNOWN_ERROR; |