/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilter.java | 54 .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 D | FrameProcessor.cpp | 117 Vector<camera_face_t> faces; local 126 // No faces this frame 134 ALOGE("%s: Camera %d: More faces than expected! (Got %d, max %d)", 184 faces.setCapacity(metadata.number_of_faces); 229 faces.push_back(face); 232 metadata.faces = faces.editArray();
|
/frameworks/rs/cpp/ |
H A D | 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/rs/ |
H A D | rsType.h | 56 bool faces; member in struct:android::renderscript::Type::Hal::State 75 bool getDimFaces() const {return mHal.state.faces;}
|
H A D | rsType.cpp | 118 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(); 365 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) { 374 p.faces 364 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument [all...] |
H A D | rsInternalDefines.h | 219 bool faces; member in struct:__anon1597
|
/frameworks/base/media/java/android/media/ |
H A D | 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) argument 148 if (faces.length < mMaxFaces) { 150 "faces[] smaller than maxFaces"); 157 if (faces[ [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 593 private boolean setFaces(Face[] faces) { argument 594 if (faces == null) { 598 int numFaces = faces.length; 600 // Detect if all faces are SIMPLE or not; count # of valid faces 602 for (Face face : faces) { 625 for (Face face : faces) { 691 // To be safe, make number of faces is the minimal of all face info metadata length. 706 // To be safe, make number of faces is the minimal of all face info metadata length. 738 Face[] faces [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 264 bool faces; member in struct:Type::__anon1575::__anon1576
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCameraAgentImpl.java | 1334 final Camera.Face[] faces, Camera camera) { 1338 mCallback.onFaceDetection(faces, mCamera); 1333 onFaceDetection( final Camera.Face[] faces, Camera camera) argument
|
H A D | CameraAgent.java | 213 * @param faces Recognized face in the preview. 216 public void onFaceDetection(Camera.Face[] faces, CameraProxy camera); argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 270 * The direction that the camera faces. It should be 1627 * Notify the listener of the detected faces in the preview frame. 1629 * @param faces The detected faces in a list 1632 void onFaceDetection(Face[] faces, Camera camera); argument 1636 * Registers a listener to be notified about the faces detected in the 1650 * faces in the preview frame. The detected faces may be the same as the 1658 * have no effect. The camera uses the detected faces to do auto-white balance, 1757 * <p>Depending on the device, even very low-confidence faces ma [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1009 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 1011 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 1012 (RsContext)con, eid, dimx, dimy, dimz, mips, faces, yuv); 1015 dimz, mips, faces, yuv); 1912 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 1914 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 1915 incCon, eid, dimx, dimy, dimz, mips, faces, yuv); 1918 dimz, mips, faces, yuv); 1008 nTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument 1911 nIncTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 419 native long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 420 synchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 422 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1091 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) 1094 ALOGD("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)", 1095 (RsContext)con, (void*)eid, dimx, dimy, dimz, mips, faces, yuv); 1099 faces, yuv); 1090 nTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong 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 D | RenderScript.java | 363 native long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 364 synchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 366 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv); 994 native long rsnIncTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument 995 synchronized long nIncTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument 997 return rsnIncTypeCreate(mIncCon, eid, x, y, z, mips, faces, yuv);
|