diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-03-29 17:21:28 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-04-10 09:33:15 +0800 |
commit | c58b42327df5fbc826e2fcc2674ab6db0edfcd92 (patch) | |
tree | 531babba66efab35a2a78be5b0fc5116d0dc3945 /include/camera/CameraParameters.h | |
parent | 2a547829fe162c52ea1b1168f47d25fb1b40497d (diff) | |
download | frameworks_base-c58b42327df5fbc826e2fcc2674ab6db0edfcd92.zip frameworks_base-c58b42327df5fbc826e2fcc2674ab6db0edfcd92.tar.gz frameworks_base-c58b42327df5fbc826e2fcc2674ab6db0edfcd92.tar.bz2 |
Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.
bug:2544367
Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867
Diffstat (limited to 'include/camera/CameraParameters.h')
-rw-r--r-- | include/camera/CameraParameters.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h index a7568d7..3b0e9e5 100644 --- a/include/camera/CameraParameters.h +++ b/include/camera/CameraParameters.h @@ -289,6 +289,9 @@ public: static const char SCENE_MODE_SPORTS[]; static const char SCENE_MODE_PARTY[]; static const char SCENE_MODE_CANDLELIGHT[]; + // Applications are looking for a barcode. Camera driver will be optimized + // for barcode reading. + static const char SCENE_MODE_BARCODE[]; // Formats for setPreviewFormat and setPictureFormat. static const char PIXEL_FORMAT_YUV422SP[]; @@ -309,6 +312,10 @@ public: // focus, which is usually at hyperfocal distance. Applications should // not call CameraHardwareInterface.autoFocus in this mode. static const char FOCUS_MODE_FIXED[]; + // Extended depth of field (EDOF). Focusing is done digitally and + // continuously. Applications should not call + // CameraHardwareInterface.autoFocus in this mode. + static const char FOCUS_MODE_EDOF[]; private: DefaultKeyedVector<String8,String8> mMap; |