Home
last modified time | relevance | path

Searched refs:faceDetectMode (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java670 Integer faceDetectMode = get(CaptureResult.STATISTICS_FACE_DETECT_MODE); in getFaces() local
676 if (areValuesAllNull(faceDetectMode, faceScores, faceRectangles, faceIds, faceLandmarks)) { in getFaces()
680 if (faceDetectMode == null) { in getFaces()
682 faceDetectMode = CaptureResult.STATISTICS_FACE_DETECT_MODE_SIMPLE; in getFaces()
684 if (faceDetectMode == CaptureResult.STATISTICS_FACE_DETECT_MODE_OFF) { in getFaces()
687 if (faceDetectMode != CaptureResult.STATISTICS_FACE_DETECT_MODE_SIMPLE && in getFaces()
688 faceDetectMode != CaptureResult.STATISTICS_FACE_DETECT_MODE_FULL) { in getFaces()
689 Log.w(TAG, "Unknown face detect mode: " + faceDetectMode); in getFaces()
706 if (faceDetectMode == CaptureResult.STATISTICS_FACE_DETECT_MODE_FULL) { in getFaces()
710 faceDetectMode = CaptureResult.STATISTICS_FACE_DETECT_MODE_SIMPLE; in getFaces()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp120 uint8_t faceDetectMode = entry.data.u8[0]; in processFaceDetect() local
127 faceDetectMode != ANDROID_STATISTICS_FACE_DETECT_MODE_OFF) { in processFaceDetect()
158 if (faceDetectMode == ANDROID_STATISTICS_FACE_DETECT_MODE_FULL) { in processFaceDetect()
215 if (faceDetectMode == ANDROID_STATISTICS_FACE_DETECT_MODE_FULL) { in processFaceDetect()