Loading include/system/camera.h +33 −0 Original line number Diff line number Diff line Loading @@ -87,7 +87,15 @@ enum { CAMERA_MSG_PREVIEW_METADATA = 0x0400, // dataCallback // Notify on autofocus start and stop. This is useful in continuous // autofocus - FOCUS_MODE_CONTINUOUS_VIDEO and FOCUS_MODE_CONTINUOUS_PICTURE. #if defined(QCOM_ICS_COMPAT) && defined(QCOM_HARDWARE) CAMERA_MSG_STATS_DATA = 0x800, CAMERA_MSG_FOCUS_MOVE = 0x1000, // notifyCallback #else CAMERA_MSG_FOCUS_MOVE = 0x0800, // notifyCallback #ifdef QCOM_HARDWARE CAMERA_MSG_STATS_DATA = 0x1000, #endif #endif CAMERA_MSG_ALL_MSGS = 0xFFFF }; Loading Loading @@ -147,6 +155,14 @@ enum { */ CAMERA_CMD_STOP_FACE_DETECTION = 7, #if defined(QCOM_ICS_COMPAT) && defined(QCOM_HARDWARE) CAMERA_CMD_HISTOGRAM_ON = 8, CAMERA_CMD_HISTOGRAM_OFF = 9, CAMERA_CMD_HISTOGRAM_SEND_DATA = 10, /* Unused by the older blobs, but referenced */ CAMERA_CMD_ENABLE_FOCUS_MOVE_MSG = 11, CAMERA_CMD_PING = 12, #else /** * Enable/disable focus move callback (CAMERA_MSG_FOCUS_MOVE). Passing * arg1 = 0 will disable, while passing arg1 = 1 will enable the callback. Loading @@ -163,6 +179,14 @@ enum { * can silently finish itself or show a dialog. */ CAMERA_CMD_PING = 9, #ifdef QCOM_HARDWARE CAMERA_CMD_HISTOGRAM_ON = 10, CAMERA_CMD_HISTOGRAM_OFF = 11, CAMERA_CMD_HISTOGRAM_SEND_DATA = 12, #endif #endif }; /** camera fatal errors */ Loading @@ -186,6 +210,15 @@ enum { CAMERA_FACING_FRONT = 1 }; #ifdef QCOM_HARDWARE enum { CAMERA_SUPPORT_MODE_2D = 0x01, /* Camera Sensor supports 2D mode. */ CAMERA_SUPPORT_MODE_3D = 0x02, /* Camera Sensor supports 3D mode. */ CAMERA_SUPPORT_MODE_NONZSL = 0x04, /* Camera Sensor in NON-ZSL mode. */ CAMERA_SUPPORT_MODE_ZSL = 0x08 /* Camera Sensor supports ZSL mode. */ }; #endif enum { /** Hardware face detection. It does not use much CPU. */ CAMERA_FACE_DETECTION_HW = 0, Loading rootdir/ueventd.rc +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ /dev/adsp/* 0660 system audio /dev/snd/* 0660 system audio /dev/mt9t013 0660 system system /dev/msm_camera/* 0660 system system /dev/msm_camera/* 0660 system camera /dev/akm8976_daemon 0640 compass system /dev/akm8976_aot 0640 compass system /dev/akm8973_daemon 0640 compass system Loading Loading
include/system/camera.h +33 −0 Original line number Diff line number Diff line Loading @@ -87,7 +87,15 @@ enum { CAMERA_MSG_PREVIEW_METADATA = 0x0400, // dataCallback // Notify on autofocus start and stop. This is useful in continuous // autofocus - FOCUS_MODE_CONTINUOUS_VIDEO and FOCUS_MODE_CONTINUOUS_PICTURE. #if defined(QCOM_ICS_COMPAT) && defined(QCOM_HARDWARE) CAMERA_MSG_STATS_DATA = 0x800, CAMERA_MSG_FOCUS_MOVE = 0x1000, // notifyCallback #else CAMERA_MSG_FOCUS_MOVE = 0x0800, // notifyCallback #ifdef QCOM_HARDWARE CAMERA_MSG_STATS_DATA = 0x1000, #endif #endif CAMERA_MSG_ALL_MSGS = 0xFFFF }; Loading Loading @@ -147,6 +155,14 @@ enum { */ CAMERA_CMD_STOP_FACE_DETECTION = 7, #if defined(QCOM_ICS_COMPAT) && defined(QCOM_HARDWARE) CAMERA_CMD_HISTOGRAM_ON = 8, CAMERA_CMD_HISTOGRAM_OFF = 9, CAMERA_CMD_HISTOGRAM_SEND_DATA = 10, /* Unused by the older blobs, but referenced */ CAMERA_CMD_ENABLE_FOCUS_MOVE_MSG = 11, CAMERA_CMD_PING = 12, #else /** * Enable/disable focus move callback (CAMERA_MSG_FOCUS_MOVE). Passing * arg1 = 0 will disable, while passing arg1 = 1 will enable the callback. Loading @@ -163,6 +179,14 @@ enum { * can silently finish itself or show a dialog. */ CAMERA_CMD_PING = 9, #ifdef QCOM_HARDWARE CAMERA_CMD_HISTOGRAM_ON = 10, CAMERA_CMD_HISTOGRAM_OFF = 11, CAMERA_CMD_HISTOGRAM_SEND_DATA = 12, #endif #endif }; /** camera fatal errors */ Loading @@ -186,6 +210,15 @@ enum { CAMERA_FACING_FRONT = 1 }; #ifdef QCOM_HARDWARE enum { CAMERA_SUPPORT_MODE_2D = 0x01, /* Camera Sensor supports 2D mode. */ CAMERA_SUPPORT_MODE_3D = 0x02, /* Camera Sensor supports 3D mode. */ CAMERA_SUPPORT_MODE_NONZSL = 0x04, /* Camera Sensor in NON-ZSL mode. */ CAMERA_SUPPORT_MODE_ZSL = 0x08 /* Camera Sensor supports ZSL mode. */ }; #endif enum { /** Hardware face detection. It does not use much CPU. */ CAMERA_FACE_DETECTION_HW = 0, Loading
rootdir/ueventd.rc +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ /dev/adsp/* 0660 system audio /dev/snd/* 0660 system audio /dev/mt9t013 0660 system system /dev/msm_camera/* 0660 system system /dev/msm_camera/* 0660 system camera /dev/akm8976_daemon 0640 compass system /dev/akm8976_aot 0640 compass system /dev/akm8973_daemon 0640 compass system Loading