Searched refs:numFaces (Results 1 – 4 of 4) sorted by relevance
153 int numFaces = fft_detect(bitmap); in findFaces() local154 if (numFaces >= mMaxFaces) in findFaces()155 numFaces = mMaxFaces; in findFaces()156 for (int i=0 ; i<numFaces ; i++) { in findFaces()161 return numFaces; in findFaces()
596 int numFaces = faces.length; in setFaces() local602 numFaces--; in setFaces()612 Rect[] faceRectangles = new Rect[numFaces]; in setFaces()613 byte[] faceScores = new byte[numFaces]; in setFaces()618 faceIds = new int[numFaces]; in setFaces()619 faceLandmarks = new int[numFaces * FACE_LANDMARK_SIZE]; in setFaces()690 int numFaces = Math.min(faceScores.length, faceRectangles.length); in getFaces() local698 if (faceIds.length != numFaces || in getFaces()699 faceLandmarks.length != numFaces * FACE_LANDMARK_SIZE) { in getFaces()702 faceIds.length, faceLandmarks.length * FACE_LANDMARK_SIZE, numFaces)); in getFaces()[all …]
1006 int numFaces = expectedFaceIds.length; in testReadWriteOverride() local1007 Rect[] expectedRects = new Rect[numFaces]; in testReadWriteOverride()1008 for (int i = 0; i < numFaces; i++) { in testReadWriteOverride()1018 Point[] expectedFaceLMPoints = new Point[numFaces * 3]; in testReadWriteOverride()1019 for (int i = 0; i < numFaces; i++) { in testReadWriteOverride()1035 assertEquals(numFaces, resultFaces.length); in testReadWriteOverride()1036 for (int i = 0; i < numFaces; i++) { in testReadWriteOverride()1053 assertEquals(numFaces, resultSimpleFaces.length); in testReadWriteOverride()1054 for (int i = 0; i < numFaces; i++) { in testReadWriteOverride()
1175 uint32_t numFaces = alloc->getType()->getDimFaces() ? 6 : 1; in rsdAllocationGenerateMipmaps() local1176 for (uint32_t face = 0; face < numFaces; face ++) { in rsdAllocationGenerateMipmaps()