/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyFaceDetectMapper.java | 87 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/ |
D | FaceDetector.java | 139 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/ |
D | rsType.cpp | 117 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()
|
D | rsType.h | 58 bool faces; member 77 bool getDimFaces() const {return mHal.state.faces;} in getDimFaces()
|
D | rsInternalDefines.h | 219 bool faces; member
|
D | rsScriptC_Lib.cpp | 340 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()
|
D | rsRuntime.h | 166 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces,
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | FaceSquareFilter.java | 67 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/ |
D | android_hardware_Camera.cpp | 399 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata() 400 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata() 401 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata() 402 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]); in postMetadata() 405 env->SetIntField(face, fields.face_score, metadata->faces[i].score); in postMetadata() 407 bool optionalFields = metadata->faces[i].id != 0 in postMetadata() 408 && metadata->faces[i].left_eye[0] != -2000 && metadata->faces[i].left_eye[1] != -2000 in postMetadata() 409 && metadata->faces[i].right_eye[0] != -2000 && metadata->faces[i].right_eye[1] != -2000 in postMetadata() 410 && metadata->faces[i].mouth[0] != -2000 && metadata->faces[i].mouth[1] != -2000; in postMetadata() 412 int32_t id = metadata->faces[i].id; in postMetadata() [all …]
|
/frameworks/rs/cpp/ |
D | Type.cpp | 39 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/android/support/v8/renderscript/ |
D | Type.java | 155 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()
|
D | RenderScript.java | 363 …native long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, in… in rsnTypeCreate() argument 364 …synchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv)… in nTypeCreate() argument 366 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); in nTypeCreate() 1022 …ng rsnIncTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); in rsnIncTypeCreate() argument 1023 …synchronized long nIncTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int y… in nIncTypeCreate() argument 1025 return rsnIncTypeCreate(mIncCon, eid, x, y, z, mips, faces, yuv); in nIncTypeCreate()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 188 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/ |
D | FrameProcessor.cpp | 110 Vector<camera_face_t> faces; in processFaceDetect() local 177 faces.setCapacity(metadata.number_of_faces); in processFaceDetect() 222 faces.push_back(face); in processFaceDetect() 225 metadata.faces = faces.editArray(); in processFaceDetect()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
D | FaceSquareFilterTest.java | 71 Face[] faces = new Face[1]; in testFaceSquareFilter() local 72 faces[0] = face; in testFaceSquareFilter() 73 facesFrame.setValue(faces); in testFaceSquareFilter()
|
/frameworks/rs/script_api/ |
D | rs_allocation_create.spec | 83 arg: bool faces, "Flag indicating if the Type is a cubemap" 99 faces indicates the presence of cubemap faces.
|
D | rs_object_types.spec | 96 summary: Enum for selecting cube map faces 98 An enum used to specify one the six faces of a cubemap.
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraMetadataNative.java | 633 private boolean setFaces(Face[] faces) { in setFaces() argument 634 if (faces == null) { in setFaces() 638 int numFaces = faces.length; in setFaces() 642 for (Face face : faces) { in setFaces() 665 for (Face face : faces) { in setFaces() 778 Face[] faces = new Face[faceList.size()]; in getFaces() local 779 faceList.toArray(faces); in getFaces() 780 return faces; in getFaces()
|
/frameworks/av/camera/ |
D | ICameraClient.cpp | 69 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/rs/rsov/driver/ |
D | rsovRuntimeStubs.cpp | 246 bool faces, in CreateType() argument 276 if (faces) { in CreateType() 291 if (faces && dimY < 1) { in CreateType() 296 if (dimZ != 0 || dimY == 0 || faces || mipmaps) { in CreateType() 303 faces, yuv_format); in CreateType() 363 uint32_t dimZ, bool mipmaps, bool faces, in rsCreateType() argument 366 CreateType((RsElement)element.p, dimX, dimY, dimZ, mipmaps, faces, in rsCreateType() 389 bool mipmaps, bool faces, in rsCreateType() argument 391 return CreateType((RsElement)element.p, dimX, dimY, dimZ, mipmaps, faces, in rsCreateType()
|
/frameworks/rs/driver/runtime/ |
D | rs_structs.h | 264 bool faces; member
|
/frameworks/rs/driver/ |
D | rsdRuntimeStubs.cpp | 264 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/ |
D | rs_object_types.rsh | 93 * rs_allocation_cubemap_face: Enum for selecting cube map faces 95 * An enum used to specify one the six faces of a cubemap.
|
/frameworks/native/opengl/tests/angeles/ |
D | README.txt | 21 although it still contains over 60000 faces.
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.cpp | 134 md.number_of_faces = metadata.faces.size(); in dataCallback() 135 md.faces = (camera_face_t*) metadata.faces.data(); in dataCallback()
|