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.java829 byte[] faceScores = new byte[numFaces]; in setFaces()
845 faceScores[i] = (byte)face.getScore(); in setFaces()
866 set(CaptureResult.STATISTICS_FACE_SCORES, faceScores); in setFaces()
873 byte[] faceScores = get(CaptureResult.STATISTICS_FACE_SCORES); in getFaces()
878 if (areValuesAllNull(faceDetectMode, faceScores, faceRectangles, faceIds, faceLandmarks)) { in getFaces()
900 if (faceScores == null || faceRectangles == null) { in getFaces()
903 } else if (faceScores.length != faceRectangles.length) { in getFaces()
905 faceScores.length, faceRectangles.length)); in getFaces()
909 int numFaces = Math.min(faceScores.length, faceRectangles.length); in getFaces()
932 if (faceScores[i] <= Face.SCORE_MAX && in getFaces()
[all …]