summaryrefslogtreecommitdiffstats
path: root/camera/inc
diff options
context:
space:
mode:
authorVladimir Petrov <vppetrov@mm-sol.com>2012-08-16 19:13:03 +0300
committerDaniel Levin <dendy@ti.com>2012-11-26 20:03:35 +0200
commita063d9e6286f64d26d8e6c34aea5ff2233b9e1d9 (patch)
treed38ad52ce900cf8b746bf6410cb1032ac6d6e52b /camera/inc
parent9253857803b9db620ae8a007dbc48e2251b84b89 (diff)
downloadhardware_ti_omap4-a063d9e6286f64d26d8e6c34aea5ff2233b9e1d9.zip
hardware_ti_omap4-a063d9e6286f64d26d8e6c34aea5ff2233b9e1d9.tar.gz
hardware_ti_omap4-a063d9e6286f64d26d8e6c34aea5ff2233b9e1d9.tar.bz2
CameraHal: Add support to release tap in/outs
- Providing a way to camera client to tell camera hardware that tap in/outs previously set are not longer valid. Depends on frameworks/av change I68f61303: http://review.omapzoom.org/#/c/28914/ Depends on hardware/libhardware change I8f6c377a: http://review.omapzoom.org/#/c/28984/ Change-Id: I9e7faf1a8cb9bd4e9f3bfd98ed4ccc56c1e9b10e Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Diffstat (limited to 'camera/inc')
-rw-r--r--camera/inc/CameraHal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/camera/inc/CameraHal.h b/camera/inc/CameraHal.h
index fb36ee6..19505aa 100644
--- a/camera/inc/CameraHal.h
+++ b/camera/inc/CameraHal.h
@@ -1131,6 +1131,11 @@ public:
#endif
/**
+ * Release a tap-in or tap-out point.
+ */
+ int releaseBufferSource(struct preview_stream_ops *tapin, struct preview_stream_ops *tapout);
+
+ /**
* Stop a previously started preview.
*/
void stopPreview();
@@ -1358,7 +1363,9 @@ private:
//@}
status_t setTapoutLocked(struct preview_stream_ops *out);
+ status_t releaseTapoutLocked(struct preview_stream_ops *out);
status_t setTapinLocked(struct preview_stream_ops *in);
+ status_t releaseTapinLocked(struct preview_stream_ops *in);
/*----------Member variables - Public ---------------------*/
public:
int32_t mMsgEnabled;