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/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/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java863 int numFaces = faces.length; in setFaces() local
869 numFaces--; in setFaces()
879 Rect[] faceRectangles = new Rect[numFaces]; in setFaces()
880 byte[] faceScores = new byte[numFaces]; in setFaces()
885 faceIds = new int[numFaces]; in setFaces()
886 faceLandmarks = new int[numFaces * FACE_LANDMARK_SIZE]; in setFaces()
960 int numFaces = Math.min(faceScores.length, faceRectangles.length); in getFaces() local
968 if (faceIds.length != numFaces || in getFaces()
969 faceLandmarks.length != numFaces * FACE_LANDMARK_SIZE) { in getFaces()
972 faceIds.length, faceLandmarks.length * FACE_LANDMARK_SIZE, numFaces)); in getFaces()
[all …]
/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()