/external/opencv3/samples/cpp/ |
smiledetect.cpp | 162 vector<Rect> faces, faces2; local 177 cascade.detectMultiScale( smallImg, faces, 196 faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); 200 for( vector<Rect>::iterator r = faces.begin(); r != faces.end(); r++, i++ )
|
ufacedetect.cpp | 21 "It's most known use is for faces.\n" 190 vector<Rect> faces, faces2; local 210 cascade.detectMultiScale( gray, faces, 229 faces.push_back(Rect(smallImg.cols - r->x - r->width, r->y, r->width, r->height)); 245 for( vector<Rect>::const_iterator r = faces.begin(); r != faces.end(); r++, i++ )
|
/external/opencv3/samples/gpu/ |
cascadeclassifier.cpp | 206 vector<Rect> faces; local 244 cascade_gpu->convert(facesBuf_gpu, faces); 249 cascade_cpu.detectMultiScale(resized_cpu, faces, 1.2, 256 for (size_t i = 0; i < faces.size(); ++i) 258 rectangle(resized_cpu, faces[i], Scalar(255)); 267 cout << setw(6) << fixed << fps << " FPS, " << faces.size() << " det"; 268 if ((filterRects || findLargestObject) && !faces.empty()) 270 for (size_t i = 0; i < faces.size(); ++i) 272 cout << ", [" << setw(4) << faces[i].x 273 << ", " << setw(4) << faces[i]. [all...] |
/external/skia/tests/ |
FontHostTest.cpp | 244 static const char* const faces[] = { local 279 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 280 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(faces[i], SkTypeface::kNormal)); 302 // faces[i], SkScalarToFloat(width1), SkScalarToFloat(width2));
|
/external/skia/third_party/ktx/ |
ktx.cpp | 302 int faces = SkMax32(fHeader.fNumberOfFaces, 1); local 303 SkASSERT(faces == 1); 324 for (int face = 0; face < faces; ++face) {
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyFaceDetectMapper.java | 87 public void onFaceDetection(Camera.Face[] faces, Camera camera) { 88 int lengthFaces = faces == null ? 0 : faces.length; 91 mFaces = faces; 95 "onFaceDetection - Ignored some incoming faces since" + 101 Log.v(TAG, "onFaceDetection - read " + lengthFaces + " faces"); 114 * will have the latest faces detected as reflected by the camera1 callbacks.</p> 195 * {@code statistics.faces} and {@code statistics.faceDetectMode}. 198 * {@link #mapResultFaces} will have the latest faces as reflected by the camera1 callbacks.</p> 201 * the camera will still run face detection in the background, but no faces will be reporte 211 Camera.Face[] faces, previousFaces; local [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Type.java | 38 * faces. LOD and cube map faces are booleans to indicate present or not 155 int faces = 1; local 157 faces = 6; 169 int count = x * y * z * faces; 182 count += x * y * z * faces;
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXFD.cpp | 244 CAMHAL_LOGVB("Faces detected %d", 307 camera_face_t *faces; local 320 if ( (0 < metadataResult->number_of_faces) && (NULL != metadataResult->faces) ) { 321 free(metadataResult->faces); 323 metadataResult->faces = NULL; 330 faces = ( camera_face_t * ) malloc(sizeof(camera_face_t)*faceData->ulFaceCount); 331 if ( NULL == faces ) { 389 //For real faces, it is seen that the h/w passes a score >=80 390 //For false faces, we seem to get even a score of 70 sometimes. 408 faces[i].rect[trans_left] = tmp [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXFD.cpp | 199 camera_frame_metadata_t *faces; local 260 CAMHAL_LOGVB("Faces detected %d", 278 ret = encodeFaceCoordinates(faceData, &faces, previewWidth, previewHeight); 281 result = new CameraFDResult(faces); 298 camera_face_t *faces; local 324 faces = ( camera_face_t * ) malloc(sizeof(camera_face_t)*faceData->ulFaceCount); 325 if ( NULL == faces ) { 382 //For real faces, it is seen that the h/w passes a score >=80 383 //For false faces, we seem to get even a score of 70 sometimes. 401 faces[i].rect[trans_left] = tmp [all...] |
/system/core/include/system/ |
camera.h | 128 * faces in the preview frame. The detected faces may be the same as the 286 * The number of detected faces in the frame. 291 * An array of the detected faces. The length is number_of_faces. 293 camera_face_t *faces; member in struct:camera_frame_metadata
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
ShaderCollectionTest.java | 174 FacedCubemapData faces = new FacedCubemapData(root.child(name + "_PX.png"), root.child(name+"_NX.png"),
local 177 cubemap = new Cubemap(faces);
178 faces.load(CubemapSide.NegativeX, root.child(name + "_NX.png"));
179 cubemap.load(faces);
|
HeightField.java | 60 * grid points. Causing vertices to be shared amongst multiple faces. 269 int faces = 0; local 279 faces++; 283 faces++; 287 faces++; 291 faces++; 293 if (faces != 0) 294 out.scl(1f / (float)faces);
|
/external/deqp/modules/egl/ |
teglImageUtil.cpp | 304 // Specify mipmap level 0 for all faces 305 static const GLenum faces[] = local 315 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); faceNdx++) 316 GLU_CHECK_GLW_CALL(gl, texImage2D(faces[faceNdx], 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, 0, m_format, m_type, DE_NULL));
|
/external/opencv3/samples/android/face-detection/src/org/opencv/samples/facedetect/ |
FdActivity.java | 180 MatOfRect faces = new MatOfRect(); local 184 mJavaDetector.detectMultiScale(mGray, faces, 1.1, 2, 2, // TODO: objdetect.CV_HAAR_SCALE_IMAGE 189 mNativeDetector.detect(mGray, faces); 195 Rect[] facesArray = faces.toArray();
|
/frameworks/base/rs/java/android/renderscript/ |
Type.java | 31 * faces. LOD and cube map faces are booleans to indicate present or not 188 int faces = 1; local 190 faces = 6; 202 int count = x * y * z * faces; 215 count += x * y * z * faces;
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/ |
ObjLoader.java | 143 Array<Integer> faces = activeGroup.faces; local 146 faces.add(getIndex(parts[0], verts.size)); 149 faces.add(getIndex(parts[2], norms.size)); 153 faces.add(getIndex(parts[1], uvs.size)); 156 faces.add(getIndex(parts[0], verts.size)); 157 if (parts.length > 2) faces.add(getIndex(parts[2], norms.size)); 158 if (parts.length > 1 && parts[1].length() > 0) faces.add(getIndex(parts[1], uvs.size)); 160 faces.add(getIndex(parts[0], verts.size)); 161 if (parts.length > 2) faces.add(getIndex(parts[2], norms.size)) 206 Array<Integer> faces = group.faces; local 313 Array<Integer> faces; field in class:ObjLoader.Group [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
Meshes.cpp | 103 void build(const std::vector<std::array<float, 6>> &vertices, const std::vector<std::array<int, 3>> &faces) 112 faces_.reserve(faces.size()); 113 for (const auto &f : faces) 182 const std::vector<std::array<int, 3>> faces = { local 191 mesh.build(vertices, faces); 265 std::vector<Mesh::Face> faces; local 266 faces.reserve(final_face_count); 283 faces.emplace_back(Mesh::Face{ v0, v01, v20 }); 284 faces.emplace_back(Mesh::Face{ v1, v12, v01 }); 285 faces.emplace_back(Mesh::Face{ v2, v20, v12 }) [all...] |
/frameworks/rs/driver/runtime/ |
rs_structs.h | 264 bool faces; member in struct:Type::__anon28915::__anon28916
|
/frameworks/rs/ |
rsInternalDefines.h | 219 bool faces; member in struct:__anon28937
|
/external/deqp/framework/common/ |
tcuTexLookupVerifier.cpp | 1687 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 1736 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 1745 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2039 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2088 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2097 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local 2471 ConstPixelBufferAccess faces[CUBEFACE_LAST]; local [all...] |
/external/freetype/src/base/ |
ftobjs.c | 923 /* destructor for faces list */ 4881 FT_List faces; local [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btConvexHullComputer.cpp | 2098 btAlignedObjectArray<Face*> faces; local [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/ |
ftobjs.c | 924 /* destructor for faces list */ 4815 FT_List faces; local [all...] |
/external/opencv/cxcore/src/ |
cxdrawing.cpp | 2211 const char **faces = icvHersheyGlyphs; local 2376 const char **faces = icvHersheyGlyphs; local [all...] |
/external/opencv3/modules/imgproc/src/ |
drawing.cpp | 2112 const char **faces = cv::g_HersheyGlyphs; local 2154 const char **faces = cv::g_HersheyGlyphs; local [all...] |