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()
693 int numFaces = faces.length; in setFaces() local699 numFaces--; in setFaces()709 Rect[] faceRectangles = new Rect[numFaces]; in setFaces()710 byte[] faceScores = new byte[numFaces]; in setFaces()715 faceIds = new int[numFaces]; in setFaces()716 faceLandmarks = new int[numFaces * FACE_LANDMARK_SIZE]; in setFaces()790 int numFaces = Math.min(faceScores.length, faceRectangles.length); in getFaces() local798 if (faceIds.length != numFaces || in getFaces()799 faceLandmarks.length != numFaces * FACE_LANDMARK_SIZE) { in getFaces()802 faceIds.length, faceLandmarks.length * FACE_LANDMARK_SIZE, numFaces)); in getFaces()[all …]
1010 int numFaces = expectedFaceIds.length; in testReadWriteOverride() local1011 Rect[] expectedRects = new Rect[numFaces]; in testReadWriteOverride()1012 for (int i = 0; i < numFaces; i++) { in testReadWriteOverride()1022 Point[] expectedFaceLMPoints = new Point[numFaces * 3]; in testReadWriteOverride()1023 for (int i = 0; i < numFaces; i++) { in testReadWriteOverride()1039 assertEquals(numFaces, resultFaces.length); in testReadWriteOverride()1040 for (int i = 0; i < numFaces; i++) { in testReadWriteOverride()1057 assertEquals(numFaces, resultSimpleFaces.length); in testReadWriteOverride()1058 for (int i = 0; i < numFaces; i++) { in testReadWriteOverride()
1202 uint32_t numFaces = alloc->getType()->getDimFaces() ? 6 : 1; in rsdAllocationGenerateMipmaps() local1203 for (uint32_t face = 0; face < numFaces; face ++) { in rsdAllocationGenerateMipmaps()