HomeSort by relevance Sort by last modified time
    Searched refs:faces (Results 1 - 25 of 50) sorted by null

1 2

  /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...]
  /frameworks/base/media/java/android/media/
FaceDetector.java 26 * Identifies the faces of people in a
103 * be analysed and the maximum number of faces that can be detected.
109 * @param maxFaces the maximum number of faces to identify
125 * Finds all the faces found in a given {@link android.graphics.Bitmap}.
130 * @param faces an array in which to place all found
133 * @return the number of faces found
139 public int findFaces(Bitmap bitmap, Face[] faces)
148 if (faces.length < mMaxFaces) {
150 "faces[] smaller than maxFaces");
157 if (faces[i] == null
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
FaceClustering.java 50 Face[] faces = item.getFaces(); local
51 if (faces != null) {
52 Face face = faces[faceIndex];
98 Face[] faces = item.getFaces();
99 if (faces == null || faces.length == 0) {
103 for (int j = 0; j < faces.length; j++) {
104 Face face = faces[j];
  /cts/tests/src/android/widget/cts/
GalleryStubActivity.java 75 R.drawable.faces,
78 R.drawable.faces,
81 R.drawable.faces,
  /frameworks/base/graphics/java/android/renderscript/
Type.java 29 * detail), Faces (faces of a cube map). The X,Y,Z dimensions can be assigned
36 * <p>The LOD and Faces dimensions are booleans to indicate present or not present.</p>
141 int faces = 1; local
143 faces = 6;
155 int count = x * y * z * faces;
168 count += x * y * z * faces;
  /frameworks/rs/cpp/
Type.cpp 35 uint32_t faces = 1; local
37 faces = 6;
49 uint32_t count = x * y * z * faces;
61 count += x * y * z * faces;
  /cts/tests/tests/media/src/android/media/cts/
FaceDetectorTest.java 38 intent.putExtra(FaceDetectorStub.IMAGE_ID, R.drawable.faces);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
TypeTest.java 38 for (int faces = 0; faces <= 1; faces++) {
39 boolean useFaces = (faces == 1);
86 for (int faces = 0; faces <= 1; faces++) {
87 boolean useFaces = faces == 1;
  /external/skia/src/ports/
SkFontHost_linux.cpp 81 SkTypeface* const* faces = family->fFaces; local
83 if (faces[style] != NULL) { // exact match
84 return faces[style];
88 if (faces[style] != NULL) {
89 return faces[style];
92 if (faces[SkTypeface::kNormal] != NULL) {
93 return faces[SkTypeface::kNormal];
97 if (faces[i] != NULL) {
98 return faces[i];
101 // should never get here, since the faces list should not be empt
    [all...]
SkFontHost_simple.cpp 80 SkTypeface* const* faces = family->fFaces; local
82 if (faces[style] != NULL) { // exact match
83 return faces[style];
87 if (faces[style] != NULL) {
88 return faces[style];
91 if (faces[SkTypeface::kNormal] != NULL) {
92 return faces[SkTypeface::kNormal];
96 if (faces[i] != NULL) {
97 return faces[i];
100 // should never get here, since the faces list should not be empt
    [all...]
SkFontHost_android.cpp 125 SkTypeface* const* faces = family->fFaces; local
127 if (faces[style] != NULL) { // exact match
128 return faces[style];
132 if (faces[style] != NULL) {
133 return faces[style];
136 if (faces[SkTypeface::kNormal] != NULL) {
137 return faces[SkTypeface::kNormal];
141 if (faces[i] != NULL) {
142 return faces[i];
145 // should never get here, since the faces list should not be empt
    [all...]
  /frameworks/rs/
rsType.cpp 59 rsAssert(mHal.state.faces);
106 if (mHal.state.faces) {
153 mHal.state.faces);
172 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0));
195 uint8_t faces = stream->loadU8(); local
196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 );
248 nt->mHal.state.faces = dimFaces;
308 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) {
311 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces);
320 // mHal.state.lodCount; mHal.state.faces; mElement; into typeDat
    [all...]
rsType.h 52 bool faces; member in struct:android::renderscript::Type::Hal::State
70 bool getDimFaces() const {return mHal.state.faces;}
130 // * Faces
  /packages/apps/Camera/src/com/android/camera/ui/
FaceView.java 59 public void setFaces(Face[] faces) {
60 if (LOGV) Log.v(TAG, "Num of faces=" + faces.length);
62 mFaces = faces;
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
FaceView.java 59 public void setFaces(Face[] faces) {
60 if (LOGV) Log.v(TAG, "Num of faces=" + faces.length);
62 mFaces = faces;
  /external/freetype/src/cache/
ftcmanag.h 104 FTC_MruListRec faces; member in struct:FTC_ManagerRec_
  /system/core/include/system/
camera.h 128 * faces in the preview frame. The detected faces may be the same as the
254 * The number of detected faces in the frame.
259 * An array of the detected faces. The length is number_of_faces.
261 camera_face_t *faces; member in struct:camera_frame_metadata
  /external/webkit/Tools/DumpRenderTree/qt/
fonts.conf 236 Serif faces
243 Sans-serif faces
250 Monospace faces
  /frameworks/av/camera/
ICameraClient.cpp 64 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces);
108 metadata->faces = (camera_face_t *) data.readInplace(
  /frameworks/compile/libbcc/lib/ScriptCRT/
rs_structs.h 216 bool faces; member in struct:Type::__anon17075::__anon17076
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
OBJLoader.java 71 protected final ArrayList<Face> faces = new ArrayList<Face>(); field in class:OBJLoader
152 // }else if (faces.size() > 0){
154 // Geometry geom = createGeometry(faces, null);
166 faces.clear();
282 faces.add(f); // faces that belong to the default material
368 // use material from MTL lib for the following faces
392 // Create mesh from the faces
580 }else if (faces.size() > 0){
582 Geometry geom = createGeometry(faces, null)
    [all...]
  /external/opencv/
cvjni.cpp 455 // Identify all of the faces in the source image and return an array
467 LOGE("Error find faces was not initialized.");
566 LOGE("Error find faces was not initialized.");
629 bool highlightFaces(IplImage *sourceImage, CvSeq *faces, double scale = 1.0) {
630 if (faces == 0 || faces->total <= 0) {
631 LOGV("No faces were highlighted!");
637 for (int i = 0; i < faces->total; i++) {
638 face = (CvRect*)cvGetSeqElem(faces, i);
646 // Highlight the faces that were detected in the source image.
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
GalleryTest.java 357 R.drawable.faces,
360 R.drawable.faces,
363 R.drawable.faces,
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
CropView.java 228 ArrayList<RectF> faces = mFaces; local
229 for (int i = 0, n = faces.size(); i < n; ++i) {
230 renderFace(canvas, faces.get(i), i == mPressedFaceIndex);
248 ArrayList<RectF> faces = mFaces; local
249 for (int i = 0, n = faces.size(); i < n; ++i) {
250 RectF r = mAnimation.mapRect(faces.get(i), mRect);
  /frameworks/base/core/jni/
android_hardware_Camera.cpp 343 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]);
344 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]);
345 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]);
346 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]);
349 env->SetIntField(face, fields.face_score, metadata->faces[i].score);
    [all...]

Completed in 2104 milliseconds

1 2