diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2011-05-13 10:19:59 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2011-05-17 10:52:42 -0700 |
commit | fd99e1dda6a46ac3312cacb3bc1b633b2df95df2 (patch) | |
tree | 682bd239fc0a9b66c18aae748d71cd55220349af /camera/CameraParameters.cpp | |
parent | 6e9fd1a24da7e9d7cabf0079a4291647154f8e39 (diff) | |
download | frameworks_av-fd99e1dda6a46ac3312cacb3bc1b633b2df95df2.zip frameworks_av-fd99e1dda6a46ac3312cacb3bc1b633b2df95df2.tar.gz frameworks_av-fd99e1dda6a46ac3312cacb3bc1b633b2df95df2.tar.bz2 |
Add auto-white balance locking to the Camera API.
Adds a new camera parameter for locking auto-white balance to its
current value. Also adds a function for checking if auto-white balance
lock is supported by the current platform. Lock semantics match that
of the auto-exposure lock.
Hidden for now.
Change-Id: Id59339a4be84d55c1b0b8473d765b6aa765999b2
Diffstat (limited to 'camera/CameraParameters.cpp')
-rw-r--r-- | camera/CameraParameters.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/CameraParameters.cpp b/camera/CameraParameters.cpp index 4f3da40..c295315 100644 --- a/camera/CameraParameters.cpp +++ b/camera/CameraParameters.cpp @@ -70,6 +70,8 @@ const char CameraParameters::KEY_MIN_EXPOSURE_COMPENSATION[] = "min-exposure-com const char CameraParameters::KEY_EXPOSURE_COMPENSATION_STEP[] = "exposure-compensation-step"; const char CameraParameters::KEY_AUTO_EXPOSURE_LOCK[] = "auto-exposure-lock"; const char CameraParameters::KEY_AUTO_EXPOSURE_LOCK_SUPPORTED[] = "auto-exposure-lock-supported"; +const char CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK[] = "auto-whitebalance-lock"; +const char CameraParameters::KEY_AUTO_WHITEBALANCE_LOCK_SUPPORTED[] = "auto-whitebalance-lock-supported"; const char CameraParameters::KEY_MAX_NUM_METERING_AREAS[] = "max-num-metering-areas"; const char CameraParameters::KEY_METERING_AREAS[] = "metering-areas"; const char CameraParameters::KEY_ZOOM[] = "zoom"; |