Home
last modified time | relevance | path

Searched refs:faces (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/media/java/android/media/
DFaceDetector.java139 public int findFaces(Bitmap bitmap, Face[] faces) in findFaces() argument
148 if (faces.length < mMaxFaces) { in findFaces()
157 if (faces[i] == null) in findFaces()
158 faces[i] = new Face(); in findFaces()
159 fft_get_face(faces[i], i); in findFaces()
/frameworks/rs/cpp/
DType.cpp35 uint32_t faces = 1; in calcElementCount() local
37 faces = 6; in calcElementCount()
49 uint32_t count = x * y * z * faces; in calcElementCount()
61 count += x * y * z * faces; in calcElementCount()
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DType.java135 int faces = 1; in calcElementCount() local
137 faces = 6; in calcElementCount()
149 int count = x * y * z * faces; in calcElementCount()
162 count += x * y * z * faces; in calcElementCount()
DRenderScript.java174 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces); in rsnTypeCreate() argument
175 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces) { in nTypeCreate() argument
177 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces); in nTypeCreate()
/frameworks/support/renderscript/v8/rs_support/
DrsType.cpp59 rsAssert(mHal.state.faces); in getOffsetForFace()
106 if (mHal.state.faces) { in compute()
153 mHal.state.faces); in dumpLOGV()
172 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0)); in serialize()
195 uint8_t faces = stream->loadU8(); in createFromStream() local
196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 ); in createFromStream()
248 nt->mHal.state.faces = dimFaces; in getTypeRef()
308 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) { in rsi_TypeCreate() argument
311 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces); in rsi_TypeCreate()
DrsType.h52 bool faces; member
70 bool getDimFaces() const {return mHal.state.faces;} in getDimFaces()
Drs.spec36 param bool faces
/frameworks/rs/
DrsType.cpp59 rsAssert(mHal.state.faces); in getOffsetForFace()
106 if (mHal.state.faces) { in compute()
153 mHal.state.faces); in dumpLOGV()
172 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0)); in serialize()
195 uint8_t faces = stream->loadU8(); in createFromStream() local
196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 ); in createFromStream()
248 nt->mHal.state.faces = dimFaces; in getTypeRef()
308 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) { in rsi_TypeCreate() argument
311 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces); in rsi_TypeCreate()
DrsType.h52 bool faces; member
70 bool getDimFaces() const {return mHal.state.faces;} in getDimFaces()
Drs.spec36 param bool faces
/frameworks/base/graphics/java/android/renderscript/
DType.java141 int faces = 1; in calcElementCount() local
143 faces = 6; in calcElementCount()
155 int count = x * y * z * faces; in calcElementCount()
168 count += x * y * z * faces; in calcElementCount()
DRenderScript.java243 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces); in rsnTypeCreate() argument
244 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces) { in nTypeCreate() argument
246 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces); in nTypeCreate()
/frameworks/av/services/camera/libcameraservice/camera2/
DFrameProcessor.cpp191 Vector<camera_face_t> faces; in processFaceDetect() local
243 faces.setCapacity(metadata.number_of_faces); in processFaceDetect()
280 faces.push_back(face); in processFaceDetect()
283 metadata.faces = faces.editArray(); in processFaceDetect()
/frameworks/av/camera/
DICameraClient.cpp64 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces); in dataCallback()
108 metadata->faces = (camera_face_t *) data.readInplace( in onTransact()
/frameworks/base/docs/html/training/graphics/opengl/
Dshapes.jd41 basics of defining a shape, shape faces, as well as defining a triangle and a square.</p>
95 face feature. For more information about faces and culling, see the <a
96 href="{@docRoot}guide/topics/graphics/opengl.html#faces-winding">OpenGL ES</a> developer guide.</p>
Dindex.jd61 <dd>Learn how to define shapes and why you need to know about faces and winding.</dd>
/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_structs.h217 bool faces; member
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp345 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata()
346 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata()
347 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata()
348 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]); in postMetadata()
351 env->SetIntField(face, fields.face_score, metadata->faces[i].score); in postMetadata()
/frameworks/native/opengl/tests/angeles/
DREADME.txt21 although it still contains over 60000 faces.
/frameworks/support/renderscript/v8/jni/
Dandroid_renderscript_RenderScript.cpp306 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces) in nTypeCreate() argument
309 con, eid, dimx, dimy, dimz, mips, faces); in nTypeCreate()
311 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces); in nTypeCreate()
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd1115 <td>Identify human faces within a picture and use them for focus, metering and white
1361 <p>For pictures that include people, faces are usually the most important part of the picture, and
1363 (API Level 14) framework provides APIs for identifying faces and calculating picture settings using
1392 public void onFaceDetection(Face[] faces, Camera camera) {
1393 if (faces.length > 0){
1394 Log.d("FaceDetection", "face detected: "+ faces.length +
1395 " Face 1 Location X: " + faces[0].rect.centerX() +
1396 "Y: " + faces[0].rect.centerY() );
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp430 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces) in nTypeCreate() argument
433 con, eid, dimx, dimy, dimz, mips, faces); in nTypeCreate()
435 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces); in nTypeCreate()
/frameworks/base/docs/html/guide/topics/graphics/
Dopengl.jd23 <li><a href="#faces-winding">Shape Faces and Winding</li>
379 <h2 id="faces-winding">Shape Faces and Winding</h2>
405 // specify which faces to not draw
/frameworks/base/docs/html/about/versions/
Dandroid-4.0-highlights.jd390 detection</strong> locates faces in the frame and automatically sets focus. For
606 option that lets users unlock their devices with their faces. It takes advantage
609 unlocking the device. Users just hold their devices in front of their faces to
826 service identifies and tracks faces in a preview and returns their screen
/frameworks/rs/scriptc/
Drs_types.rsh391 * \brief Enum for selecting cube map faces

12