Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java627 byte[] faceScores = new byte[numFaces]; in setFaces()
643 faceScores[i] = (byte)face.getScore(); in setFaces()
664 set(CaptureResult.STATISTICS_FACE_SCORES, faceScores); in setFaces()
671 byte[] faceScores = get(CaptureResult.STATISTICS_FACE_SCORES); in getFaces()
676 if (areValuesAllNull(faceDetectMode, faceScores, faceRectangles, faceIds, faceLandmarks)) { in getFaces()
695 if (faceScores == null || faceRectangles == null) { in getFaces()
698 } else if (faceScores.length != faceRectangles.length) { in getFaces()
700 faceScores.length, faceRectangles.length)); in getFaces()
704 int numFaces = Math.min(faceScores.length, faceRectangles.length); in getFaces()
727 if (faceScores[i] <= Face.SCORE_MAX && in getFaces()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp153 const uint8_t *faceScores = entry.data.u8; in processFaceDetect() local
194 if (faceScores[i] == 0) { in processFaceDetect()
198 if (faceScores[i] > 100) { in processFaceDetect()
200 __FUNCTION__, i, faceScores[i]); in processFaceDetect()
214 face.score = faceScores[i]; in processFaceDetect()