Home
last modified time | relevance | path

Searched refs:numFaces (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DFaceDetector.java153 int numFaces = fft_detect(bitmap); in findFaces() local
154 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()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java596 int numFaces = faces.length; in setFaces() local
602 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() local
698 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 …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java1006 int numFaces = expectedFaceIds.length; in testReadWriteOverride() local
1007 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()
/frameworks/rs/driver/
DrsdAllocation.cpp1175 uint32_t numFaces = alloc->getType()->getDimFaces() ? 6 : 1; in rsdAllocationGenerateMipmaps() local
1176 for (uint32_t face = 0; face < numFaces; face ++) { in rsdAllocationGenerateMipmaps()