Home
last modified time | relevance | path

Searched refs:faces (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java87 public void onFaceDetection(Camera.Face[] faces, Camera camera) { in LegacyFaceDetectMapper()
88 int lengthFaces = faces == null ? 0 : faces.length; in LegacyFaceDetectMapper()
91 mFaces = faces; in LegacyFaceDetectMapper()
211 Camera.Face[] faces, previousFaces; in mapResultFaces() local
219 faces = mFaces; in mapResultFaces()
221 faces = null; in mapResultFaces()
227 mFacesPrev = faces; in mapResultFaces()
240 if (faces != null) { in mapResultFaces()
241 for (Camera.Face face : faces) { in mapResultFaces()
251 if (DEBUG && previousFaces != faces) { // Log only in verbose and IF the faces changed in mapResultFaces()
/frameworks/base/media/java/android/media/
DFaceDetector.java139 public int findFaces(Bitmap bitmap, Face[] faces) in findFaces() argument
148 if (faces.length < mMaxFaces) { in findFaces()
157 if (faces[i] == null) in findFaces()
158 faces[i] = new Face(); in findFaces()
159 fft_get_face(faces[i], i); in findFaces()
/frameworks/rs/
DrsType.cpp117 if (mHal.state.faces) { in compute()
159 mHal.state.faces); in dumpLOGV()
176 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0)); in serialize()
200 p.faces = stream->loadU8(); in createFromStream()
239 if (t->getDimFaces() != params->faces) continue; in getTypeRef()
271 nt->mHal.state.faces = params->faces; in getTypeRef()
315 p.faces = getDimFaces(); in cloneAndResize2D()
363 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { in rsi_TypeCreate() argument
372 p.faces = faces; in rsi_TypeCreate()
DrsType.h58 bool faces; member
77 bool getDimFaces() const {return mHal.state.faces;} in getDimFaces()
DrsInternalDefines.h219 bool faces; member
DrsScriptC_Lib.cpp340 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, in rsrTypeCreate() argument
342 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv); in rsrTypeCreate()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilter.java67 Face[] faces = (Face[]) facesFrame.getValues(); in onProcess() local
74 drawBoxes(pixels, faces, dims); in onProcess()
82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { in drawBoxes() argument
83 for(int i = 0; i < faces.length; i++) { in drawBoxes()
84 Rect tempRect = faces[i].rect; in drawBoxes()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp403 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata()
404 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata()
405 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata()
406 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]); in postMetadata()
409 env->SetIntField(face, fields.face_score, metadata->faces[i].score); in postMetadata()
411 bool optionalFields = metadata->faces[i].id != 0 in postMetadata()
412 && metadata->faces[i].left_eye[0] != -2000 && metadata->faces[i].left_eye[1] != -2000 in postMetadata()
413 && metadata->faces[i].right_eye[0] != -2000 && metadata->faces[i].right_eye[1] != -2000 in postMetadata()
414 && metadata->faces[i].mouth[0] != -2000 && metadata->faces[i].mouth[1] != -2000; in postMetadata()
416 int32_t id = metadata->faces[i].id; in postMetadata()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceUserState.java97 ArrayList<Face> faces; in doWriteState() local
100 faces = getCopy(mBiometrics); in doWriteState()
113 final int count = faces.size(); in doWriteState()
115 Face f = faces.get(i); in doWriteState()
/frameworks/rs/cpp/
DType.cpp39 uint32_t faces = 1; in calcElementCount() local
41 faces = 6; in calcElementCount()
53 uint32_t count = x * y * z * faces; in calcElementCount()
65 count += x * y * z * faces; in calcElementCount()
/frameworks/rs/support/java/src/androidx/renderscript/
DType.java155 int faces = 1; in calcElementCount() local
157 faces = 6; in calcElementCount()
169 int count = x * y * z * faces; in calcElementCount()
182 count += x * y * z * faces; in calcElementCount()
DRenderScript.java375 …native long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, in… in rsnTypeCreate() argument
376 …synchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv)… in nTypeCreate() argument
378 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate()
1034 …ng rsnIncTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnIncTypeCreate() argument
1035 …synchronized long nIncTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int y… in nIncTypeCreate() argument
1037 return rsnIncTypeCreate(mIncCon, eid, x, y, z, mips, faces, yuv); in nIncTypeCreate()
/frameworks/base/core/proto/android/server/
Dface.proto38 // The number of faces registered to this user.
52 // Number of accepted faces.
55 // Number of rejected faces.
/frameworks/base/rs/java/android/renderscript/
DType.java188 int faces = 1; in calcElementCount() local
190 faces = 6; in calcElementCount()
202 int count = x * y * z * faces; in calcElementCount()
215 count += x * y * z * faces; in calcElementCount()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp113 Vector<camera_face_t> faces; in processFaceDetect() local
180 faces.setCapacity(metadata.number_of_faces); in processFaceDetect()
224 faces.push_back(face); in processFaceDetect()
227 metadata.faces = faces.editArray(); in processFaceDetect()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java71 Face[] faces = new Face[1]; in testFaceSquareFilter() local
72 faces[0] = face; in testFaceSquareFilter()
73 facesFrame.setValue(faces); in testFaceSquareFilter()
/frameworks/rs/script_api/
Drs_allocation_create.spec83 arg: bool faces, "Flag indicating if the Type is a cubemap"
99 faces indicates the presence of cubemap faces.
Drs_object_types.spec96 summary: Enum for selecting cube map faces
98 An enum used to specify one the six faces of a cubemap.
/frameworks/av/camera/
DICameraClient.cpp69 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces); in dataCallback()
146 metadata->faces = (camera_face_t *) data.readInplace( in onTransact()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java688 private boolean setFaces(Face[] faces) { in setFaces() argument
689 if (faces == null) { in setFaces()
693 int numFaces = faces.length; in setFaces()
697 for (Face face : faces) { in setFaces()
720 for (Face face : faces) { in setFaces()
836 Face[] faces = new Face[faceList.size()]; in getFaces() local
837 faceList.toArray(faces); in getFaces()
838 return faces; in getFaces()
/frameworks/rs/driver/runtime/
Drs_structs.h264 bool faces; member
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp264 bool faces, in CreateType() argument
297 if (faces) { in CreateType()
311 if (faces && dimY < 1) { in CreateType()
316 if (dimZ != 0 || dimY == 0 || faces || mipmaps) { in CreateType()
323 faces, yuv_format); in CreateType()
390 uint32_t dimZ, bool mipmaps, bool faces, in rsCreateType() argument
393 dimY, dimZ, mipmaps, faces, in rsCreateType()
419 bool mipmaps, bool faces, in rsCreateType() argument
421 return CreateType((RsElement) element.p, dimX, dimY, dimZ, mipmaps, faces, in rsCreateType()
/frameworks/rs/script_api/include/
Drs_object_types.rsh93 * rs_allocation_cubemap_face: Enum for selecting cube map faces
95 * An enum used to specify one the six faces of a cubemap.
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.cpp133 md.number_of_faces = metadata.faces.size(); in dataCallback()
134 md.faces = (camera_face_t*) metadata.faces.data(); in dataCallback()
/frameworks/native/opengl/tests/angeles/
DREADME.txt21 although it still contains over 60000 faces.

12