summaryrefslogtreecommitdiffstats
path: root/libs/camera
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2011-05-13 10:19:59 -0700
committerEino-Ville Talvala <etalvala@google.com>2011-05-17 10:52:42 -0700
commitd9c2601afa46811bcb1345963d38010690981a01 (patch)
treec5121e532b90cf3fc802740a43bf35450ac1e8a6 /libs/camera
parent12ec74c1a71dd0d40a31340fc76025712066ae70 (diff)
downloadframeworks_base-d9c2601afa46811bcb1345963d38010690981a01.zip
frameworks_base-d9c2601afa46811bcb1345963d38010690981a01.tar.gz
frameworks_base-d9c2601afa46811bcb1345963d38010690981a01.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 'libs/camera')
-rw-r--r--libs/camera/CameraParameters.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/camera/CameraParameters.cpp b/libs/camera/CameraParameters.cpp
index 4f3da40..c295315 100644
--- a/libs/camera/CameraParameters.cpp
+++ b/libs/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";