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

1 2

  /hardware/ti/omap4xxx/camera/OMXCameraAdapter/
OMXFD.cpp 223 camera_frame_metadata_t *faces; local
284 CAMHAL_LOGVB("Faces detected %d",
302 ret = encodeFaceCoordinates(faceData, &faces, previewWidth, previewHeight);
305 result = new CameraFDResult(faces);
322 camera_face_t *faces; local
348 faces = ( camera_face_t * ) malloc(sizeof(camera_face_t)*faceData->ulFaceCount);
349 if ( NULL == faces ) {
406 //For real faces, it is seen that the h/w passes a score >=80
407 //For false faces, we seem to get even a score of 70 sometimes.
425 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;
  /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;
AllocationTest.java 40 for (int faces = 0; faces <= 1; faces++) {
41 boolean useFaces = (faces == 1);
  /external/skia/src/ports/
SkFontHost_linux.cpp 91 SkTypeface* const* faces = family->fFaces; local
93 if (faces[style] != NULL) { // exact match
94 return faces[style];
98 if (faces[style] != NULL) {
99 return faces[style];
102 if (faces[SkTypeface::kNormal] != NULL) {
103 return faces[SkTypeface::kNormal];
107 if (faces[i] != NULL) {
108 return faces[i];
111 // should never get here, since the faces list should not be empt
    [all...]
SkFontHost_android.cpp 90 SkTypeface* const* faces = family->fFaces; local
92 if (faces[style] != NULL) { // exact match
93 return faces[style];
97 if (faces[style] != NULL) {
98 return faces[style];
101 if (faces[SkTypeface::kNormal] != NULL) {
102 return faces[SkTypeface::kNormal];
106 if (faces[i] != NULL) {
107 return faces[i];
110 // should never get here, since the faces list should not be empt
    [all...]
SkFontHost_simple.cpp 89 SkTypeface* const* faces = family->fFaces; local
91 if (faces[style] != NULL) { // exact match
92 return faces[style];
96 if (faces[style] != NULL) {
97 return faces[style];
100 if (faces[SkTypeface::kNormal] != NULL) {
101 return faces[SkTypeface::kNormal];
105 if (faces[i] != NULL) {
106 return faces[i];
109 // should never get here, since the faces list should not be empt
    [all...]
  /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;
  /cts/tests/tests/media/src/android/media/cts/
FaceDetectorTest.java 43 intent.putExtra(FaceDetectorStub.IMAGE_ID, R.drawable.faces);
  /system/core/include/system/
camera.h 125 * faces in the preview frame. The detected faces may be the same as the
225 * The number of detected faces in the frame.
230 * An array of the detected faces. The length is number_of_faces.
232 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/base/libs/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/base/libs/rs/
rsType.cpp 186 uint8_t faces = stream->loadU8(); local
187 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 );
268 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) {
271 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces);
rs.spec 36 param bool faces
  /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...]
  /hardware/ti/omap4xxx/camera/inc/
BaseCameraAdapter.h 151 status_t notifyFaceSubscribers(sp<CameraFDResult> &faces);
CameraHal.h 200 CameraFDResult(camera_frame_metadata_t *faces) : mFaceData(faces) {};
203 if ( ( NULL != mFaceData ) && ( NULL != mFaceData->faces ) ) {
204 free(mFaceData->faces);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
CropView.java 226 ArrayList<RectF> faces = mFaces; local
227 for (int i = 0, n = faces.size(); i < n; ++i) {
228 renderFace(canvas, faces.get(i), i == mPressedFaceIndex);
246 ArrayList<RectF> faces = mFaces; local
247 for (int i = 0, n = faces.size(); i < n; ++i) {
248 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);
  /cts/tests/tests/widget/src/android/widget/cts/
GalleryTest.java 524 R.drawable.faces,
527 R.drawable.faces,
530 R.drawable.faces,
  /hardware/ti/omap4xxx/test/CameraHal/
camera_test_menu.cpp 647 metadata->faces[idx].rect[0],
648 metadata->faces[idx].rect[1],
649 metadata->faces[idx].rect[2],
650 metadata->faces[idx].rect[3]);
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/
CameraTest.java     [all...]

Completed in 1207 milliseconds

1 2