/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]; 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];
|
/cts/tests/src/android/widget/cts/ |
GalleryStubActivity.java | 75 R.drawable.faces, 78 R.drawable.faces, 81 R.drawable.faces,
|
/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
|
radeon_mipmap_tree.c | 140 lvl->faces[face].offset = *curOffset; 147 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); 166 for(face = 0; face < mt->faces; face++) { 201 mt->faces = _mesa_num_tex_faces(target); 394 return (mt->levels[level].faces[face].offset); 396 return mt->levels[level].faces[0].offset; 420 dest = mt->bo->ptr + dstlvl->faces[face].offset; 438 image->mt->bo->ptr + srclvl->faces[face].offset, 572 const unsigned faces = _mesa_num_tex_faces(texObj->Target); local 576 for (face = 0; face < faces; ++face) [all...] |
/external/mesa3d/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
|
radeon_mipmap_tree.c | 140 lvl->faces[face].offset = *curOffset; 147 lvl->rowstride, lvl->width, height, lvl->faces[face].offset); 166 for(face = 0; face < mt->faces; face++) { 201 mt->faces = _mesa_num_tex_faces(target); 394 return (mt->levels[level].faces[face].offset); 396 return mt->levels[level].faces[0].offset; 420 dest = mt->bo->ptr + dstlvl->faces[face].offset; 438 image->mt->bo->ptr + srclvl->faces[face].offset, 572 const unsigned faces = _mesa_num_tex_faces(texObj->Target); local 576 for (face = 0; face < faces; ++face) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
FaceDetectorTest.java | 38 intent.putExtra(FaceDetectorStub.IMAGE_ID, R.drawable.faces);
|
/frameworks/base/graphics/java/android/renderscript/ |
Type.java | 37 * faces. LOD and cube map faces are booleans to indicate present or not 160 int faces = 1; local 162 faces = 6; 174 int count = x * y * z * faces; 187 count += x * y * z * faces;
|
/frameworks/rs/cpp/ |
Type.cpp | 37 uint32_t faces = 1; local 39 faces = 6; 51 uint32_t count = x * y * z * faces; 63 count += x * y * z * faces;
|
/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 157 int faces = 1; local 159 faces = 6; 171 int count = x * y * z * faces; 184 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;
|
/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 | 53 // to avoid rapid changes in state (eg, flickering between has faces and 54 // not having faces) 101 public void setFaces(Face[] faces) { 102 if (LOGV) Log.v(TAG, "Num of faces=" + faces.length); 105 if ((faces.length > 0 && mFaces.length == 0) 106 || (faces.length == 0 && mFaces.length > 0)) { 107 mPendingFaces = faces; 119 mFaces = faces;
|
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2HWI.cpp | 3590 camera_face_t *faces = (camera_face_t *) ( faceData + sizeof(camera_frame_metadata_t) ); local [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCamera2HWI.cpp | 3590 camera_face_t *faces = (camera_face_t *) ( faceData + sizeof(camera_frame_metadata_t) ); local [all...] |
/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;
|
/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;
|
/frameworks/rs/ |
rsType.cpp | 102 if (mHal.state.faces) { 142 mHal.state.faces); 159 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0)); 181 uint8_t faces = stream->loadU8(); local 182 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0, 0); 237 nt->mHal.state.faces = dimFaces; 298 uint32_t dimY, uint32_t dimZ, bool mips, bool faces, uint32_t yuv) { 301 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces, yuv); 310 // mHal.state.lodCount; mHal.state.faces; mElement; into typeData
|
/external/chromium_org/third_party/freetype/src/cache/ |
ftcmanag.h | 104 FTC_MruListRec faces; member in struct:FTC_ManagerRec_
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texture.c | 250 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 253 for (face = 0; face < faces; face++) { 271 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 274 for (face = 0; face < faces; face++) {
|
/external/freetype/src/cache/ |
ftcmanag.h | 104 FTC_MruListRec faces; member in struct:FTC_ManagerRec_
|
/external/mesa3d/src/mesa/swrast/ |
s_texture.c | 250 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 253 for (face = 0; face < faces; face++) { 271 const GLuint faces = _mesa_num_tex_faces(texObj->Target); local 274 for (face = 0; face < faces; face++) {
|
/system/core/include/system/ |
camera.h | 128 * faces in the preview frame. The detected faces may be the same as the 265 * The number of detected faces in the frame. 270 * An array of the detected faces. The length is number_of_faces. 272 camera_face_t *faces; member in struct:camera_frame_metadata
|