Searched refs:faces (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/media/java/android/media/
H A DFaceDetector.java26 * 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) argument
148 if (faces.length < mMaxFaces) {
150 "faces[] smaller than maxFaces");
157 if (faces[
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DType.java29 * detail), Faces (faces of a cube map). The X,Y,Z dimensions can be assigned
141 int faces = 1;
143 faces = 6;
155 int count = x * y * z * faces;
168 count += x * y * z * faces;
H A DRenderScript.java243 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces); argument
244 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces) { argument
246 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces);
/frameworks/rs/cpp/
H A DType.cpp35 uint32_t faces = 1; local
37 faces = 6;
49 uint32_t count = x * y * z * faces;
61 count += x * y * z * faces;
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DType.java29 * detail), Faces (faces of a cube map). The X,Y,Z dimensions can be assigned
135 int faces = 1;
137 faces = 6;
149 int count = x * y * z * faces;
162 count += x * y * z * faces;
H A DRenderScript.java174 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces); argument
175 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces) { argument
177 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces);
/frameworks/rs/
H A DrsType.cpp59 rsAssert(mHal.state.faces);
106 if (mHal.state.faces) {
153 mHal.state.faces);
172 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 );
248 nt->mHal.state.faces = dimFaces;
308 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) {
311 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces);
320 // mHal.state.lodCount; mHal.state.faces; mElemen
307 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces) argument
[all...]
H A DrsType.h52 bool faces; member in struct:android::renderscript::Type::Hal::State
70 bool getDimFaces() const {return mHal.state.faces;}
H A Drs.spec36 param bool faces
/frameworks/support/renderscript/v8/rs_support/
H A DrsType.cpp59 rsAssert(mHal.state.faces);
106 if (mHal.state.faces) {
153 mHal.state.faces);
172 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 );
248 nt->mHal.state.faces = dimFaces;
308 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) {
311 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces);
320 // mHal.state.lodCount; mHal.state.faces; mElemen
307 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces) argument
[all...]
H A DrsType.h52 bool faces; member in struct:android::renderscript::Type::Hal::State
70 bool getDimFaces() const {return mHal.state.faces;}
H A Drs.spec36 param bool faces
/frameworks/av/services/camera/libcameraservice/camera2/
H A DFrameProcessor.cpp191 Vector<camera_face_t> faces; local
198 // No faces this frame
206 ALOGE("%s: Camera %d: More faces than expected! (Got %d, max %d)",
243 faces.setCapacity(metadata.number_of_faces);
280 faces.push_back(face);
283 metadata.faces = faces.editArray();
/frameworks/av/camera/
H A DICameraClient.cpp64 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces);
108 metadata->faces = (camera_face_t *) data.readInplace(
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_structs.h217 bool faces; member in struct:Type::__anon1215::__anon1216
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp345 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]);
346 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]);
347 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]);
348 env->SetIntField(rect, fields.rect_bottom, metadata->faces[i].rect[3]);
351 env->SetIntField(face, fields.face_score, metadata->faces[i].score);
/frameworks/support/renderscript/v8/jni/
H A Dandroid_renderscript_RenderScript.cpp306 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces)
308 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i)",
309 con, eid, dimx, dimy, dimz, mips, faces);
311 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces);
305 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces) argument
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp430 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces)
432 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i)",
433 con, eid, dimx, dimy, dimz, mips, faces);
435 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces);
429 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces) argument
/frameworks/base/core/java/android/hardware/
H A DCamera.java231 * The direction that the camera faces. It should be
1261 * Notify the listener of the detected faces in the preview frame.
1263 * @param faces The detected faces in a list
1266 void onFaceDetection(Face[] faces, Camera camera); argument
1270 * Registers a listener to be notified about the faces detected in the
1284 * faces in the preview frame. The detected faces may be the same as the
1292 * have no effect. The camera uses the detected faces to do auto-white balance,
1388 * <p>Depending on the device, even very low-confidence faces ma
[all...]

Completed in 2062 milliseconds