Searched defs:faces (Results 1 - 21 of 21) 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.cpp110 Vector<camera_face_t> faces; local
119 // No faces this frame
127 ALOGE("%s: Camera %d: More faces than expected! (Got %d, max %d)",
177 faces.setCapacity(metadata.number_of_faces);
222 faces.push_back(face);
225 metadata.faces = faces.editArray();
/frameworks/rs/cpp/
H A DType.cpp39 uint32_t faces = 1; local
41 faces = 6;
53 uint32_t count = x * y * z * faces;
65 count += x * y * z * faces;
/frameworks/rs/
H A DrsType.h58 bool faces; member in struct:android::renderscript::Type::Hal::State
77 bool getDimFaces() const {return mHal.state.faces;}
H A DrsType.cpp117 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
362 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 DrsScriptC_Lib.cpp340 uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces,
342 return rsi_TypeCreate(rsc, element, dimX, dimY, dimZ, mipmaps, faces, yuv);
339 rsrTypeCreate(Context *rsc, const RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
H A DrsInternalDefines.h219 bool faces; member in struct:__anon2031
H A DrsHidlAdaptation.cpp410 bool faces, uint32_t yuv)
414 uint64_t type = GetIContextHandle(context)->typeCreate(_element, dimX, dimY, dimZ, mipmaps, faces,
408 TypeCreate(RsContext context, RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv) argument
H A DrsApiStubs.cpp319 bool mipmaps, bool faces, uint32_t yuv)
321 return RS_DISPATCH(ctxWrapper, TypeCreate, e, dimX, dimY, dimZ, mipmaps, faces, yuv);
318 rsTypeCreate(RsContext ctxWrapper, RsElement e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, 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.h264 bool faces; member in struct:Type::__anon2008::__anon2009
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java633 private boolean setFaces(Face[] faces) { argument
634 if (faces == null) {
638 int numFaces = faces.length;
640 // Detect if all faces are SIMPLE or not; count # of valid faces
642 for (Face face : faces) {
665 for (Face face : faces) {
731 // To be safe, make number of faces is the minimal of all face info metadata length.
746 // To be safe, make number of faces is the minimal of all face info metadata length.
778 Face[] faces
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCameraAgentImpl.java1334 final Camera.Face[] faces, Camera camera) {
1338 mCallback.onFaceDetection(faces, mCamera);
1333 onFaceDetection( final Camera.Face[] faces, Camera camera) argument
H A DCameraAgent.java213 * @param faces Recognized face in the preview.
216 public void onFaceDetection(Camera.Face[] faces, CameraProxy camera); argument
/frameworks/rs/rsov/driver/
H A DrsovRuntimeStubs.cpp246 bool faces,
276 if (faces) {
291 if (faces && dimY < 1) {
296 if (dimZ != 0 || dimY == 0 || faces || mipmaps) {
303 faces, yuv_format);
363 uint32_t dimZ, bool mipmaps, bool faces,
366 CreateType((RsElement)element.p, dimX, dimY, dimZ, mipmaps, faces,
389 bool mipmaps, bool faces,
391 return CreateType((RsElement)element.p, dimX, dimY, dimZ, mipmaps, faces,
243 CreateType(RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv_format) argument
362 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument
387 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp264 bool faces,
297 if (faces) {
311 if (faces && dimY < 1) {
316 if (dimZ != 0 || dimY == 0 || faces || mipmaps) {
323 faces, yuv_format);
390 uint32_t dimZ, bool mipmaps, bool faces,
393 dimY, dimZ, mipmaps, faces,
419 bool mipmaps, bool faces,
421 return CreateType((RsElement) element.p, dimX, dimY, dimZ, mipmaps, faces,
261 CreateType(RsElement element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, uint32_t yuv_format) argument
389 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument
417 rsCreateType(::rs_element element, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mipmaps, bool faces, rs_yuv_format yuv_format) argument
/frameworks/base/core/java/android/hardware/
H A DCamera.java288 * The direction that the camera faces. It should be
1647 * Notify the listener of the detected faces in the preview frame.
1649 * @param faces The detected faces in a list
1652 void onFaceDetection(Face[] faces, Camera camera); argument
1656 * Registers a listener to be notified about the faces detected in the
1670 * faces in the preview frame. The detected faces may be the same as the
1678 * have no effect. The camera uses the detected faces to do auto-white balance,
1777 * <p>Depending on the device, even very low-confidence faces ma
[all...]
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp1014 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv)
1016 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)",
1017 (RsContext)con, eid, dimx, dimy, dimz, mips, faces, yuv);
1020 dimz, mips, faces, yuv);
2191 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv)
2193 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)",
2194 incCon, eid, dimx, dimy, dimz, mips, faces, yuv);
2197 dimz, mips, faces, yuv);
1013 nTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
2190 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 DRenderScript.java430 native long rsnTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument
431 synchronized long nTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument
433 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces, yuv);
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1181 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv)
1184 ALOGD("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i), yuv(%i)",
1185 (RsContext)con, (void*)eid, dimx, dimy, dimz, mips, faces, yuv);
1189 faces, yuv);
1180 nTypeCreate(JNIEnv *_env, jobject _this, jlong con, jlong eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces, jint yuv) argument
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DRenderScript.java363 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);
1022 native long rsnIncTypeCreate(long con, long eid, int x, int y, int z, boolean mips, boolean faces, int yuv); argument
1023 synchronized long nIncTypeCreate(long eid, int x, int y, int z, boolean mips, boolean faces, int yuv) { argument
1025 return rsnIncTypeCreate(mIncCon, eid, x, y, z, mips, faces, yuv);

Completed in 2569 milliseconds