summaryrefslogtreecommitdiffstats
path: root/camera/inc/OMXCameraAdapter
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2011-10-10 20:20:20 -0500
committerIliyan Malchev <malchev@google.com>2011-10-15 13:44:35 -0700
commitc54162032e268b9c377b3c3684d475b4f1a66d53 (patch)
treeb9bb461008d4159dded5d40376e40ea8bedae2c1 /camera/inc/OMXCameraAdapter
parent8a6995b97e1400c21d53a1a98da1ab2fa85e7c3b (diff)
downloadhardware_ti_omap4-c54162032e268b9c377b3c3684d475b4f1a66d53.zip
hardware_ti_omap4-c54162032e268b9c377b3c3684d475b4f1a66d53.tar.gz
hardware_ti_omap4-c54162032e268b9c377b3c3684d475b4f1a66d53.tar.bz2
CameraHal: Enable 3A feedback for scene modes
When a scene mode is set by the application, some 3A parameters will be updated by Ducati. Feed these parameters back to the application. Change-Id: I07afec0315d2807470037388572d0bc7ee8c3ad8 Signed-off-by: Tyler Luu <tluu@ti.com>
Diffstat (limited to 'camera/inc/OMXCameraAdapter')
-rw-r--r--camera/inc/OMXCameraAdapter/OMXCameraAdapter.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
index 4b82109..8c748a8 100644
--- a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
+++ b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
@@ -485,7 +485,11 @@ private:
//Flash modes
status_t setFlashMode(Gen3A_settings& Gen3A);
+ status_t getFlashMode(Gen3A_settings& Gen3A);
+
+ // Focus modes
status_t setFocusMode(Gen3A_settings& Gen3A);
+ status_t getFocusMode(Gen3A_settings& Gen3A);
//Exposure Modes
status_t setExposureMode(Gen3A_settings& Gen3A);
@@ -498,12 +502,19 @@ private:
status_t setSaturation(Gen3A_settings& Gen3A);
status_t setISO(Gen3A_settings& Gen3A);
status_t setEffect(Gen3A_settings& Gen3A);
+ status_t setMeteringAreas(Gen3A_settings& Gen3A);
+ status_t getEVCompensation(Gen3A_settings& Gen3A);
+ status_t getWBMode(Gen3A_settings& Gen3A);
+ status_t getSharpness(Gen3A_settings& Gen3A);
+ status_t getSaturation(Gen3A_settings& Gen3A);
+ status_t getISO(Gen3A_settings& Gen3A);
+
+ // 3A locks
status_t setExposureLock(Gen3A_settings& Gen3A);
status_t setFocusLock(Gen3A_settings& Gen3A);
status_t setWhiteBalanceLock(Gen3A_settings& Gen3A);
status_t set3ALock(OMX_BOOL toggleExp, OMX_BOOL toggleWb, OMX_BOOL toggleFocus);
- status_t setMeteringAreas(Gen3A_settings& Gen3A);
//API to set FrameRate using VFR interface
status_t setVFramerate(OMX_U32 minFrameRate,OMX_U32 maxFrameRate);