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.cpp149 const uint8_t *faceScores = entry.data.u8; in processFaceDetect() local
190 if (faceScores[i] == 0) { in processFaceDetect()
194 if (faceScores[i] > 100) { in processFaceDetect()
196 __FUNCTION__, i, faceScores[i]); in processFaceDetect()
209 face.score = faceScores[i]; in processFaceDetect()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java765 byte[] faceScores = new byte[numFaces]; in setFaces()
781 faceScores[i] = (byte)face.getScore(); in setFaces()
802 set(CaptureResult.STATISTICS_FACE_SCORES, faceScores); in setFaces()
809 byte[] faceScores = get(CaptureResult.STATISTICS_FACE_SCORES); in getFaces()
814 if (areValuesAllNull(faceDetectMode, faceScores, faceRectangles, faceIds, faceLandmarks)) { in getFaces()
836 if (faceScores == null || faceRectangles == null) { in getFaces()
839 } else if (faceScores.length != faceRectangles.length) { in getFaces()
841 faceScores.length, faceRectangles.length)); in getFaces()
845 int numFaces = Math.min(faceScores.length, faceRectangles.length); in getFaces()
868 if (faceScores[i] <= Face.SCORE_MAX && in getFaces()
[all …]