summaryrefslogtreecommitdiffstats
path: root/include/camera
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-07-22 02:37:11 +0800
committerWu-cheng Li <wuchengli@google.com>2011-07-27 05:25:35 +0800
commit7fc25dd82dec8474139315b8e905f103c13406f5 (patch)
tree9c03327dbcab2d396e481deca4098924571c6f4c /include/camera
parent288b66b60c9b3af3d84408885d0a4030c45eea9a (diff)
downloadframeworks_av-7fc25dd82dec8474139315b8e905f103c13406f5.zip
frameworks_av-7fc25dd82dec8474139315b8e905f103c13406f5.tar.gz
frameworks_av-7fc25dd82dec8474139315b8e905f103c13406f5.tar.bz2
Add camera face detection API.
API are still hidden. bug:4460717 Change-Id: I1a515061f141a89bd61c875257712789fb15d2d4
Diffstat (limited to 'include/camera')
-rw-r--r--include/camera/CameraParameters.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h
index 83d4f6d..d2f398a 100644
--- a/include/camera/CameraParameters.h
+++ b/include/camera/CameraParameters.h
@@ -455,6 +455,16 @@ public:
// Example: "176x144,1280x720". Read only.
static const char KEY_SUPPORTED_VIDEO_SIZES[];
+ // The maximum number of detected faces supported by hardware face
+ // detection. If the value is 0, hardware face detection is not supported.
+ // Example: "5". Read only
+ static const char KEY_MAX_NUM_DETECTED_FACES_HW[];
+
+ // The maximum number of detected faces supported by software face
+ // detection. If the value is 0, software face detection is not supported.
+ // Example: "5". Read only
+ static const char KEY_MAX_NUM_DETECTED_FACES_SW[];
+
// Preferred preview frame size in pixels for video recording.
// The width and height must be one of the supported sizes retrieved
// via KEY_SUPPORTED_PREVIEW_SIZES. This key can be used only when