Searched defs:faces (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilter.java54 .addInputPort("faces", Signature.PORT_REQUIRED, facesType)
66 FrameValues facesFrame = getConnectedInputPort("faces").pullFrame().asFrameValues();
67 Face[] faces = (Face[]) facesFrame.getValues();
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) { argument
83 for(int i = 0; i < faces.length; i++) {
84 Rect tempRect = faces[i].rect;
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp89 Vector<camera_face_t> faces; local
98 // No faces this frame
106 ALOGE("%s: Camera %d: More faces than expected! (Got %d, max %d)",
143 faces.setCapacity(metadata.number_of_faces);
184 faces.push_back(face);
187 metadata.faces = faces.editArray();
/frameworks/rs/cpp/
H A DType.cpp37 uint32_t faces = 1; local
39 faces = 6;
51 uint32_t count = x * y * z * faces;
63 count += x * y * z * faces;
/frameworks/rs/
H A DrsType.h53 bool faces; member in struct:android::renderscript::Type::Hal::State
70 bool getDimFaces() const {return mHal.state.faces;}
H A DrsType.cpp102 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
297 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces, uint32_t yuv) argument
/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/rs/driver/runtime/
H A Drs_structs.h229 bool faces; member in struct:Type::__anon1628::__anon1629
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp309 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv)
311 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)",
312 con, eid, dimx, dimy, dimz, mips, faces, yuv);
314 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces, yuv);
308 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
/frameworks/base/core/java/android/hardware/
H A DCamera.java238 * The direction that the camera faces. It should be
1410 * Notify the listener of the detected faces in the preview frame.
1412 * @param faces The detected faces in a list
1415 void onFaceDetection(Face[] faces, Camera camera); argument
1419 * Registers a listener to be notified about the faces detected in the
1433 * faces in the preview frame. The detected faces may be the same as the
1441 * have no effect. The camera uses the detected faces to do auto-white balance,
1537 * <p>Depending on the device, even very low-confidence faces ma
[all...]
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp429 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv)
431 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)",
432 con, eid, dimx, dimy, dimz, mips, faces, yuv);
434 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces, yuv);
428 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java214 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument
215 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument
217 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java298 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument
299 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument
301 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);

Completed in 252 milliseconds