summaryrefslogtreecommitdiffstats
path: root/camera/inc
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2011-09-13 20:50:25 -0500
committerIliyan Malchev <malchev@google.com>2011-09-14 16:00:43 -0700
commitea0cffc46beaceeb7e147b8d445abb5deaf882f4 (patch)
tree0fcdbf78188ba194b17d83ea781d60e3a0a2ea29 /camera/inc
parenta8a2ee5d7df73a608da6949409506916d7bdc78c (diff)
downloadhardware_ti_omap4-ea0cffc46beaceeb7e147b8d445abb5deaf882f4.zip
hardware_ti_omap4-ea0cffc46beaceeb7e147b8d445abb5deaf882f4.tar.gz
hardware_ti_omap4-ea0cffc46beaceeb7e147b8d445abb5deaf882f4.tar.bz2
CameraHal: Fixes for setParameter in CameraHal
1. CameraHal needs to call camera adapter setParameters when parameters that the camera adapter will update in getParameters are changed so that the camera adapter is properly updated before for a subsequent getParameters call. 2. Pass mParameters directly to camera adapter in getParameters call so that it can be updated with parameters that the camera adapter modifies. Change-Id: I26e8b6c39ff8be4af6bedb4d3eb1b81b4f3c2c17 Signed-off-by: Tyler Luu <tluu@ti.com>
Diffstat (limited to 'camera/inc')
-rw-r--r--camera/inc/CameraHal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/inc/CameraHal.h b/camera/inc/CameraHal.h
index 31ce3fd..fc5afe1 100644
--- a/camera/inc/CameraHal.h
+++ b/camera/inc/CameraHal.h
@@ -1096,6 +1096,7 @@ private:
// instance
bool isParameterValid(const char *param, const char *supportedParams);
bool isParameterValid(int param, const char *supportedParams);
+ status_t doesSetParameterNeedUpdate(const char *new_param, const char *old_params, bool &update);
/** Initialize default parameters */
void initDefaultParameters();