diff options
author | Benny Wong <Benny.Wong@motorola.com> | 2009-08-12 12:01:27 -0500 |
---|---|---|
committer | James Dong <jdong@google.com> | 2009-08-13 10:46:28 -0700 |
commit | 4c8fb0a184e51c3f561fff26ba84ceb5ec75be24 (patch) | |
tree | bf62fcd39b8ddce9c5a9104bad23244cc747a15b /include/ui/Camera.h | |
parent | 1689746b118fbf3a3a3e23f2ce7e2ab104d2ecfc (diff) | |
download | frameworks_native-4c8fb0a184e51c3f561fff26ba84ceb5ec75be24.zip frameworks_native-4c8fb0a184e51c3f561fff26ba84ceb5ec75be24.tar.gz frameworks_native-4c8fb0a184e51c3f561fff26ba84ceb5ec75be24.tar.bz2 |
Modified the camera HAL interface to use the same generic callback architecture as camera services
Diffstat (limited to 'include/ui/Camera.h')
-rw-r--r-- | include/ui/Camera.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/include/ui/Camera.h b/include/ui/Camera.h index afb07b5..ae6e255 100644 --- a/include/ui/Camera.h +++ b/include/ui/Camera.h @@ -66,15 +66,16 @@ namespace android { // msgType in notifyCallback and dataCallback functions enum { - CAMERA_MSG_ERROR = 0, - CAMERA_MSG_SHUTTER, - CAMERA_MSG_FOCUS, - CAMERA_MSG_ZOOM, - CAMERA_MSG_PREVIEW_FRAME, - CAMERA_MSG_VIDEO_FRAME, - CAMERA_MSG_POSTVIEW_FRAME, - CAMERA_MSG_RAW_IMAGE, - CAMERA_MSG_COMPRESSED_IMAGE + CAMERA_MSG_ERROR = 0x001, + CAMERA_MSG_SHUTTER = 0x002, + CAMERA_MSG_FOCUS = 0x004, + CAMERA_MSG_ZOOM = 0x008, + CAMERA_MSG_PREVIEW_FRAME = 0x010, + CAMERA_MSG_VIDEO_FRAME = 0x020, + CAMERA_MSG_POSTVIEW_FRAME = 0x040, + CAMERA_MSG_RAW_IMAGE = 0x080, + CAMERA_MSG_COMPRESSED_IMAGE = 0x100, + CAMERA_MSG_ALL_MSGS = 0x1FF }; // camera fatal errors |