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

1 2 3 4 5 6

  /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...]
  /cts/apps/CameraITS/tests/scene2/
test_num_faces.py 51 faces = md['android.statistics.faces']
53 # 0 faces should be returned for OFF mode
55 assert not faces
58 # but should detect the correct number of faces in last frame
62 fnd_faces = len(faces)
65 # draw boxes around faces
66 for rect in [face['bounds'] for face in faces]:
75 if not faces:
79 print ' Faces:', face
    [all...]
test_faces.py 53 faces = md['android.statistics.faces']
55 # 0 faces should be returned for OFF mode
57 assert(len(faces) == 0)
66 if len(faces) == 0:
69 if len(faces) == 0:
73 print " Faces:", faces
76 face_scores = [face['score'] for face in faces]
77 face_rectangles = [face['bounds'] for face in faces]
    [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];
  /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...]
  /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;
  /cts/tests/tests/widget/src/android/widget/cts/
GalleryCtsActivity.java 74 R.drawable.faces,
77 R.drawable.faces,
80 R.drawable.faces,
  /cts/tests/tests/rscpp/librscpptest/
rs_jni_type.cpp 43 for (int faces = 0; faces <= 1; faces++) {
44 bool useFaces = (faces == 1);
114 for (int faces = 0; faces <= 1; faces++) {
115 bool useFaces = (faces == 1);
  /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
  /cts/tests/tests/media/src/android/media/cts/
FaceDetectorTest.java 38 intent.putExtra(FaceDetectorStub.IMAGE_ID, R.drawable.faces);
  /packages/apps/DevCamera/src/com/android/devcamera/
CameraInterface.java 123 * @param faces Face coordinates.
133 void frameDataAvailable(NormalizedFace[] faces, float normExposure, float normLensPos, float fps, int iso, int afState, int aeState, int awbState);
  /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/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/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;
  /frameworks/base/core/jni/
android_hardware_Camera.cpp 399 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]);
400 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]);
401 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]);
402 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]);
405 env->SetIntField(face, fields.face_score, metadata->faces[i].score);
407 bool optionalFields = metadata->faces[i].id != 0
408 && metadata->faces[i].left_eye[0] != -2000 && metadata->faces[i].left_eye[1] != -2000
409 && metadata->faces[i].right_eye[0] != -2000 && metadata->faces[i].right_eye[1] != -200
    [all...]
  /external/skia/tests/
FontObjTest.cpp 45 static const char* const faces[] = { local
80 for (size_t i = 0; i < SK_ARRAY_COUNT(faces); i++) {
81 paint.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle()));
  /external/vulkan-validation-layers/demos/smoke/
Meshes.cpp 97 void build(const std::vector<std::array<float, 6>> &vertices, const std::vector<std::array<int, 3>> &faces)
106 faces_.reserve(faces.size());
107 for (const auto &f : faces)
176 const std::vector<std::array<int, 3>> faces = { local
185 mesh.build(vertices, faces);
259 std::vector<Mesh::Face> faces; local
260 faces.reserve(final_face_count);
277 faces.emplace_back(Mesh::Face{ v0, v01, v20 });
278 faces.emplace_back(Mesh::Face{ v1, v12, v01 });
279 faces.emplace_back(Mesh::Face{ v2, v20, v12 })
    [all...]
  /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;
  /hardware/interfaces/camera/device/1.0/
types.hal 37 * The direction that this device faces.
116 * detected faces in the preview frame. The detected faces may be the same
247 * A vector of the detected faces.
249 vec<CameraFace> faces;
  /frameworks/rs/
rsType.cpp 117 if (mHal.state.faces) {
159 mHal.state.faces);
176 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0));
200 p.faces = stream->loadU8();
239 if (t->getDimFaces() != params->faces) continue;
271 nt->mHal.state.faces = params->faces;
315 p.faces = getDimFaces();
363 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) {
372 p.faces = faces
    [all...]
  /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++) {
  /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;
  /frameworks/rs/cpp/
Type.cpp 39 uint32_t faces = 1; local
41 faces = 6;
53 uint32_t count = x * y * z * faces;
65 count += x * y * z * faces;

Completed in 704 milliseconds

1 2 3 4 5 6