summaryrefslogtreecommitdiffstats
path: root/camera/inc
diff options
context:
space:
mode:
authorSundar Raman <sunds@ti.com>2011-09-12 15:03:33 -0700
committerIliyan Malchev <malchev@google.com>2011-09-12 19:15:47 -0700
commitec6434c4a6448e0e9e08eddae15a108b0744b0cf (patch)
treed844d3618cb9e676e02f2e33df4519e6c9c4d5ac /camera/inc
parent99a8dcfd6b79a55c1bf253e577d55f93b25b9ab5 (diff)
downloadhardware_ti_omap4-ec6434c4a6448e0e9e08eddae15a108b0744b0cf.zip
hardware_ti_omap4-ec6434c4a6448e0e9e08eddae15a108b0744b0cf.tar.gz
hardware_ti_omap4-ec6434c4a6448e0e9e08eddae15a108b0744b0cf.tar.bz2
CameraHAL: Updates related to multiple MTS,CTS tests
- Test '#testTakePicture' in both the MTS suite and the CTS package, require raw callbacks to be generated when 'takePicture()' is provided with an appropriate handler for it. Unfortunately, raw data is not always provided by the CameraAdapters. This modification adds the necessary functionality in order to enable raw callbacks, when needed. Change-Id: I1369f7a6edbc54195c5a71b35e0096c72d6ed368 Signed-off-by: Emilian Peev <epeev@mm-sol.com> Change-Id: I2b963f5c23d31b02f3d59e1ee8c36cf3cd195bb6 Signed-off-by: Sundar Raman <sunds@ti.com>
Diffstat (limited to 'camera/inc')
-rw-r--r--camera/inc/CameraHal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/camera/inc/CameraHal.h b/camera/inc/CameraHal.h
index f19acea..baf24df 100644
--- a/camera/inc/CameraHal.h
+++ b/camera/inc/CameraHal.h
@@ -576,6 +576,7 @@ private:
void notifyFrame();
bool processMessage();
void releaseSharedVideoBuffers();
+ status_t dummyRaw();
private:
mutable Mutex mLock;
@@ -620,7 +621,8 @@ private:
bool mRecording;
bool mMeasurementEnabled;
- bool mUseMetaDataBufferMode;
+ bool mUseMetaDataBufferMode;
+ bool mRawAvailable;
CameraParameters mParameters;