Skip to content

Commit

Permalink
camera: Add QCOM specific MSG and CMD enums.
Browse files Browse the repository at this point in the history
Change-Id: Ide76aaf58c7d32c9180219087c94fe79df34a010
Signed-off-by: Evan McClain <aeroevan@gmail.com>
  • Loading branch information
aeroevan committed Mar 20, 2012
1 parent 95a886f commit 4eab296
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/system/camera.h
Expand Up @@ -79,6 +79,12 @@ enum {
CAMERA_MSG_POSTVIEW_FRAME = 0x0040, // dataCallback CAMERA_MSG_POSTVIEW_FRAME = 0x0040, // dataCallback
CAMERA_MSG_RAW_IMAGE = 0x0080, // dataCallback CAMERA_MSG_RAW_IMAGE = 0x0080, // dataCallback
CAMERA_MSG_COMPRESSED_IMAGE = 0x0100, // dataCallback CAMERA_MSG_COMPRESSED_IMAGE = 0x0100, // dataCallback
#ifdef QCOM_HARDWARE
CAMERA_MSG_STATS_DATA = 0x200,
CAMERA_MSG_META_DATA = 0x400,
CAMERA_MSG_LOCK_MUTEX = 0x800, //Get Mutex from HAL
CAMERA_MSG_UNLOCK_MUTEX = 0x1000, //Release Mutex from HAL
#endif
CAMERA_MSG_RAW_IMAGE_NOTIFY = 0x0200, // dataCallback CAMERA_MSG_RAW_IMAGE_NOTIFY = 0x0200, // dataCallback
// Preview frame metadata. This can be combined with // Preview frame metadata. This can be combined with
// CAMERA_MSG_PREVIEW_FRAME in dataCallback. For example, the apps can // CAMERA_MSG_PREVIEW_FRAME in dataCallback. For example, the apps can
Expand Down Expand Up @@ -142,6 +148,14 @@ enum {
* Stop the face detection. * Stop the face detection.
*/ */
CAMERA_CMD_STOP_FACE_DETECTION = 7, CAMERA_CMD_STOP_FACE_DETECTION = 7,
#ifdef QCOM_HARDWARE
CAMERA_CMD_HISTOGRAM_ON = 8,
CAMERA_CMD_HISTOGRAM_OFF = 9,
CAMERA_CMD_HISTOGRAM_SEND_DATA = 10,
CAMERA_CMD_FACE_DETECTION_ON = 7,
CAMERA_CMD_FACE_DETECTION_OFF = 8,
CAMERA_CMD_SEND_META_DATA = 9,
#endif
}; };


/** camera fatal errors */ /** camera fatal errors */
Expand Down

0 comments on commit 4eab296

Please sign in to comment.