Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp143 const uint8_t *faceScores = entry.data.u8; in processFaceDetect() local
184 if (faceScores[i] == 0) { in processFaceDetect()
188 if (faceScores[i] > 100) { in processFaceDetect()
190 __FUNCTION__, i, faceScores[i]); in processFaceDetect()
203 face.score = faceScores[i]; in processFaceDetect()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java712 byte[] faceScores = new byte[numFaces]; in setFaces()
728 faceScores[i] = (byte)face.getScore(); in setFaces()
749 set(CaptureResult.STATISTICS_FACE_SCORES, faceScores); in setFaces()
756 byte[] faceScores = get(CaptureResult.STATISTICS_FACE_SCORES); in getFaces()
761 if (areValuesAllNull(faceDetectMode, faceScores, faceRectangles, faceIds, faceLandmarks)) { in getFaces()
783 if (faceScores == null || faceRectangles == null) { in getFaces()
786 } else if (faceScores.length != faceRectangles.length) { in getFaces()
788 faceScores.length, faceRectangles.length)); in getFaces()
792 int numFaces = Math.min(faceScores.length, faceRectangles.length); in getFaces()
815 if (faceScores[i] <= Face.SCORE_MAX && in getFaces()
[all …]