/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...] |
/external/deqp/framework/common/ |
tcuTexVerifierUtil.cpp | 61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces) 77 if (x >= ex) faces[numFaces++] = CUBEFACE_POSITIVE_X; 78 if (x <= ex) faces[numFaces++] = CUBEFACE_NEGATIVE_X; 82 if (y >= ey) faces[numFaces++] = CUBEFACE_POSITIVE_Y; 83 if (y <= ey) faces[numFaces++] = CUBEFACE_NEGATIVE_Y; 87 if (z >= ez) faces[numFaces++] = CUBEFACE_POSITIVE_Z; 88 if (z <= ez) faces[numFaces++] = CUBEFACE_NEGATIVE_Z; 92 // One or more components are equal (or within error bounds). Allow all faces where major axis is not zero. 95 faces[numFaces++] = CUBEFACE_NEGATIVE_X; 96 faces[numFaces++] = CUBEFACE_POSITIVE_X [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyFaceDetectMapper.java | 88 public void onFaceDetection(Camera.Face[] faces, Camera camera) { 89 int lengthFaces = faces == null ? 0 : faces.length; 92 mFaces = faces; 96 "onFaceDetection - Ignored some incoming faces since" + 102 Log.v(TAG, "onFaceDetection - read " + lengthFaces + " faces"); 115 * will have the latest faces detected as reflected by the camera1 callbacks.</p> 196 * {@code statistics.faces} and {@code statistics.faceDetectMode}. 199 * {@link #mapResultFaces} will have the latest faces as reflected by the camera1 callbacks.</p> 202 * the camera will still run face detection in the background, but no faces will be reporte 212 Camera.Face[] faces, previousFaces; local [all...] |
/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...] |
OMXMetadata.cpp | 84 struct camera_metadata_face *faces = reinterpret_cast<struct camera_metadata_face *> (static_cast<char*>(ret->data) + offset); local 92 faces[idx].left = faceData->tFacePosition[j].nLeft; 93 faces[idx].top = faceData->tFacePosition[j].nTop; 94 faces[idx].bottom = faceData->tFacePosition[j].nWidth; 95 faces[idx].right = faceData->tFacePosition[j].nHeight;
|
/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]; 99 Face[] faces = item.getFaces(); 100 if (faces == null || faces.length == 0) { 104 for (int j = 0; j < faces.length; j++) { 105 Face face = faces[j];
|
/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...] |
package.html | 8 <p>Other special classes in the package offer the ability to detect the faces of people
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
msm_fd.h | 21 * @face_cnt: Detected faces. 57 * struct msm_fd_result - Structure contain detected faces result. 59 * @face_cnt: Number of result faces, driver can modify this value (to smaller) 71 * struct msm_fd_result32 - Compat structure contain detected faces result. 73 * @face_cnt: Number of result faces, driver can modify this value (to smaller)
|
/packages/apps/Camera/src/com/android/camera/ui/ |
FaceView.java | 55 // to avoid rapid changes in state (eg, flickering between has faces and 56 // not having faces) 95 public void setFaces(Face[] faces) { 96 if (LOGV) Log.v(TAG, "Num of faces=" + faces.length); 99 if ((faces.length > 0 && mFaces.length == 0) 100 || (faces.length == 0 && mFaces.length > 0)) { 101 mPendingFaces = faces; 113 mFaces = faces;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FaceView.java | 51 // to avoid rapid changes in state (eg, flickering between has faces and 52 // not having faces) 86 public void setFaces(Face[] faces) { 88 Log.v(TAG, "Num of faces=" + faces.length); 92 if ((faces.length > 0 && mFaces.length == 0) 93 || (faces.length == 0 && mFaces.length > 0)) { 94 mPendingFaces = faces; 106 mFaces = faces;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
FaceSquareFilter.java | 54 .addInputPort("faces", Signature.PORT_REQUIRED, facesType) 66 FrameValues facesFrame = getConnectedInputPort("faces").pullFrame().asFrameValues(); 67 Face[] faces = (Face[]) facesFrame.getValues(); local 72 // For every face in faces, draw a white rect around the 74 drawBoxes(pixels, faces, dims); 82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { 83 for(int i = 0; i < faces.length; i++) { 84 Rect tempRect = faces[i].rect;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GalleryCtsActivity.java | 75 R.drawable.faces, 78 R.drawable.faces, 81 R.drawable.faces,
|
/packages/apps/Camera/res/raw/ |
goofy_face.graph | 118 @connect faceTracker[faces] => metarotate[faces]; 119 @connect metarotate[faces] => goofyrenderer[faces];
|
/packages/apps/Camera2/res/raw/ |
goofy_face.graph | 118 @connect faceTracker[faces] => metarotate[faces]; 119 @connect metarotate[faces] => goofyrenderer[faces];
|
/packages/apps/Gallery2/res/raw/ |
goofy_face.graph | 118 @connect faceTracker[faces] => metarotate[faces]; 119 @connect metarotate[faces] => goofyrenderer[faces];
|
/packages/apps/LegacyCamera/res/raw/ |
goofy_face.graph | 115 @connect faceTracker[faces] => metarotate[faces]; 116 @connect metarotate[faces] => goofyrenderer[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;
|
/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;
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
DebugPropertyHelper.java | 36 * For API1/Photomodule: show faces. 37 * For API2/Capturemodule: show faces, AF state, AE/AF precise regions.
|
/external/deqp/modules/gles2/functional/ |
es2fFboStateQueryTests.cpp | 187 const GLenum faces[] = local 194 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 195 glTexImage2D(faces[ndx], 0, GL_RGB, 64, 64, 0, GL_RGB, GL_UNSIGNED_BYTE, DE_NULL); 198 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(faces); ++ndx) 200 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, faces[ndx], textureID, 0); 201 checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, faces[ndx]);
|
/frameworks/rs/ |
rsType.cpp | 115 if (mHal.state.faces) { 156 mHal.state.faces); 173 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, 0); 263 nt->mHal.state.faces = dimFaces; 331 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { 334 return Type::getType(rsc, e, dimX, dimY, dimZ, mipmaps, faces, yuv); 343 // mHal.state.lodCount; mHal.state.faces; mElement; into typeData
|
/external/chromium_org/third_party/freetype/include/freetype/ |
ftcid.h | 79 * This function only works with CID faces, returning an error 114 * This function only works with CID faces and OpenType fonts, 148 * This function only works with CID faces and OpenType fonts,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_mipmap_tree.h | 48 radeon_mipmap_image faces[6]; member in struct:_radeon_mipmap_level 70 GLuint faces; /** # of faces: 6 for cubemaps, 1 otherwise */ member in struct:_radeon_mipmap_tree
|
/external/chromium_org/third_party/skia/tests/ |
FontObjTest.cpp | 45 static const char* const faces[] = { local 80 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) { 81 SkAutoTUnref<SkTypeface> face(SkTypeface::CreateFromName(faces[i], SkTypeface::kNormal));
|