diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-08-17 13:44:35 -0700 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-08-17 13:44:35 -0700 |
commit | 85b6e1681e32162676d81f4c762bdb19927beeac (patch) | |
tree | 55a718a2dc022c6750afee0c03a530bf9e65e356 /include/camera | |
parent | c059860c73678a202bfa33062723e8f82fb779d9 (diff) | |
download | frameworks_av-85b6e1681e32162676d81f4c762bdb19927beeac.zip frameworks_av-85b6e1681e32162676d81f4c762bdb19927beeac.tar.gz frameworks_av-85b6e1681e32162676d81f4c762bdb19927beeac.tar.bz2 |
Document that autoFocus must be called in auto and macro mode.
Change-Id: Ia52f8bc8a75a7473edff50326a4a0467f4295e6a
Diffstat (limited to 'include/camera')
-rw-r--r-- | include/camera/CameraParameters.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h index 6a5d254..99a3115 100644 --- a/include/camera/CameraParameters.h +++ b/include/camera/CameraParameters.h @@ -337,11 +337,14 @@ public: static const char PIXEL_FORMAT_JPEG[]; // Values for focus mode settings. - // Auto-focus mode. + // Auto-focus mode. Applications should call + // CameraHardwareInterface.autoFocus to start the focus in this mode. static const char FOCUS_MODE_AUTO[]; // Focus is set at infinity. Applications should not call // CameraHardwareInterface.autoFocus in this mode. static const char FOCUS_MODE_INFINITY[]; + // Macro (close-up) focus mode. Applications should call + // CameraHardwareInterface.autoFocus to start the focus in this mode. static const char FOCUS_MODE_MACRO[]; // Focus is fixed. The camera is always in this mode if the focus is not // adjustable. If the camera has auto-focus, this mode can fix the @@ -355,7 +358,8 @@ public: // Continuous auto focus mode. The camera continuously tries to focus. This // is ideal for shooting video or shooting photo of moving object. Auto // focus starts when the parameter is set. Applications should not call - // CameraHardwareInterface.autoFocus in this mode. + // CameraHardwareInterface.autoFocus in this mode. To stop continuous + // focus, applications should change the focus mode to other modes. static const char FOCUS_MODE_CONTINUOUS[]; // The camera determines the exposure by giving more weight to the |