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.cpp174 const uint8_t *faceScores = entry.data.u8; in processFaceDetect() local
215 if (faceScores[i] == 0) { in processFaceDetect()
219 if (faceScores[i] > 100) { in processFaceDetect()
221 __FUNCTION__, i, faceScores[i]); in processFaceDetect()
234 face.score = faceScores[i]; in processFaceDetect()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java902 byte[] faceScores = new byte[numFaces]; in setFaces()
918 faceScores[i] = (byte)face.getScore(); in setFaces()
939 set(CaptureResult.STATISTICS_FACE_SCORES, faceScores); in setFaces()
946 byte[] faceScores = get(CaptureResult.STATISTICS_FACE_SCORES); in getFaces()
951 if (areValuesAllNull(faceDetectMode, faceScores, faceRectangles, faceIds, faceLandmarks)) { in getFaces()
973 if (faceScores == null || faceRectangles == null) { in getFaces()
976 } else if (faceScores.length != faceRectangles.length) { in getFaces()
978 faceScores.length, faceRectangles.length)); in getFaces()
982 int numFaces = Math.min(faceScores.length, faceRectangles.length); in getFaces()
1005 if (faceScores[i] <= Face.SCORE_MAX && in getFaces()
[all …]