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.java693 int numFaces = faces.length; in setFaces() local
699 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() local
798 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 …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java1010 int numFaces = expectedFaceIds.length; in testReadWriteOverride() local
1011 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()
/frameworks/rs/driver/
DrsdAllocation.cpp1202 uint32_t numFaces = alloc->getType()->getDimFaces() ? 6 : 1; in rsdAllocationGenerateMipmaps() local
1203 for (uint32_t face = 0; face < numFaces; face ++) { in rsdAllocationGenerateMipmaps()