summaryrefslogtreecommitdiffstats
path: root/camera/inc/OMXCameraAdapter
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2011-09-30 20:03:26 -0500
committerIliyan Malchev <malchev@google.com>2011-10-07 12:29:22 -0700
commitf272067c3ff0f10874ae14c6a75d0ab6fa1715a4 (patch)
tree7c89ded4209b9d86be283778d0c2df1849a6f968 /camera/inc/OMXCameraAdapter
parent8ba83ad30df017c13ccfb62588c6629239994633 (diff)
downloadhardware_ti_omap4-f272067c3ff0f10874ae14c6a75d0ab6fa1715a4.zip
hardware_ti_omap4-f272067c3ff0f10874ae14c6a75d0ab6fa1715a4.tar.gz
hardware_ti_omap4-f272067c3ff0f10874ae14c6a75d0ab6fa1715a4.tar.bz2
omap4xxx: camera: set capture settings only if changed
Partial fix for b/5371242 Only set capture configs when they have changed from our current setting to save some SetConfig time. Change-Id: I68d7b7ebd4be3273abd534ce8e939da62d38d481 Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'camera/inc/OMXCameraAdapter')
-rw-r--r--camera/inc/OMXCameraAdapter/OMXCameraAdapter.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
index 960846e..4acc88c 100644
--- a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
+++ b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h
@@ -260,6 +260,16 @@ public:
BRIGHTNESS_AUTO,
};
+ enum CaptureSettingsFlags {
+ SetFormat = 1 << 0,
+ SetThumb = 1 << 1,
+ SetExpBracket = 1 << 2,
+ SetQuality = 1 << 3,
+ SetRotation = 1 << 3,
+ E3aSettingMax,
+ E3AsettingsAll = ( ((E3aSettingMax -1 ) << 1) -1 ) /// all possible flags raised
+ };
+
class GPSData
{
public:
@@ -825,6 +835,7 @@ private:
bool mWaitingForSnapshot;
int mSnapshotCount;
bool mCaptureConfigured;
+ unsigned int mPendingCaptureSettings;
//Temporal bracketing management data
mutable Mutex mBracketingLock;