diff options
author | Kalpesh Patil <kalpeshpatil@ti.com> | 2011-08-13 08:19:20 +0530 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-08-15 13:01:32 -0700 |
commit | b4a28dec029ecbd35aa27984f8681ae98286eca0 (patch) | |
tree | 1e92f85e49279795c5e4c546e4e29d1e9a3cfb8d /camera/inc | |
parent | 2e8a3c2d0af9d0e6f1e2eff55fb29af70a9c74bc (diff) | |
download | hardware_ti_omap4xxx-b4a28dec029ecbd35aa27984f8681ae98286eca0.zip hardware_ti_omap4xxx-b4a28dec029ecbd35aa27984f8681ae98286eca0.tar.gz hardware_ti_omap4xxx-b4a28dec029ecbd35aa27984f8681ae98286eca0.tar.bz2 |
Camera Hal : Handle Recording Hint set by Camcorder Application
Recoding Hint is set now by Camcorder App, in order to allow CameraHal
to start preview is Recording specific mode (i.e. Video-Mode).
This patch adds support to handle Recoding Hint in order to set/reset
Recording specific parameters.
This patch also takes care of following contraints set by
Recording Hint support in framework.
1) Camera App can set/reset Recording Hint while preview is active.
2) Camera App can start recording even when the Recording Hint is false.
Change-Id: I6332c316ddc3ddda7f8c9c5739f81e6317c7deb0
Signed-Off-By: Kalpesh Patil <kalpeshpatil@ti.com>
Diffstat (limited to 'camera/inc')
-rw-r--r-- | camera/inc/CameraHal.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/camera/inc/CameraHal.h b/camera/inc/CameraHal.h index 94ed67d..7930830 100644 --- a/camera/inc/CameraHal.h +++ b/camera/inc/CameraHal.h @@ -886,7 +886,17 @@ public: /** * Set the camera parameters specific to Video Recording. */ - status_t setVideoModeParameters(); + bool setVideoModeParameters(); + + /** + * Reset the camera parameters specific to Video Recording. + */ + bool resetVideoModeParameters(); + + /** + * Restart the preview with setParameter. + */ + status_t restartPreview(); /** * Start auto focus, the notification callback routine is called |