diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-07-30 07:02:36 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-07-30 07:04:01 +0800 |
commit | 3ac91d178bfbc38fbeb4743f9fbe5619e8e744d0 (patch) | |
tree | 4441618b40b3d9fd9e1e7d0f0360fed47676d0e4 | |
parent | 363725a45d70537195af87ed16f905e38cd6ee79 (diff) | |
download | system_core-3ac91d178bfbc38fbeb4743f9fbe5619e8e744d0.zip system_core-3ac91d178bfbc38fbeb4743f9fbe5619e8e744d0.tar.gz system_core-3ac91d178bfbc38fbeb4743f9fbe5619e8e744d0.tar.bz2 |
Change int to int32_t in camera_frame_metadata and camera_face.
bug:4460717
Change-Id: I5c7e4ed117c2b481fb0f7d9db418f98b7459adde
-rw-r--r-- | include/system/camera.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/system/camera.h b/include/system/camera.h index c404203..58b3ccb 100644 --- a/include/system/camera.h +++ b/include/system/camera.h @@ -180,39 +180,39 @@ typedef struct camera_face { * sensor sees. The direction is not affected by the rotation or mirroring * of CAMERA_CMD_SET_DISPLAY_ORIENTATION. */ - int rect[4]; + int32_t rect[4]; /** * The confidence level of the face. The range is 1 to 100. 100 is the * highest confidence. This is supported by both hardware and software * face detection. */ - int score; + int32_t score; /** * An unique id per face while the face is visible to the tracker. If * the face leaves the field-of-view and comes back, it will get a new * id. If the value is 0, id is not supported. */ - int id; + int32_t id; /** * The coordinates of the center of the left eye. The range is -1000 to * 1000. -2000, -2000 if this is not supported. */ - int left_eye[2]; + int32_t left_eye[2]; /** * The coordinates of the center of the right eye. The range is -1000 to * 1000. -2000, -2000 if this is not supported. */ - int right_eye[2]; + int32_t right_eye[2]; /** * The coordinates of the center of the mouth. The range is -1000 to 1000. * -2000, -2000 if this is not supported. */ - int mouth[2]; + int32_t mouth[2]; } camera_face_t; @@ -223,7 +223,7 @@ typedef struct camera_frame_metadata { /** * The number of detected faces in the frame. */ - int number_of_faces; + int32_t number_of_faces; /** * An array of the detected faces. The length is number_of_faces. The list |